diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/dpgCustomization/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/dpgCustomization/package.json index c55ea5fb4e..45471e34a5 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/dpgCustomization/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/dpgCustomization/package.json @@ -62,7 +62,7 @@ }, "scripts": { "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", - "extract-api": "dev-tool run vendored rimraf review && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "extract-api": "dev-tool run vendored rimraf review && dev-tool run extract-api", "pack": "npm pack 2>&1", "lint": "eslint package.json api-extractor.json src test", "lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]", @@ -75,7 +75,7 @@ "generate:client": "echo skipped", "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser", "minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", - "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api", "build:node": "tsc -p . && dev-tool run vendored cross-env ONLY_NODE=true rollup -c 2>&1", "build:test": "tsc -p . && dev-tool run bundle", "build:debug": "tsc -p . && dev-tool run bundle && dev-tool run extract-api", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/httpInfrastructureRest/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/httpInfrastructureRest/package.json index 70da976732..4a905921e5 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/httpInfrastructureRest/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/httpInfrastructureRest/package.json @@ -60,7 +60,7 @@ }, "scripts": { "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", - "extract-api": "dev-tool run vendored rimraf review && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "extract-api": "dev-tool run vendored rimraf review && dev-tool run extract-api", "pack": "npm pack 2>&1", "lint": "eslint package.json api-extractor.json src test", "lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]", @@ -73,7 +73,7 @@ "generate:client": "echo skipped", "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser", "minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", - "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api", "build:node": "tsc -p . && dev-tool run vendored cross-env ONLY_NODE=true rollup -c 2>&1", "build:test": "tsc -p . && dev-tool run bundle", "build:debug": "tsc -p . && dev-tool run bundle && dev-tool run extract-api", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/multipleUrlParameters/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/multipleUrlParameters/package.json index bd7b25319a..fe651bab94 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/multipleUrlParameters/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/multipleUrlParameters/package.json @@ -60,7 +60,7 @@ }, "scripts": { "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", - "extract-api": "dev-tool run vendored rimraf review && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "extract-api": "dev-tool run vendored rimraf review && dev-tool run extract-api", "pack": "npm pack 2>&1", "lint": "eslint package.json api-extractor.json src test", "lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]", @@ -73,7 +73,7 @@ "generate:client": "echo skipped", "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser", "minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", - "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api", "build:node": "tsc -p . && dev-tool run vendored cross-env ONLY_NODE=true rollup -c 2>&1", "build:test": "tsc -p . && dev-tool run bundle", "build:debug": "tsc -p . && dev-tool run bundle && dev-tool run extract-api", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/securityAADRest/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/securityAADRest/package.json index 9c2ecb6d6f..ffbe1f4aa6 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/securityAADRest/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/securityAADRest/package.json @@ -60,7 +60,7 @@ }, "scripts": { "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", - "extract-api": "dev-tool run vendored rimraf review && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "extract-api": "dev-tool run vendored rimraf review && dev-tool run extract-api", "pack": "npm pack 2>&1", "lint": "eslint package.json api-extractor.json src test", "lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]", @@ -73,7 +73,7 @@ "generate:client": "echo skipped", "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser", "minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", - "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api", "build:node": "tsc -p . && dev-tool run vendored cross-env ONLY_NODE=true rollup -c 2>&1", "build:test": "tsc -p . && dev-tool run bundle", "build:debug": "tsc -p . && dev-tool run bundle && dev-tool run extract-api", diff --git a/packages/autorest.typescript/test/rlcIntegration/generated/securityKeyRest/package.json b/packages/autorest.typescript/test/rlcIntegration/generated/securityKeyRest/package.json index 0c0c092c1b..2f4f5a893a 100644 --- a/packages/autorest.typescript/test/rlcIntegration/generated/securityKeyRest/package.json +++ b/packages/autorest.typescript/test/rlcIntegration/generated/securityKeyRest/package.json @@ -60,7 +60,7 @@ }, "scripts": { "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", - "extract-api": "dev-tool run vendored rimraf review && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "extract-api": "dev-tool run vendored rimraf review && dev-tool run extract-api", "pack": "npm pack 2>&1", "lint": "eslint package.json api-extractor.json src test", "lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]", @@ -73,7 +73,7 @@ "generate:client": "echo skipped", "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser", "minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", - "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api", "build:node": "tsc -p . && dev-tool run vendored cross-env ONLY_NODE=true rollup -c 2>&1", "build:test": "tsc -p . && dev-tool run bundle", "build:debug": "tsc -p . && dev-tool run bundle && dev-tool run extract-api", diff --git a/packages/rlc-common/src/metadata/packageJson/buildAzureMonorepoPackage.ts b/packages/rlc-common/src/metadata/packageJson/buildAzureMonorepoPackage.ts index d2e26773a2..34bddf2f8b 100644 --- a/packages/rlc-common/src/metadata/packageJson/buildAzureMonorepoPackage.ts +++ b/packages/rlc-common/src/metadata/packageJson/buildAzureMonorepoPackage.ts @@ -187,7 +187,7 @@ function getAzureMonorepoScripts(config: AzureMonorepoInfoConfig) { ? "dev-tool samples run samples-dev" : "echo skipped", "extract-api": - "dev-tool run vendored rimraf review && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "dev-tool run vendored rimraf review && dev-tool run extract-api", format: `dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore "src/**/*.{ts,cts,mts}" "test/**/*.{ts,cts,mts}" "*.{js,cjs,mjs,json}" ${ config.withSamples ? '"samples-dev/*.ts"' : "" }`, @@ -216,7 +216,7 @@ function getEsmScripts({ moduleKind }: AzureMonorepoInfoConfig) { "build:test": "npm run clean && dev-tool run build-package && dev-tool run build-test", build: - "npm run clean && dev-tool run build-package && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "npm run clean && dev-tool run build-package && dev-tool run extract-api", "test:node": "npm run clean && dev-tool run build-package && npm run unit-test:node && npm run integration-test:node", test: "npm run clean && dev-tool run build-package && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test", @@ -233,7 +233,7 @@ function getCjsScripts({ moduleKind }: AzureMonorepoInfoConfig) { return { build: - "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run vendored mkdirp ./review && dev-tool run extract-api", + "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api", "build:node": "tsc -p . && dev-tool run vendored cross-env ONLY_NODE=true rollup -c 2>&1", "build:test": "tsc -p . && dev-tool run bundle", diff --git a/packages/rlc-common/test/integration/packageJson.spec.ts b/packages/rlc-common/test/integration/packageJson.spec.ts index ce5a813a26..e7941ab51a 100644 --- a/packages/rlc-common/test/integration/packageJson.spec.ts +++ b/packages/rlc-common/test/integration/packageJson.spec.ts @@ -299,7 +299,7 @@ describe("Package file generation", () => { ); expect(packageFile.scripts).to.have.property( "build", - "npm run clean && dev-tool run build-package && dev-tool run vendored mkdirp ./review && dev-tool run extract-api" + "npm run clean && dev-tool run build-package && dev-tool run extract-api" ); expect(packageFile.scripts).to.have.property( "test:node", @@ -323,7 +323,7 @@ describe("Package file generation", () => { ); expect(packageFile.scripts).to.have.property( "extract-api", - "dev-tool run vendored rimraf review && dev-tool run vendored mkdirp ./review && dev-tool run extract-api" + "dev-tool run vendored rimraf review && dev-tool run extract-api" ); expect(packageFile.scripts).to.have.property( "integration-test", @@ -394,7 +394,7 @@ describe("Package file generation", () => { expect(packageFile.scripts).to.have.property( "build", - "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run vendored mkdirp ./review && dev-tool run extract-api" + "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api" ); expect(packageFile.scripts).to.have.property( "build:node", @@ -430,7 +430,7 @@ describe("Package file generation", () => { ); expect(packageFile.scripts).to.have.property( "extract-api", - "dev-tool run vendored rimraf review && dev-tool run vendored mkdirp ./review && dev-tool run extract-api" + "dev-tool run vendored rimraf review && dev-tool run extract-api" ); expect(packageFile.scripts).to.have.property( "integration-test",