Skip to content

Commit

Permalink
Update rush and allowed upper node version dependency (#5390)
Browse files Browse the repository at this point in the history
* Update rush and node version allowance

* Change files

* Does not need rush file as npm was not impacted

Signed-off-by: edwardlee-msft <[email protected]>

* Add build minify

* Add build:minify

---------

Signed-off-by: edwardlee-msft <[email protected]>
  • Loading branch information
edwardlee-msft authored Nov 4, 2024
1 parent ae93b41 commit 848f7a4
Show file tree
Hide file tree
Showing 14 changed files with 36 additions and 25 deletions.
8 changes: 4 additions & 4 deletions common/scripts/install-run-rush.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 19 additions & 19 deletions common/scripts/install-run.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/acs-ui-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"build": "rushx _by-flavor \"rushx _build:by-flavor\"",
"build:esm": "npm run _if-preprocess && rushx preprocess && tsc -project tsconfig.preprocess.json || (if-env COMMUNICATION_REACT_FLAVOR=beta && tsc)",
"build:cjs": "rollup -c --silent --failAfterWarnings",
"build:minify": "rollup -c rollup.config.mjs",
"build:watch": "rushx build",
"clean": "rimraf dist && rimraf preprocessed",
"preprocess": "cpy './src/**' ./preprocessed && babel ./src --out-dir ../preprocessed --extensions \".ts,.tsx\" --keep-file-extension --config-file ./.babelrc.js --relative && rimraf ../preprocessed",
Expand Down
1 change: 1 addition & 0 deletions packages/acs-ui-javascript-loaders/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"build": "rushx _by-flavor \"rushx _build:by-flavor\"",
"build:esm": "npm run _if-preprocess && rushx preprocess && tsc -project tsconfig.preprocess.json || (if-env COMMUNICATION_REACT_FLAVOR=beta && tsc)",
"build:cjs": "rollup -c --failAfterWarnings",
"build:minify": "rollup -c rollup.config.mjs",
"build:watch": "rushx build",
"clean": "rimraf dist && rimraf preprocessed",
"preprocess": "cpy './src/**' ./preprocessed && babel ./src --out-dir ../preprocessed --extensions \".ts,.tsx\" --keep-file-extension --config-file ./.babelrc.js --relative && rimraf ../preprocessed",
Expand Down
1 change: 1 addition & 0 deletions packages/calling-component-bindings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"build": "rushx _by-flavor \"rushx _build:by-flavor\"",
"build:esm": "npm run _if-preprocess && rushx preprocess && tsc -project tsconfig.preprocess.json || (if-env COMMUNICATION_REACT_FLAVOR=beta && tsc)",
"build:cjs": "rollup -c --silent --failAfterWarnings",
"build:minify": "rollup -c rollup.config.mjs",
"build:watch": "rushx build",
"clean": "rimraf dist && rimraf preprocessed",
"preprocess": "cpy './src/**' ./preprocessed && babel ./src --out-dir ../preprocessed --extensions \".ts,.tsx\" --keep-file-extension --config-file ./.babelrc.js --relative && rimraf ../preprocessed",
Expand Down
1 change: 1 addition & 0 deletions packages/calling-stateful-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"build": "rushx _by-flavor \"rushx _build:by-flavor\"",
"build:esm": "npm run _if-preprocess && rushx preprocess && tsc -project tsconfig.preprocess.json || (if-env COMMUNICATION_REACT_FLAVOR=beta && tsc)",
"build:cjs": "rollup -c --silent --failAfterWarnings",
"build:minify": "rollup -c rollup.config.mjs",
"build:watch": "rushx build",
"clean": "rimraf dist && rimraf preprocessed",
"preprocess": "cpy './src/**' ./preprocessed && babel ./src --out-dir ../preprocessed --extensions \".ts,.tsx\" --keep-file-extension --config-file ./.babelrc.js --relative && rimraf ../preprocessed",
Expand Down
1 change: 1 addition & 0 deletions packages/chat-component-bindings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"build": "rushx _by-flavor \"rushx _build:by-flavor\"",
"build:esm": "npm run _if-preprocess && rushx preprocess && tsc -project tsconfig.preprocess.json || (if-env COMMUNICATION_REACT_FLAVOR=beta && tsc)",
"build:cjs": "rollup -c --silent --failAfterWarnings",
"build:minify": "rollup -c rollup.config.mjs",
"build:watch": "rushx build",
"clean": "rimraf dist && rimraf preprocessed",
"preprocess": "cpy './src/**' ./preprocessed && babel ./src --out-dir ../preprocessed --extensions \".ts,.tsx\" --keep-file-extension --config-file ./.babelrc.js --relative && rimraf ../preprocessed",
Expand Down
1 change: 1 addition & 0 deletions packages/chat-stateful-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"build": "rushx _by-flavor \"rushx _build:by-flavor\"",
"build:esm": "npm run _if-preprocess && rushx preprocess && tsc -project tsconfig.preprocess.json || (if-env COMMUNICATION_REACT_FLAVOR=beta && tsc)",
"build:cjs": "rollup -c --silent --failAfterWarnings",
"build:minify": "rollup -c rollup.config.mjs",
"build:watch": "rushx build",
"clean": "rimraf dist && rimraf preprocessed",
"preprocess": "cpy './src/**' ./preprocessed && babel ./src --out-dir ../preprocessed --extensions \".ts,.tsx\" --keep-file-extension --config-file ./.babelrc.js --relative && rimraf ../preprocessed",
Expand Down
1 change: 1 addition & 0 deletions packages/communication-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"build": "rushx check-deps && rushx _by-flavor \"rushx _build:by-flavor\"",
"build:cjs": "rollup -c --silent",
"build:esm": "npm run _if-preprocess && rushx copy-original && rushx preprocess && rushx copy-preprocess && tspc -project tsconfig.preprocess.json || (if-env COMMUNICATION_REACT_FLAVOR=beta && tspc)",
"build:minify": "rollup -c rollup.config.mjs",
"build:watch": "",
"build:api": "rushx _by-flavor \"rushx _api-extractor:complete:by-flavor\"",
"clean": "rimraf dist && rimraf ../**/preprocessed && rimraf ../**/preprocess-dist",
Expand Down
1 change: 1 addition & 0 deletions packages/fake-backends/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"build": "rushx _by-flavor \"rushx _build:by-flavor\"",
"build:esm": "npm run _if-preprocess && rushx preprocess && tsc -project tsconfig.preprocess.json || (if-env COMMUNICATION_REACT_FLAVOR=beta && tsc)",
"build:cjs": "rollup -c --silent --failAfterWarnings",
"build:minify": "rollup -c rollup.config.mjs",
"build:watch": "rushx build",
"clean": "rimraf dist && rimraf preprocessed",
"test": "rushx _by-flavor \"rushx _test:by-flavor\"",
Expand Down
1 change: 1 addition & 0 deletions packages/react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"build": "rushx _by-flavor \"rushx _build:by-flavor\"",
"build:esm": "copyfiles -u 1 src/**/assets/**/* dist/dist-esm && npm run _if-preprocess && rushx preprocess && tsc -project tsconfig.preprocess.json || (if-env COMMUNICATION_REACT_FLAVOR=beta && tsc)",
"build:cjs": "rollup -c --silent --failAfterWarnings",
"build:minify": "rollup -c rollup.config.mjs",
"build:watch": "rushx build",
"clean": "rimraf dist && rimraf preprocessed",
"test": "rushx _by-flavor \"rushx _test:by-flavor\"",
Expand Down
1 change: 1 addition & 0 deletions packages/react-composites/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"build": "rushx _by-flavor \"rushx _build:by-flavor\"",
"build:esm": "copyfiles -u 1 src/**/assets/**/* dist/dist-esm && npm run _if-preprocess && rushx preprocess && tsc -project tsconfig.preprocess.json || (if-env COMMUNICATION_REACT_FLAVOR=beta && tsc) ",
"build:cjs": "rollup -c --silent --failAfterWarnings",
"build:minify": "rollup -c rollup.config.mjs",
"build:watch": "rushx build",
"clean": "rimraf dist && rimraf preprocessed",
"tsc:e2e": "tsc -project tests/tsconfig.json",
Expand Down
4 changes: 2 additions & 2 deletions rush.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush.schema.json",
"rushVersion": "5.136.0",
"rushVersion": "5.140.1",
"pnpmVersion": "8.11.0",
"nodeSupportedVersionRange": ">=16.19.0 <21.0.0",
"nodeSupportedVersionRange": ">=16.19.0 <23.0.0",
"ensureConsistentVersions": true,
"gitPolicy": {
"versionBumpCommitMessage": "Applying package updates. [skip-ci]",
Expand Down
1 change: 1 addition & 0 deletions tools/custom-eslint-rules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"scripts": {
"clean": "echo skip",
"build": "echo skip",
"build:minify": "echo skip",
"build:watch": "echo skip",
"build:stable": "echo skip",
"prettier": "prettier --no-error-on-unmatched-pattern --write --config ../../.prettierrc --ignore-path=../../.prettierignore \"**/*.js\" \"**/*.jsx\" \"**/*.ts\" \"**/*.tsx\"",
Expand Down

0 comments on commit 848f7a4

Please sign in to comment.