Skip to content

Commit 921e9b4

Browse files
authored
chore(package.json): rename pre user scripts and explicitly call them (#3251)
1 parent 0e95666 commit 921e9b4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"build:clients:since:release": "yarn build:packages && lerna run build $(lerna changed | grep -e '@aws-sdk/[client|lib]-*' | sed 's/^/ --scope /' | tr '\n' ' ')",
1313
"build:crypto-dependencies": "lerna run --scope '@aws-sdk/{types,util-utf8-browser,util-locate-window,hash-node}' --include-dependencies build",
1414
"build:docs": "typedoc",
15+
"build:e2e": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/{client-cloudformation,karma-credential-loader}' --include-dependencies build",
1516
"build:packages": "lerna run build --ignore '@aws-sdk/client-*' --ignore '@aws-sdk/aws-*' --ignore '@aws-sdk/lib-*' --include-dependencies",
1617
"build:protocols": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/aws-protocoltests-*' --include-dependencies build",
1718
"build:server-protocols": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/*-server' --include-dependencies build",
@@ -25,10 +26,8 @@
2526
"generate:defaults-mode-provider": "./scripts/generate-defaults-mode-provider/index.js",
2627
"lerna:version": "lerna version --exact --conventional-commits --no-push --no-git-tag-version --no-commit-hooks --loglevel silent --no-private --yes",
2728
"local-publish": "node ./scripts/verdaccio-publish/index.js",
28-
"pretest:all": "yarn build:all",
29-
"pretest:e2e": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/{client-cloudformation,karma-credential-loader}' --include-dependencies build",
30-
"test:all": "jest --coverage --passWithNoTests && lerna run test --scope '@aws-sdk/{fetch-http-handler,hash-blob-browser}' && yarn test:versions",
31-
"test:e2e": "node ./tests/e2e/index.js",
29+
"test:all": "yarn build:all && jest --coverage --passWithNoTests && lerna run test --scope '@aws-sdk/{fetch-http-handler,hash-blob-browser}' && yarn test:versions",
30+
"test:e2e": "yarn build:e2e && node ./tests/e2e/index.js",
3231
"test:functional": "jest --config tests/functional/jest.config.js",
3332
"test:integration": "jest --config jest.config.integ.js --passWithNoTests",
3433
"test:integration:legacy": "cucumber-js --fail-fast",
@@ -143,4 +142,4 @@
143142
],
144143
"**/*.{ts,js,md,json}": "prettier --write"
145144
}
146-
}
145+
}

0 commit comments

Comments
 (0)