Skip to content

Commit 0ffd712

Browse files
authored
chore(scripts): update build scripts (#2296)
pretest script in packages are deprecated in #2088. Update these scripts to use build scripts instead.
1 parent e3772e0 commit 0ffd712

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

package.json

+4-5
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
"clear-build-cache": "rimraf ./packages/*/dist ./clients/*/dist ./lib/*/dist ./packages/*/types ./clients/*/types ./lib/*/types",
1313
"clear-build-info": "rimraf ./packages/**/*.tsbuildinfo ./clients/**/*.tsbuildinfo ./lib/**/*.tsbuildinfo",
1414
"remove-documentation": "rimraf ./docs",
15-
"build:crypto-dependencies": "lerna run --scope '@aws-sdk/{types,util-utf8-browser,util-locate-window,hash-node}' --include-dependencies pretest",
16-
"build:protocols": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/aws-*' --include-dependencies pretest",
17-
"build:smithy-client": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/client-rds-data' --include-dependencies pretest",
15+
"build:crypto-dependencies": "lerna run --scope '@aws-sdk/{types,util-utf8-browser,util-locate-window,hash-node}' --include-dependencies build",
16+
"build:protocols": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/aws-*' --include-dependencies build",
1817
"build:all": "yarn build:crypto-dependencies && lerna run build",
1918
"build-documentation": "yarn remove-documentation && typedoc",
2019
"pretest:all": "yarn build:all",
@@ -23,7 +22,7 @@
2322
"test:integration-legacy": "cucumber-js --fail-fast",
2423
"test:integration": "jest --config jest.config.integ.js --passWithNoTests",
2524
"test:protocols": "yarn build:protocols && lerna run test --scope '@aws-sdk/aws-*'",
26-
"pretest:e2e": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/{client-cloudformation,karma-credential-loader}' --include-dependencies pretest",
25+
"pretest:e2e": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/{client-cloudformation,karma-credential-loader}' --include-dependencies build",
2726
"test:e2e": "node ./tests/e2e/index.js",
2827
"local-publish": "node ./scripts/verdaccio-publish/index.js"
2928
},
@@ -119,4 +118,4 @@
119118
],
120119
"**/*.{ts,js,md,json}": "prettier --write"
121120
}
122-
}
121+
}

0 commit comments

Comments
 (0)