diff --git a/package.json b/package.json index f8b7c4c6ffa8..9664c894a8a8 100644 --- a/package.json +++ b/package.json @@ -5,38 +5,38 @@ "description": "AWS SDK for JavaScript from the future", "main": "index.js", "scripts": { - "copy-models": "node ./scripts/copy-models", - "generate-clients": "node ./scripts/generate-clients", - "generate:clients:generic": "node ./scripts/generate-clients/generic", "bootstrap": "yarn", "bootstrap:ci": "yarn install --frozen-lockfile", - "clean": "yarn clear-build-cache && yarn clear-build-info && lerna clean", - "clear-build-cache": "rimraf ./packages/*/dist-* ./clients/*/dist-* ./lib/*/dist-* ./private/*/dist-*", - "clear-build-info": "rimraf ./packages/**/*.tsbuildinfo ./clients/**/*.tsbuildinfo ./lib/**/*.tsbuildinfo ./private/**/*.tsbuildinfo", + "build:all": "yarn build:crypto-dependencies && lerna run build", "build:clients:generic": "lerna run --scope '@aws-sdk/aws-echo-service' --include-dependencies build", - "build:packages": "lerna run build --ignore '@aws-sdk/client-*' --ignore '@aws-sdk/aws-*' --ignore '@aws-sdk/lib-*' --include-dependencies", + "build:clients:since:release": "yarn build:packages && lerna run build $(lerna changed | grep -e '@aws-sdk/[client|lib]-*' | sed 's/^/ --scope /' | tr '\n' ' ')", "build:crypto-dependencies": "lerna run --scope '@aws-sdk/{types,util-utf8-browser,util-locate-window,hash-node}' --include-dependencies build", + "build:docs": "typedoc", + "build:packages": "lerna run build --ignore '@aws-sdk/client-*' --ignore '@aws-sdk/aws-*' --ignore '@aws-sdk/lib-*' --include-dependencies", "build:protocols": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/aws-protocoltests-*' --include-dependencies build", "build:server-protocols": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/*-server' --include-dependencies build", - "build:clients:since:release": "yarn build:packages && lerna run build $(lerna changed | grep -e '@aws-sdk/[client|lib]-*' | sed 's/^/ --scope /' | tr '\n' ' ')", - "build:all": "yarn build:crypto-dependencies && lerna run build", "build:types:downlevel": "node --es-module-specifier-resolution=node ./scripts/downlevel-dts", - "build:docs": "typedoc", + "clean": "yarn clear-build-cache && yarn clear-build-info && lerna clean", + "clear-build-cache": "rimraf ./packages/*/dist-* ./clients/*/dist-* ./lib/*/dist-* ./private/*/dist-*", + "clear-build-info": "rimraf ./packages/**/*.tsbuildinfo ./clients/**/*.tsbuildinfo ./lib/**/*.tsbuildinfo ./private/**/*.tsbuildinfo", + "copy-models": "node ./scripts/copy-models", + "generate-clients": "node ./scripts/generate-clients", + "generate:clients:generic": "node ./scripts/generate-clients/generic", + "lerna:version": "lerna version --exact --conventional-commits --no-push --no-git-tag-version --no-commit-hooks --loglevel silent --no-private --yes", + "local-publish": "node ./scripts/verdaccio-publish/index.js", "pretest:all": "yarn build:all", + "pretest:e2e": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/{client-cloudformation,karma-credential-loader}' --include-dependencies build", "test:all": "jest --coverage --passWithNoTests && lerna run test --scope '@aws-sdk/{fetch-http-handler,hash-blob-browser}' && yarn test:versions", + "test:e2e": "node ./tests/e2e/index.js", "test:functional": "jest --config tests/functional/jest.config.js", + "test:integration": "jest --config jest.config.integ.js --passWithNoTests", "test:integration:legacy": "cucumber-js --fail-fast", "test:integration:legacy:since:release": "./tests/integ-legacy/index.js", - "test:integration": "jest --config jest.config.integ.js --passWithNoTests", "test:protocols": "yarn build:protocols && lerna run test --scope '@aws-sdk/aws-protocoltests-*'", "test:server-protocols": "yarn build:server-protocols && lerna run test --scope '@aws-sdk/*-server'", - "pretest:e2e": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/{client-cloudformation,karma-credential-loader}' --include-dependencies build", - "test:e2e": "node ./tests/e2e/index.js", - "test:versions": "jest --config tests/versions/jest.config.js tests/versions/index.spec.ts", "test:size": "cd scripts/benchmark-size/runner && yarn && ./cli.ts", - "local-publish": "node ./scripts/verdaccio-publish/index.js", - "lerna:version": "lerna version --exact --conventional-commits --no-push --no-git-tag-version --no-commit-hooks --loglevel silent --no-private --yes", - "test:unit": "jest --config jest.config.js" + "test:unit": "jest --config jest.config.js", + "test:versions": "jest --config tests/versions/jest.config.js tests/versions/index.spec.ts" }, "repository": { "type": "git",