Skip to content

chore: move types from types/ folder to dist/types #2175

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ codegen/sdk-codegen/smithy-build.json

coverage
dist
types
!packages/types

/verdaccio/*
!/verdaccio/config.yaml
1 change: 0 additions & 1 deletion clients/client-accessanalyzer/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/build/
/coverage/
/docs/
/types/
/dist/
*.tsbuildinfo
*.tgz
Expand Down
4 changes: 2 additions & 2 deletions clients/client-accessanalyzer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
"types": "./dist/types/index.d.ts",
"module": "./dist/es/index.js",
"browser": {
"./runtimeConfig": "./runtimeConfig.browser"
Expand Down
2 changes: 1 addition & 1 deletion clients/client-accessanalyzer/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./types",
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
},
"typedocOptions": {
Expand Down
1 change: 0 additions & 1 deletion clients/client-acm-pca/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/build/
/coverage/
/docs/
/types/
/dist/
*.tsbuildinfo
*.tgz
Expand Down
4 changes: 2 additions & 2 deletions clients/client-acm-pca/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
"types": "./dist/types/index.d.ts",
"module": "./dist/es/index.js",
"browser": {
"./runtimeConfig": "./runtimeConfig.browser"
Expand Down
2 changes: 1 addition & 1 deletion clients/client-acm-pca/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./types",
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
},
"typedocOptions": {
Expand Down
1 change: 0 additions & 1 deletion clients/client-acm/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/build/
/coverage/
/docs/
/types/
/dist/
*.tsbuildinfo
*.tgz
Expand Down
4 changes: 2 additions & 2 deletions clients/client-acm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
"types": "./dist/types/index.d.ts",
"module": "./dist/es/index.js",
"browser": {
"./runtimeConfig": "./runtimeConfig.browser"
Expand Down
2 changes: 1 addition & 1 deletion clients/client-acm/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./types",
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
},
"typedocOptions": {
Expand Down
1 change: 0 additions & 1 deletion clients/client-alexa-for-business/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/build/
/coverage/
/docs/
/types/
/dist/
*.tsbuildinfo
*.tgz
Expand Down
4 changes: 2 additions & 2 deletions clients/client-alexa-for-business/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
"types": "./dist/types/index.d.ts",
"module": "./dist/es/index.js",
"browser": {
"./runtimeConfig": "./runtimeConfig.browser"
Expand Down
2 changes: 1 addition & 1 deletion clients/client-alexa-for-business/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./types",
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
},
"typedocOptions": {
Expand Down
1 change: 0 additions & 1 deletion clients/client-amplify/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/build/
/coverage/
/docs/
/types/
/dist/
*.tsbuildinfo
*.tgz
Expand Down
4 changes: 2 additions & 2 deletions clients/client-amplify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
"types": "./dist/types/index.d.ts",
"module": "./dist/es/index.js",
"browser": {
"./runtimeConfig": "./runtimeConfig.browser"
Expand Down
2 changes: 1 addition & 1 deletion clients/client-amplify/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./types",
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
},
"typedocOptions": {
Expand Down
1 change: 0 additions & 1 deletion clients/client-amplifybackend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/build/
/coverage/
/docs/
/types/
/dist/
*.tsbuildinfo
*.tgz
Expand Down
4 changes: 2 additions & 2 deletions clients/client-amplifybackend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
"types": "./dist/types/index.d.ts",
"module": "./dist/es/index.js",
"browser": {
"./runtimeConfig": "./runtimeConfig.browser"
Expand Down
2 changes: 1 addition & 1 deletion clients/client-amplifybackend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./types",
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
},
"typedocOptions": {
Expand Down
1 change: 0 additions & 1 deletion clients/client-api-gateway/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/build/
/coverage/
/docs/
/types/
/dist/
*.tsbuildinfo
*.tgz
Expand Down
4 changes: 2 additions & 2 deletions clients/client-api-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
"types": "./dist/types/index.d.ts",
"module": "./dist/es/index.js",
"browser": {
"./runtimeConfig": "./runtimeConfig.browser"
Expand Down
2 changes: 1 addition & 1 deletion clients/client-api-gateway/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./types",
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
},
"typedocOptions": {
Expand Down
1 change: 0 additions & 1 deletion clients/client-apigatewaymanagementapi/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/build/
/coverage/
/docs/
/types/
/dist/
*.tsbuildinfo
*.tgz
Expand Down
4 changes: 2 additions & 2 deletions clients/client-apigatewaymanagementapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
"types": "./dist/types/index.d.ts",
"module": "./dist/es/index.js",
"browser": {
"./runtimeConfig": "./runtimeConfig.browser"
Expand Down
2 changes: 1 addition & 1 deletion clients/client-apigatewaymanagementapi/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./types",
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
},
"typedocOptions": {
Expand Down
1 change: 0 additions & 1 deletion clients/client-apigatewayv2/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/build/
/coverage/
/docs/
/types/
/dist/
*.tsbuildinfo
*.tgz
Expand Down
4 changes: 2 additions & 2 deletions clients/client-apigatewayv2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
"types": "./dist/types/index.d.ts",
"module": "./dist/es/index.js",
"browser": {
"./runtimeConfig": "./runtimeConfig.browser"
Expand Down
2 changes: 1 addition & 1 deletion clients/client-apigatewayv2/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./types",
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
},
"typedocOptions": {
Expand Down
1 change: 0 additions & 1 deletion clients/client-app-mesh/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/build/
/coverage/
/docs/
/types/
/dist/
*.tsbuildinfo
*.tgz
Expand Down
4 changes: 2 additions & 2 deletions clients/client-app-mesh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
"types": "./dist/types/index.d.ts",
"module": "./dist/es/index.js",
"browser": {
"./runtimeConfig": "./runtimeConfig.browser"
Expand Down
2 changes: 1 addition & 1 deletion clients/client-app-mesh/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./types",
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
},
"typedocOptions": {
Expand Down
1 change: 0 additions & 1 deletion clients/client-appconfig/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/build/
/coverage/
/docs/
/types/
/dist/
*.tsbuildinfo
*.tgz
Expand Down
4 changes: 2 additions & 2 deletions clients/client-appconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
"types": "./dist/types/index.d.ts",
"module": "./dist/es/index.js",
"browser": {
"./runtimeConfig": "./runtimeConfig.browser"
Expand Down
2 changes: 1 addition & 1 deletion clients/client-appconfig/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./types",
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
},
"typedocOptions": {
Expand Down
1 change: 0 additions & 1 deletion clients/client-appflow/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/build/
/coverage/
/docs/
/types/
/dist/
*.tsbuildinfo
*.tgz
Expand Down
4 changes: 2 additions & 2 deletions clients/client-appflow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
"types": "./dist/types/index.d.ts",
"module": "./dist/es/index.js",
"browser": {
"./runtimeConfig": "./runtimeConfig.browser"
Expand Down
2 changes: 1 addition & 1 deletion clients/client-appflow/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./types",
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
},
"typedocOptions": {
Expand Down
1 change: 0 additions & 1 deletion clients/client-appintegrations/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/build/
/coverage/
/docs/
/types/
/dist/
*.tsbuildinfo
*.tgz
Expand Down
4 changes: 2 additions & 2 deletions clients/client-appintegrations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"postbuild": "downlevel-dts types types/ts3.4"
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist/cjs/index.js",
"types": "./types/index.d.ts",
"types": "./dist/types/index.d.ts",
"module": "./dist/es/index.js",
"browser": {
"./runtimeConfig": "./runtimeConfig.browser"
Expand Down
2 changes: 1 addition & 1 deletion clients/client-appintegrations/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./types",
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
},
"typedocOptions": {
Expand Down
Loading