diff --git a/sdk/communication/communication-alpha-ids/package.json b/sdk/communication/communication-alpha-ids/package.json index ca9681223f5d..bd5b04b060c6 100644 --- a/sdk/communication/communication-alpha-ids/package.json +++ b/sdk/communication/communication-alpha-ids/package.json @@ -27,9 +27,8 @@ ], "scripts": { "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api", - "build:autorest": "autorest --typescript --version=3.0.6267 --v3 ./swagger/README.md && rushx format", + "build:autorest": "autorest --typescript --version=3.0.6267 --v3 ./swagger/README.md && npm run format", "build:browser": "tsc -p . && dev-tool run bundle", - "build:clean": "rush update --recheck && rush rebuild && npm run build", "build:node": "tsc -p . && dev-tool run bundle", "build:samples": "dev-tool samples publish --force", "build:test": "tsc -p . && dev-tool run bundle", diff --git a/sdk/communication/communication-call-automation/package.json b/sdk/communication/communication-call-automation/package.json index b48030e4bd2c..4c76637a9d96 100644 --- a/sdk/communication/communication-call-automation/package.json +++ b/sdk/communication/communication-call-automation/package.json @@ -32,7 +32,7 @@ ], "scripts": { "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api", - "build:autorest": "autorest ./swagger/README.md && rushx format", + "build:autorest": "autorest ./swagger/README.md && npm run format", "build:browser": "tsc -p . && dev-tool run bundle", "build:node": "tsc -p . && dev-tool run bundle", "build:samples": "dev-tool samples publish --force", @@ -42,7 +42,7 @@ "execute:samples": "dev-tool samples run samples-dev", "extract-api": "tsc -p . && dev-tool run extract-api", "format": "dev-tool run vendored prettier --write --config ../../../prettier.config.cjs --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", - "generate:client": "autorest --typescript ./swagger/README.md && rushx format", + "generate:client": "autorest --typescript ./swagger/README.md && npm run format", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "integration-test:browser": "echo skipped", "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'", diff --git a/sdk/communication/communication-chat/package.json b/sdk/communication/communication-chat/package.json index b8a2a6b96c5d..8b1ecca51986 100644 --- a/sdk/communication/communication-chat/package.json +++ b/sdk/communication/communication-chat/package.json @@ -41,7 +41,7 @@ "execute:samples": "dev-tool samples run samples-dev", "extract-api": "tsc -p . && dev-tool run extract-api", "format": "dev-tool run vendored prettier --write --config ../../../prettier.config.cjs --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", - "generate:client": "autorest --typescript ./swagger/README.md && rushx format", + "generate:client": "autorest --typescript ./swagger/README.md && npm run format", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "integration-test:browser": "dev-tool run test:browser", "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'", diff --git a/sdk/communication/communication-email/package.json b/sdk/communication/communication-email/package.json index 7cc5e1b76011..8b8066a5e828 100644 --- a/sdk/communication/communication-email/package.json +++ b/sdk/communication/communication-email/package.json @@ -35,7 +35,7 @@ "execute:samples": "dev-tool samples run samples-dev", "extract-api": "tsc -p . && dev-tool run extract-api", "format": "dev-tool run vendored prettier --write --config ../../../prettier.config.cjs --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", - "generate:client": "autorest --typescript ./swagger/README.md && rushx format", + "generate:client": "autorest --typescript ./swagger/README.md && npm run format", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "integration-test:browser": "dev-tool run test:browser", "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'", diff --git a/sdk/communication/communication-identity/package.json b/sdk/communication/communication-identity/package.json index e9ce54189adf..ae435c90b77b 100644 --- a/sdk/communication/communication-identity/package.json +++ b/sdk/communication/communication-identity/package.json @@ -28,7 +28,6 @@ "scripts": { "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api", "build:browser": "tsc -p . && dev-tool run bundle", - "build:clean": "rush update --recheck && rush rebuild && npm run build", "build:node": "tsc -p . && dev-tool run bundle", "build:samples": "echo Obsolete.", "build:test": "tsc -p . && dev-tool run bundle", @@ -39,7 +38,7 @@ "execute:ts-samples": "dev-tool samples run dist-samples/typescript/dist/dist-samples/typescript/src/", "extract-api": "tsc -p . && dev-tool run extract-api", "format": "dev-tool run vendored prettier --write --config ../../../prettier.config.cjs --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", - "generate:client": "autorest --typescript ./swagger/README.md && rushx format", + "generate:client": "autorest --typescript ./swagger/README.md && npm run format", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "integration-test:browser": "dev-tool run test:browser", "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 --exclude 'dist-esm/test/**/browser/*.spec.js' 'dist-esm/test/**/*.spec.js'", diff --git a/sdk/communication/communication-job-router/package.json b/sdk/communication/communication-job-router/package.json index fad3257d04c3..7f7013d97125 100644 --- a/sdk/communication/communication-job-router/package.json +++ b/sdk/communication/communication-job-router/package.json @@ -29,7 +29,7 @@ ], "scripts": { "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api --verbose", - "build:autorest": "autorest ./swagger/README.md && rushx format", + "build:autorest": "autorest ./swagger/README.md && npm run format", "build:browser": "tsc -p . && dev-tool run bundle && cross-env ONLY_BROWSER=true ", "build:node": "tsc -p . && dev-tool run bundle && cross-env ONLY_NODE=true ", "build:samples": "dev-tool samples publish -f", diff --git a/sdk/communication/communication-phone-numbers/package.json b/sdk/communication/communication-phone-numbers/package.json index af47ef60bf9f..dc3f01d9dd91 100644 --- a/sdk/communication/communication-phone-numbers/package.json +++ b/sdk/communication/communication-phone-numbers/package.json @@ -27,7 +27,6 @@ ], "scripts": { "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api", - "build:clean": "rush update --recheck && rush rebuild && dev-tool run build", "build:samples": "echo Obsolete.", "build:test": "tsc -p . && dev-tool run bundle", "bundle": "dev-tool run bundle", @@ -36,7 +35,7 @@ "execute:samples": "dev-tool samples run samples-dev", "extract-api": "tsc -p . && dev-tool run extract-api", "format": "dev-tool run vendored prettier --write --config ../../../prettier.config.cjs --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", - "generate:client": "autorest --typescript ./swagger/README.md && rushx format", + "generate:client": "autorest --typescript ./swagger/README.md && npm run format", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "integration-test:browser": "dev-tool run test:browser", "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'", diff --git a/sdk/communication/communication-recipient-verification/package.json b/sdk/communication/communication-recipient-verification/package.json index 20f2c106a364..1f33dcd5b9f3 100644 --- a/sdk/communication/communication-recipient-verification/package.json +++ b/sdk/communication/communication-recipient-verification/package.json @@ -27,9 +27,8 @@ ], "scripts": { "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api", - "build:autorest": "autorest --typescript ./swagger/README.md && rushx format", + "build:autorest": "autorest --typescript ./swagger/README.md && npm run format", "build:browser": "tsc -p . && dev-tool run bundle", - "build:clean": "rush update --recheck && rush rebuild && npm run build", "build:node": "tsc -p . && dev-tool run bundle", "build:samples": "dev-tool samples publish --force", "build:test": "tsc -p . && dev-tool run bundle", diff --git a/sdk/communication/communication-rooms/package.json b/sdk/communication/communication-rooms/package.json index 701a85d5d6d8..3b5d4144fecc 100644 --- a/sdk/communication/communication-rooms/package.json +++ b/sdk/communication/communication-rooms/package.json @@ -42,7 +42,7 @@ "execute:samples": "dev-tool samples run samples-dev", "extract-api": "tsc -p . && dev-tool run extract-api", "format": "dev-tool run vendored prettier --write --config ../../../prettier.config.cjs --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", - "generate:client": "autorest --typescript --disable-async-iterators ./swagger/README.md && rushx format", + "generate:client": "autorest --typescript --disable-async-iterators ./swagger/README.md && npm run format", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "integration-test:browser": "dev-tool run test:browser", "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'", diff --git a/sdk/communication/communication-short-codes/package.json b/sdk/communication/communication-short-codes/package.json index 46cfa08f30c6..e0e6bfb9caf7 100644 --- a/sdk/communication/communication-short-codes/package.json +++ b/sdk/communication/communication-short-codes/package.json @@ -27,9 +27,8 @@ ], "scripts": { "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api", - "build:autorest": "autorest --typescript ./swagger/README.md && rushx format", + "build:autorest": "autorest --typescript ./swagger/README.md && npm run format", "build:browser": "tsc -p . && dev-tool run bundle", - "build:clean": "rush update --recheck && rush rebuild && npm run build", "build:node": "tsc -p . && dev-tool run bundle", "build:samples": "dev-tool samples publish --force", "build:test": "tsc -p . && dev-tool run bundle", diff --git a/sdk/communication/communication-sms/package.json b/sdk/communication/communication-sms/package.json index 5d820fa69aac..748cc85d9f5f 100644 --- a/sdk/communication/communication-sms/package.json +++ b/sdk/communication/communication-sms/package.json @@ -42,7 +42,7 @@ "execute:samples": "dev-tool samples run samples-dev", "extract-api": "tsc -p . && dev-tool run extract-api", "format": "dev-tool run vendored prettier --write --config ../../../prettier.config.cjs --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", - "generate:client": "autorest --typescript ./swagger/README.md && rushx format", + "generate:client": "autorest --typescript ./swagger/README.md && npm run format", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "integration-test:browser": "dev-tool run test:browser", "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'", diff --git a/sdk/communication/communication-tiering/package.json b/sdk/communication/communication-tiering/package.json index cab2a42dc493..140722fc1c4e 100644 --- a/sdk/communication/communication-tiering/package.json +++ b/sdk/communication/communication-tiering/package.json @@ -27,9 +27,8 @@ ], "scripts": { "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api", - "build:autorest": "autorest --typescript ./swagger/README.md && rushx format", + "build:autorest": "autorest --typescript ./swagger/README.md && npm run format", "build:browser": "tsc -p . && dev-tool run bundle", - "build:clean": "rush update --recheck && rush rebuild && npm run build", "build:node": "tsc -p . && dev-tool run bundle", "build:samples": "dev-tool samples publish --force", "build:test": "tsc -p . && dev-tool run bundle", diff --git a/sdk/communication/communication-toll-free-verification/package.json b/sdk/communication/communication-toll-free-verification/package.json index 9e7d9e7e9f38..16588ddc0e1c 100644 --- a/sdk/communication/communication-toll-free-verification/package.json +++ b/sdk/communication/communication-toll-free-verification/package.json @@ -27,9 +27,8 @@ ], "scripts": { "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api", - "build:autorest": "autorest --typescript --version=3.0.6267 --v3 ./swagger/README.md && rushx format", + "build:autorest": "autorest --typescript --version=3.0.6267 --v3 ./swagger/README.md && npm run format", "build:browser": "tsc -p . && dev-tool run bundle", - "build:clean": "rush update --recheck && rush rebuild && npm run build", "build:node": "tsc -p . && dev-tool run bundle", "build:samples": "dev-tool samples publish --force", "build:test": "tsc -p . && dev-tool run bundle", diff --git a/sdk/confidentialledger/confidential-ledger-rest/package.json b/sdk/confidentialledger/confidential-ledger-rest/package.json index f57a6bcdd58c..00caca91f0e9 100644 --- a/sdk/confidentialledger/confidential-ledger-rest/package.json +++ b/sdk/confidentialledger/confidential-ledger-rest/package.json @@ -40,7 +40,7 @@ "execute:samples": "dev-tool samples run samples-dev", "extract-api": "tsc -p . && dev-tool run extract-api", "format": "dev-tool run vendored prettier --write --config ../../../prettier.config.cjs --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", - "generate:client": "autorest --typescript swagger/README.md && rushx format", + "generate:client": "autorest --typescript swagger/README.md && npm run format", "integration-test": "npm run integration-test:node", "integration-test:browser": "echo \"Browser is not supported.\" && exit 0", "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'", diff --git a/sdk/kubernetesruntime/arm-containerorchestratorruntime/package.json b/sdk/kubernetesruntime/arm-containerorchestratorruntime/package.json index 4e3f8dfb47d8..3618956ce58a 100644 --- a/sdk/kubernetesruntime/arm-containerorchestratorruntime/package.json +++ b/sdk/kubernetesruntime/arm-containerorchestratorruntime/package.json @@ -68,7 +68,6 @@ "CHANGELOG.md" ], "scripts": { - "audit": "node ../../../common/scripts/rush-audit.js && dev-tool run vendored rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build": "npm run clean && dev-tool run build-package && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", "build:samples": "dev-tool run typecheck --paths samples-dev/*.ts && dev-tool samples publish -f", "build:test": "npm run clean && dev-tool run build-package && dev-tool run build-test",