Skip to content

Commit

Permalink
feat: use bundled dist-cjs build (#5687)
Browse files Browse the repository at this point in the history
* feat: use inline dist-cjs build

* feat: use node14 target for esbuild

* chore(util-dns): remove unused file metadata

* feat: use inline build in all packages

* chore: detect dynamic imports

* chore: update smithy hash

* chore: update smithy dependency versions

* chore: set updated smithy pkg versions in aws sdk packages

* chore: update yarn lock
  • Loading branch information
kuhe committed Jan 18, 2024
1 parent bbff28e commit 5f79e22
Show file tree
Hide file tree
Showing 467 changed files with 10,914 additions and 10,965 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ link-smithy:
ln -s ../../smithy-typescript/packages/ ./node_modules/\@smithy

unlink-smithy:
rm -rf ./node_modules/\@smithy
yarn
rm ./node_modules/\@smithy
yarn --check-files

# Runs build for all packages using Turborepo
turbo-build:
Expand Down
52 changes: 26 additions & 26 deletions clients/client-accessanalyzer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "3.490.0",
"scripts": {
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:cjs": "node ../../scripts/compilation/inline client-accessanalyzer",
"build:es": "tsc -p tsconfig.es.json",
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
"build:types": "tsc -p tsconfig.types.json",
Expand Down Expand Up @@ -33,35 +33,35 @@
"@aws-sdk/util-endpoints": "*",
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^2.0.23",
"@smithy/core": "^1.2.2",
"@smithy/fetch-http-handler": "^2.3.2",
"@smithy/hash-node": "^2.0.18",
"@smithy/invalid-dependency": "^2.0.16",
"@smithy/middleware-content-length": "^2.0.18",
"@smithy/middleware-endpoint": "^2.3.0",
"@smithy/middleware-retry": "^2.0.26",
"@smithy/middleware-serde": "^2.0.16",
"@smithy/middleware-stack": "^2.0.10",
"@smithy/node-config-provider": "^2.1.9",
"@smithy/node-http-handler": "^2.2.2",
"@smithy/protocol-http": "^3.0.12",
"@smithy/smithy-client": "^2.2.1",
"@smithy/types": "^2.8.0",
"@smithy/url-parser": "^2.0.16",
"@smithy/util-base64": "^2.0.1",
"@smithy/util-body-length-browser": "^2.0.1",
"@smithy/util-body-length-node": "^2.1.0",
"@smithy/util-defaults-mode-browser": "^2.0.24",
"@smithy/util-defaults-mode-node": "^2.0.32",
"@smithy/util-endpoints": "^1.0.8",
"@smithy/util-retry": "^2.0.9",
"@smithy/util-utf8": "^2.0.2",
"@smithy/config-resolver": "^2.1.0",
"@smithy/core": "^1.3.0",
"@smithy/fetch-http-handler": "^2.4.0",
"@smithy/hash-node": "^2.1.0",
"@smithy/invalid-dependency": "^2.1.0",
"@smithy/middleware-content-length": "^2.1.0",
"@smithy/middleware-endpoint": "^2.4.0",
"@smithy/middleware-retry": "^2.1.0",
"@smithy/middleware-serde": "^2.1.0",
"@smithy/middleware-stack": "^2.1.0",
"@smithy/node-config-provider": "^2.2.0",
"@smithy/node-http-handler": "^2.3.0",
"@smithy/protocol-http": "^3.1.0",
"@smithy/smithy-client": "^2.3.0",
"@smithy/types": "^2.9.0",
"@smithy/url-parser": "^2.1.0",
"@smithy/util-base64": "^2.1.0",
"@smithy/util-body-length-browser": "^2.1.0",
"@smithy/util-body-length-node": "^2.2.0",
"@smithy/util-defaults-mode-browser": "^2.1.0",
"@smithy/util-defaults-mode-node": "^2.1.0",
"@smithy/util-endpoints": "^1.1.0",
"@smithy/util-retry": "^2.1.0",
"@smithy/util-utf8": "^2.1.0",
"tslib": "^2.5.0",
"uuid": "^8.3.2"
},
"devDependencies": {
"@smithy/service-client-documentation-generator": "^2.0.0",
"@smithy/service-client-documentation-generator": "^2.1.0",
"@tsconfig/node14": "1.0.3",
"@types/node": "^14.14.31",
"@types/uuid": "^8.3.0",
Expand Down
52 changes: 26 additions & 26 deletions clients/client-account/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "3.490.0",
"scripts": {
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:cjs": "node ../../scripts/compilation/inline client-account",
"build:es": "tsc -p tsconfig.es.json",
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
"build:types": "tsc -p tsconfig.types.json",
Expand Down Expand Up @@ -33,34 +33,34 @@
"@aws-sdk/util-endpoints": "*",
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^2.0.23",
"@smithy/core": "^1.2.2",
"@smithy/fetch-http-handler": "^2.3.2",
"@smithy/hash-node": "^2.0.18",
"@smithy/invalid-dependency": "^2.0.16",
"@smithy/middleware-content-length": "^2.0.18",
"@smithy/middleware-endpoint": "^2.3.0",
"@smithy/middleware-retry": "^2.0.26",
"@smithy/middleware-serde": "^2.0.16",
"@smithy/middleware-stack": "^2.0.10",
"@smithy/node-config-provider": "^2.1.9",
"@smithy/node-http-handler": "^2.2.2",
"@smithy/protocol-http": "^3.0.12",
"@smithy/smithy-client": "^2.2.1",
"@smithy/types": "^2.8.0",
"@smithy/url-parser": "^2.0.16",
"@smithy/util-base64": "^2.0.1",
"@smithy/util-body-length-browser": "^2.0.1",
"@smithy/util-body-length-node": "^2.1.0",
"@smithy/util-defaults-mode-browser": "^2.0.24",
"@smithy/util-defaults-mode-node": "^2.0.32",
"@smithy/util-endpoints": "^1.0.8",
"@smithy/util-retry": "^2.0.9",
"@smithy/util-utf8": "^2.0.2",
"@smithy/config-resolver": "^2.1.0",
"@smithy/core": "^1.3.0",
"@smithy/fetch-http-handler": "^2.4.0",
"@smithy/hash-node": "^2.1.0",
"@smithy/invalid-dependency": "^2.1.0",
"@smithy/middleware-content-length": "^2.1.0",
"@smithy/middleware-endpoint": "^2.4.0",
"@smithy/middleware-retry": "^2.1.0",
"@smithy/middleware-serde": "^2.1.0",
"@smithy/middleware-stack": "^2.1.0",
"@smithy/node-config-provider": "^2.2.0",
"@smithy/node-http-handler": "^2.3.0",
"@smithy/protocol-http": "^3.1.0",
"@smithy/smithy-client": "^2.3.0",
"@smithy/types": "^2.9.0",
"@smithy/url-parser": "^2.1.0",
"@smithy/util-base64": "^2.1.0",
"@smithy/util-body-length-browser": "^2.1.0",
"@smithy/util-body-length-node": "^2.2.0",
"@smithy/util-defaults-mode-browser": "^2.1.0",
"@smithy/util-defaults-mode-node": "^2.1.0",
"@smithy/util-endpoints": "^1.1.0",
"@smithy/util-retry": "^2.1.0",
"@smithy/util-utf8": "^2.1.0",
"tslib": "^2.5.0"
},
"devDependencies": {
"@smithy/service-client-documentation-generator": "^2.0.0",
"@smithy/service-client-documentation-generator": "^2.1.0",
"@tsconfig/node14": "1.0.3",
"@types/node": "^14.14.31",
"concurrently": "7.0.0",
Expand Down
54 changes: 27 additions & 27 deletions clients/client-acm-pca/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "3.490.0",
"scripts": {
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:cjs": "node ../../scripts/compilation/inline client-acm-pca",
"build:es": "tsc -p tsconfig.es.json",
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
"build:types": "tsc -p tsconfig.types.json",
Expand Down Expand Up @@ -33,35 +33,35 @@
"@aws-sdk/util-endpoints": "*",
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^2.0.23",
"@smithy/core": "^1.2.2",
"@smithy/fetch-http-handler": "^2.3.2",
"@smithy/hash-node": "^2.0.18",
"@smithy/invalid-dependency": "^2.0.16",
"@smithy/middleware-content-length": "^2.0.18",
"@smithy/middleware-endpoint": "^2.3.0",
"@smithy/middleware-retry": "^2.0.26",
"@smithy/middleware-serde": "^2.0.16",
"@smithy/middleware-stack": "^2.0.10",
"@smithy/node-config-provider": "^2.1.9",
"@smithy/node-http-handler": "^2.2.2",
"@smithy/protocol-http": "^3.0.12",
"@smithy/smithy-client": "^2.2.1",
"@smithy/types": "^2.8.0",
"@smithy/url-parser": "^2.0.16",
"@smithy/util-base64": "^2.0.1",
"@smithy/util-body-length-browser": "^2.0.1",
"@smithy/util-body-length-node": "^2.1.0",
"@smithy/util-defaults-mode-browser": "^2.0.24",
"@smithy/util-defaults-mode-node": "^2.0.32",
"@smithy/util-endpoints": "^1.0.8",
"@smithy/util-retry": "^2.0.9",
"@smithy/util-utf8": "^2.0.2",
"@smithy/util-waiter": "^2.0.16",
"@smithy/config-resolver": "^2.1.0",
"@smithy/core": "^1.3.0",
"@smithy/fetch-http-handler": "^2.4.0",
"@smithy/hash-node": "^2.1.0",
"@smithy/invalid-dependency": "^2.1.0",
"@smithy/middleware-content-length": "^2.1.0",
"@smithy/middleware-endpoint": "^2.4.0",
"@smithy/middleware-retry": "^2.1.0",
"@smithy/middleware-serde": "^2.1.0",
"@smithy/middleware-stack": "^2.1.0",
"@smithy/node-config-provider": "^2.2.0",
"@smithy/node-http-handler": "^2.3.0",
"@smithy/protocol-http": "^3.1.0",
"@smithy/smithy-client": "^2.3.0",
"@smithy/types": "^2.9.0",
"@smithy/url-parser": "^2.1.0",
"@smithy/util-base64": "^2.1.0",
"@smithy/util-body-length-browser": "^2.1.0",
"@smithy/util-body-length-node": "^2.2.0",
"@smithy/util-defaults-mode-browser": "^2.1.0",
"@smithy/util-defaults-mode-node": "^2.1.0",
"@smithy/util-endpoints": "^1.1.0",
"@smithy/util-retry": "^2.1.0",
"@smithy/util-utf8": "^2.1.0",
"@smithy/util-waiter": "^2.1.0",
"tslib": "^2.5.0"
},
"devDependencies": {
"@smithy/service-client-documentation-generator": "^2.0.0",
"@smithy/service-client-documentation-generator": "^2.1.0",
"@tsconfig/node14": "1.0.3",
"@types/node": "^14.14.31",
"concurrently": "7.0.0",
Expand Down
54 changes: 27 additions & 27 deletions clients/client-acm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "3.490.0",
"scripts": {
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:cjs": "node ../../scripts/compilation/inline client-acm",
"build:es": "tsc -p tsconfig.es.json",
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
"build:types": "tsc -p tsconfig.types.json",
Expand Down Expand Up @@ -33,35 +33,35 @@
"@aws-sdk/util-endpoints": "*",
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^2.0.23",
"@smithy/core": "^1.2.2",
"@smithy/fetch-http-handler": "^2.3.2",
"@smithy/hash-node": "^2.0.18",
"@smithy/invalid-dependency": "^2.0.16",
"@smithy/middleware-content-length": "^2.0.18",
"@smithy/middleware-endpoint": "^2.3.0",
"@smithy/middleware-retry": "^2.0.26",
"@smithy/middleware-serde": "^2.0.16",
"@smithy/middleware-stack": "^2.0.10",
"@smithy/node-config-provider": "^2.1.9",
"@smithy/node-http-handler": "^2.2.2",
"@smithy/protocol-http": "^3.0.12",
"@smithy/smithy-client": "^2.2.1",
"@smithy/types": "^2.8.0",
"@smithy/url-parser": "^2.0.16",
"@smithy/util-base64": "^2.0.1",
"@smithy/util-body-length-browser": "^2.0.1",
"@smithy/util-body-length-node": "^2.1.0",
"@smithy/util-defaults-mode-browser": "^2.0.24",
"@smithy/util-defaults-mode-node": "^2.0.32",
"@smithy/util-endpoints": "^1.0.8",
"@smithy/util-retry": "^2.0.9",
"@smithy/util-utf8": "^2.0.2",
"@smithy/util-waiter": "^2.0.16",
"@smithy/config-resolver": "^2.1.0",
"@smithy/core": "^1.3.0",
"@smithy/fetch-http-handler": "^2.4.0",
"@smithy/hash-node": "^2.1.0",
"@smithy/invalid-dependency": "^2.1.0",
"@smithy/middleware-content-length": "^2.1.0",
"@smithy/middleware-endpoint": "^2.4.0",
"@smithy/middleware-retry": "^2.1.0",
"@smithy/middleware-serde": "^2.1.0",
"@smithy/middleware-stack": "^2.1.0",
"@smithy/node-config-provider": "^2.2.0",
"@smithy/node-http-handler": "^2.3.0",
"@smithy/protocol-http": "^3.1.0",
"@smithy/smithy-client": "^2.3.0",
"@smithy/types": "^2.9.0",
"@smithy/url-parser": "^2.1.0",
"@smithy/util-base64": "^2.1.0",
"@smithy/util-body-length-browser": "^2.1.0",
"@smithy/util-body-length-node": "^2.2.0",
"@smithy/util-defaults-mode-browser": "^2.1.0",
"@smithy/util-defaults-mode-node": "^2.1.0",
"@smithy/util-endpoints": "^1.1.0",
"@smithy/util-retry": "^2.1.0",
"@smithy/util-utf8": "^2.1.0",
"@smithy/util-waiter": "^2.1.0",
"tslib": "^2.5.0"
},
"devDependencies": {
"@smithy/service-client-documentation-generator": "^2.0.0",
"@smithy/service-client-documentation-generator": "^2.1.0",
"@tsconfig/node14": "1.0.3",
"@types/node": "^14.14.31",
"concurrently": "7.0.0",
Expand Down
52 changes: 26 additions & 26 deletions clients/client-alexa-for-business/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "3.490.0",
"scripts": {
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:cjs": "node ../../scripts/compilation/inline client-alexa-for-business",
"build:es": "tsc -p tsconfig.es.json",
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
"build:types": "tsc -p tsconfig.types.json",
Expand Down Expand Up @@ -33,35 +33,35 @@
"@aws-sdk/util-endpoints": "*",
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^2.0.23",
"@smithy/core": "^1.2.2",
"@smithy/fetch-http-handler": "^2.3.2",
"@smithy/hash-node": "^2.0.18",
"@smithy/invalid-dependency": "^2.0.16",
"@smithy/middleware-content-length": "^2.0.18",
"@smithy/middleware-endpoint": "^2.3.0",
"@smithy/middleware-retry": "^2.0.26",
"@smithy/middleware-serde": "^2.0.16",
"@smithy/middleware-stack": "^2.0.10",
"@smithy/node-config-provider": "^2.1.9",
"@smithy/node-http-handler": "^2.2.2",
"@smithy/protocol-http": "^3.0.12",
"@smithy/smithy-client": "^2.2.1",
"@smithy/types": "^2.8.0",
"@smithy/url-parser": "^2.0.16",
"@smithy/util-base64": "^2.0.1",
"@smithy/util-body-length-browser": "^2.0.1",
"@smithy/util-body-length-node": "^2.1.0",
"@smithy/util-defaults-mode-browser": "^2.0.24",
"@smithy/util-defaults-mode-node": "^2.0.32",
"@smithy/util-endpoints": "^1.0.8",
"@smithy/util-retry": "^2.0.9",
"@smithy/util-utf8": "^2.0.2",
"@smithy/config-resolver": "^2.1.0",
"@smithy/core": "^1.3.0",
"@smithy/fetch-http-handler": "^2.4.0",
"@smithy/hash-node": "^2.1.0",
"@smithy/invalid-dependency": "^2.1.0",
"@smithy/middleware-content-length": "^2.1.0",
"@smithy/middleware-endpoint": "^2.4.0",
"@smithy/middleware-retry": "^2.1.0",
"@smithy/middleware-serde": "^2.1.0",
"@smithy/middleware-stack": "^2.1.0",
"@smithy/node-config-provider": "^2.2.0",
"@smithy/node-http-handler": "^2.3.0",
"@smithy/protocol-http": "^3.1.0",
"@smithy/smithy-client": "^2.3.0",
"@smithy/types": "^2.9.0",
"@smithy/url-parser": "^2.1.0",
"@smithy/util-base64": "^2.1.0",
"@smithy/util-body-length-browser": "^2.1.0",
"@smithy/util-body-length-node": "^2.2.0",
"@smithy/util-defaults-mode-browser": "^2.1.0",
"@smithy/util-defaults-mode-node": "^2.1.0",
"@smithy/util-endpoints": "^1.1.0",
"@smithy/util-retry": "^2.1.0",
"@smithy/util-utf8": "^2.1.0",
"tslib": "^2.5.0",
"uuid": "^8.3.2"
},
"devDependencies": {
"@smithy/service-client-documentation-generator": "^2.0.0",
"@smithy/service-client-documentation-generator": "^2.1.0",
"@tsconfig/node14": "1.0.3",
"@types/node": "^14.14.31",
"@types/uuid": "^8.3.0",
Expand Down

0 comments on commit 5f79e22

Please sign in to comment.