Skip to content

Commit

Permalink
feat: build command (#1407)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexforsyth authored Jul 29, 2020
1 parent 9fedaa9 commit 81b2e87
Show file tree
Hide file tree
Showing 84 changed files with 85 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"build:crypto-dependencies": "lerna run --scope '@aws-sdk/types' --scope '@aws-sdk/util-utf8-browser' --scope '@aws-sdk/util-locate-window' --scope '@aws-sdk/hash-node' --include-dependencies pretest",
"build:protocols": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/aws-*' --include-dependencies pretest",
"build:smithy-client": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/client-rds-data' --include-dependencies pretest",
"build:all": "yarn build:crypto-dependencies && lerna run pretest",
"build:all": "yarn build:crypto-dependencies && lerna run build",
"pretest:all": "yarn build:all",
"test:all": "jest --coverage --passWithNoTests && lerna run test --scope @aws-sdk/fetch-http-handler --scope @aws-sdk/hash-blob-browser",
"test:functional": "jest --config tests/functional/jest.config.js --passWithNoTests",
Expand Down Expand Up @@ -109,4 +109,4 @@
],
"**/*.{ts,js,md,json}": "prettier --write"
}
}
}
1 change: 1 addition & 0 deletions packages/abort-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"author": {
Expand Down
1 change: 1 addition & 0 deletions packages/body-checksum-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/body-checksum-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/chunked-blob-reader-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/chunked-blob-reader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/chunked-stream-reader-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/client-documentation-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "exit 0"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/config-resolver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/credential-provider-cognito-identity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/credential-provider-env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"keywords": [
Expand Down
1 change: 1 addition & 0 deletions packages/credential-provider-imds/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"keywords": [
Expand Down
1 change: 1 addition & 0 deletions packages/credential-provider-ini/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"keywords": [
Expand Down
1 change: 1 addition & 0 deletions packages/credential-provider-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"keywords": [
Expand Down
1 change: 1 addition & 0 deletions packages/credential-provider-process/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"keywords": [
Expand Down
1 change: 1 addition & 0 deletions packages/eventstream-handler-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/eventstream-marshaller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest --coverage"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/eventstream-serde-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/eventstream-serde-config-resolver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/eventstream-serde-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/eventstream-serde-universal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/fetch-http-handler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest --coverage && karma start karma.conf.js"
},
"author": {
Expand Down
1 change: 1 addition & 0 deletions packages/hash-blob-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "karma start karma.conf.js"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/hash-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/hash-stream-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/invalid-dependency/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/is-array-buffer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"author": {
Expand Down
1 change: 1 addition & 0 deletions packages/karma-credential-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest --passWithNoTests"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/md5-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-apply-body-checksum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest --coverage"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-bucket-endpoint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-content-length/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-eventstream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-expect-continue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-header-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-host-header/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-location-constraint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-retry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-sdk-api-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-sdk-ec2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-sdk-glacier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-sdk-machinelearning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-sdk-rds/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-sdk-route53/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-sdk-s3-control/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-sdk-s3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-sdk-sqs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-sdk-transcribe-streaming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"build": "yarn build:es && yarn build:cjs",
"prepublishOnly": "yarn build",
"pretest": "yarn build",
"test": "jest --passWithNoTests"
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-serde/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"pretest": "yarn build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"test": "jest"
},
"main": "./dist/cjs/index.js",
Expand Down
Loading

0 comments on commit 81b2e87

Please sign in to comment.