Skip to content

Commit 012a48b

Browse files
authored
chore: move types from types/ folder to dist/types (aws#2175)
1 parent 1627ad8 commit 012a48b

File tree

1,035 files changed

+1123
-1379
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,035 files changed

+1123
-1379
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ codegen/sdk-codegen/smithy-build.json
3838

3939
coverage
4040
dist
41-
types
42-
!packages/types
4341

4442
/verdaccio/*
4543
!/verdaccio/config.yaml

clients/client-accessanalyzer/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/build/
33
/coverage/
44
/docs/
5-
/types/
65
/dist/
76
*.tsbuildinfo
87
*.tgz

clients/client-accessanalyzer/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"build:cjs": "tsc -p tsconfig.json",
1414
"build:es": "tsc -p tsconfig.es.json",
1515
"build": "yarn build:cjs && yarn build:es",
16-
"postbuild": "downlevel-dts types types/ts3.4"
16+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
1717
},
1818
"main": "./dist/cjs/index.js",
19-
"types": "./types/index.d.ts",
19+
"types": "./dist/types/index.d.ts",
2020
"module": "./dist/es/index.js",
2121
"browser": {
2222
"./runtimeConfig": "./runtimeConfig.browser"

clients/client-accessanalyzer/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"incremental": true,
1313
"resolveJsonModule": true,
1414
"esModuleInterop": true,
15-
"declarationDir": "./types",
15+
"declarationDir": "./dist/types",
1616
"outDir": "dist/cjs"
1717
},
1818
"typedocOptions": {

clients/client-acm-pca/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/build/
33
/coverage/
44
/docs/
5-
/types/
65
/dist/
76
*.tsbuildinfo
87
*.tgz

clients/client-acm-pca/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"build:cjs": "tsc -p tsconfig.json",
1414
"build:es": "tsc -p tsconfig.es.json",
1515
"build": "yarn build:cjs && yarn build:es",
16-
"postbuild": "downlevel-dts types types/ts3.4"
16+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
1717
},
1818
"main": "./dist/cjs/index.js",
19-
"types": "./types/index.d.ts",
19+
"types": "./dist/types/index.d.ts",
2020
"module": "./dist/es/index.js",
2121
"browser": {
2222
"./runtimeConfig": "./runtimeConfig.browser"

clients/client-acm-pca/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"incremental": true,
1313
"resolveJsonModule": true,
1414
"esModuleInterop": true,
15-
"declarationDir": "./types",
15+
"declarationDir": "./dist/types",
1616
"outDir": "dist/cjs"
1717
},
1818
"typedocOptions": {

clients/client-acm/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/build/
33
/coverage/
44
/docs/
5-
/types/
65
/dist/
76
*.tsbuildinfo
87
*.tgz

clients/client-acm/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"build:cjs": "tsc -p tsconfig.json",
1414
"build:es": "tsc -p tsconfig.es.json",
1515
"build": "yarn build:cjs && yarn build:es",
16-
"postbuild": "downlevel-dts types types/ts3.4"
16+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
1717
},
1818
"main": "./dist/cjs/index.js",
19-
"types": "./types/index.d.ts",
19+
"types": "./dist/types/index.d.ts",
2020
"module": "./dist/es/index.js",
2121
"browser": {
2222
"./runtimeConfig": "./runtimeConfig.browser"

clients/client-acm/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"incremental": true,
1313
"resolveJsonModule": true,
1414
"esModuleInterop": true,
15-
"declarationDir": "./types",
15+
"declarationDir": "./dist/types",
1616
"outDir": "dist/cjs"
1717
},
1818
"typedocOptions": {

clients/client-alexa-for-business/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/build/
33
/coverage/
44
/docs/
5-
/types/
65
/dist/
76
*.tsbuildinfo
87
*.tgz

clients/client-alexa-for-business/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"build:cjs": "tsc -p tsconfig.json",
1414
"build:es": "tsc -p tsconfig.es.json",
1515
"build": "yarn build:cjs && yarn build:es",
16-
"postbuild": "downlevel-dts types types/ts3.4"
16+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
1717
},
1818
"main": "./dist/cjs/index.js",
19-
"types": "./types/index.d.ts",
19+
"types": "./dist/types/index.d.ts",
2020
"module": "./dist/es/index.js",
2121
"browser": {
2222
"./runtimeConfig": "./runtimeConfig.browser"

clients/client-alexa-for-business/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"incremental": true,
1313
"resolveJsonModule": true,
1414
"esModuleInterop": true,
15-
"declarationDir": "./types",
15+
"declarationDir": "./dist/types",
1616
"outDir": "dist/cjs"
1717
},
1818
"typedocOptions": {

clients/client-amplify/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/build/
33
/coverage/
44
/docs/
5-
/types/
65
/dist/
76
*.tsbuildinfo
87
*.tgz

clients/client-amplify/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"build:cjs": "tsc -p tsconfig.json",
1414
"build:es": "tsc -p tsconfig.es.json",
1515
"build": "yarn build:cjs && yarn build:es",
16-
"postbuild": "downlevel-dts types types/ts3.4"
16+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
1717
},
1818
"main": "./dist/cjs/index.js",
19-
"types": "./types/index.d.ts",
19+
"types": "./dist/types/index.d.ts",
2020
"module": "./dist/es/index.js",
2121
"browser": {
2222
"./runtimeConfig": "./runtimeConfig.browser"

clients/client-amplify/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"incremental": true,
1313
"resolveJsonModule": true,
1414
"esModuleInterop": true,
15-
"declarationDir": "./types",
15+
"declarationDir": "./dist/types",
1616
"outDir": "dist/cjs"
1717
},
1818
"typedocOptions": {

clients/client-amplifybackend/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/build/
33
/coverage/
44
/docs/
5-
/types/
65
/dist/
76
*.tsbuildinfo
87
*.tgz

clients/client-amplifybackend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"build:cjs": "tsc -p tsconfig.json",
1414
"build:es": "tsc -p tsconfig.es.json",
1515
"build": "yarn build:cjs && yarn build:es",
16-
"postbuild": "downlevel-dts types types/ts3.4"
16+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
1717
},
1818
"main": "./dist/cjs/index.js",
19-
"types": "./types/index.d.ts",
19+
"types": "./dist/types/index.d.ts",
2020
"module": "./dist/es/index.js",
2121
"browser": {
2222
"./runtimeConfig": "./runtimeConfig.browser"

clients/client-amplifybackend/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"incremental": true,
1313
"resolveJsonModule": true,
1414
"esModuleInterop": true,
15-
"declarationDir": "./types",
15+
"declarationDir": "./dist/types",
1616
"outDir": "dist/cjs"
1717
},
1818
"typedocOptions": {

clients/client-api-gateway/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/build/
33
/coverage/
44
/docs/
5-
/types/
65
/dist/
76
*.tsbuildinfo
87
*.tgz

clients/client-api-gateway/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"build:cjs": "tsc -p tsconfig.json",
1414
"build:es": "tsc -p tsconfig.es.json",
1515
"build": "yarn build:cjs && yarn build:es",
16-
"postbuild": "downlevel-dts types types/ts3.4"
16+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
1717
},
1818
"main": "./dist/cjs/index.js",
19-
"types": "./types/index.d.ts",
19+
"types": "./dist/types/index.d.ts",
2020
"module": "./dist/es/index.js",
2121
"browser": {
2222
"./runtimeConfig": "./runtimeConfig.browser"

clients/client-api-gateway/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"incremental": true,
1313
"resolveJsonModule": true,
1414
"esModuleInterop": true,
15-
"declarationDir": "./types",
15+
"declarationDir": "./dist/types",
1616
"outDir": "dist/cjs"
1717
},
1818
"typedocOptions": {

clients/client-apigatewaymanagementapi/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/build/
33
/coverage/
44
/docs/
5-
/types/
65
/dist/
76
*.tsbuildinfo
87
*.tgz

clients/client-apigatewaymanagementapi/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"build:cjs": "tsc -p tsconfig.json",
1414
"build:es": "tsc -p tsconfig.es.json",
1515
"build": "yarn build:cjs && yarn build:es",
16-
"postbuild": "downlevel-dts types types/ts3.4"
16+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
1717
},
1818
"main": "./dist/cjs/index.js",
19-
"types": "./types/index.d.ts",
19+
"types": "./dist/types/index.d.ts",
2020
"module": "./dist/es/index.js",
2121
"browser": {
2222
"./runtimeConfig": "./runtimeConfig.browser"

clients/client-apigatewaymanagementapi/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"incremental": true,
1313
"resolveJsonModule": true,
1414
"esModuleInterop": true,
15-
"declarationDir": "./types",
15+
"declarationDir": "./dist/types",
1616
"outDir": "dist/cjs"
1717
},
1818
"typedocOptions": {

clients/client-apigatewayv2/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/build/
33
/coverage/
44
/docs/
5-
/types/
65
/dist/
76
*.tsbuildinfo
87
*.tgz

clients/client-apigatewayv2/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"build:cjs": "tsc -p tsconfig.json",
1414
"build:es": "tsc -p tsconfig.es.json",
1515
"build": "yarn build:cjs && yarn build:es",
16-
"postbuild": "downlevel-dts types types/ts3.4"
16+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
1717
},
1818
"main": "./dist/cjs/index.js",
19-
"types": "./types/index.d.ts",
19+
"types": "./dist/types/index.d.ts",
2020
"module": "./dist/es/index.js",
2121
"browser": {
2222
"./runtimeConfig": "./runtimeConfig.browser"

clients/client-apigatewayv2/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"incremental": true,
1313
"resolveJsonModule": true,
1414
"esModuleInterop": true,
15-
"declarationDir": "./types",
15+
"declarationDir": "./dist/types",
1616
"outDir": "dist/cjs"
1717
},
1818
"typedocOptions": {

clients/client-app-mesh/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/build/
33
/coverage/
44
/docs/
5-
/types/
65
/dist/
76
*.tsbuildinfo
87
*.tgz

clients/client-app-mesh/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"build:cjs": "tsc -p tsconfig.json",
1414
"build:es": "tsc -p tsconfig.es.json",
1515
"build": "yarn build:cjs && yarn build:es",
16-
"postbuild": "downlevel-dts types types/ts3.4"
16+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
1717
},
1818
"main": "./dist/cjs/index.js",
19-
"types": "./types/index.d.ts",
19+
"types": "./dist/types/index.d.ts",
2020
"module": "./dist/es/index.js",
2121
"browser": {
2222
"./runtimeConfig": "./runtimeConfig.browser"

clients/client-app-mesh/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"incremental": true,
1313
"resolveJsonModule": true,
1414
"esModuleInterop": true,
15-
"declarationDir": "./types",
15+
"declarationDir": "./dist/types",
1616
"outDir": "dist/cjs"
1717
},
1818
"typedocOptions": {

clients/client-appconfig/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/build/
33
/coverage/
44
/docs/
5-
/types/
65
/dist/
76
*.tsbuildinfo
87
*.tgz

clients/client-appconfig/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"build:cjs": "tsc -p tsconfig.json",
1414
"build:es": "tsc -p tsconfig.es.json",
1515
"build": "yarn build:cjs && yarn build:es",
16-
"postbuild": "downlevel-dts types types/ts3.4"
16+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
1717
},
1818
"main": "./dist/cjs/index.js",
19-
"types": "./types/index.d.ts",
19+
"types": "./dist/types/index.d.ts",
2020
"module": "./dist/es/index.js",
2121
"browser": {
2222
"./runtimeConfig": "./runtimeConfig.browser"

clients/client-appconfig/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"incremental": true,
1313
"resolveJsonModule": true,
1414
"esModuleInterop": true,
15-
"declarationDir": "./types",
15+
"declarationDir": "./dist/types",
1616
"outDir": "dist/cjs"
1717
},
1818
"typedocOptions": {

clients/client-appflow/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/build/
33
/coverage/
44
/docs/
5-
/types/
65
/dist/
76
*.tsbuildinfo
87
*.tgz

clients/client-appflow/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"build:cjs": "tsc -p tsconfig.json",
1414
"build:es": "tsc -p tsconfig.es.json",
1515
"build": "yarn build:cjs && yarn build:es",
16-
"postbuild": "downlevel-dts types types/ts3.4"
16+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
1717
},
1818
"main": "./dist/cjs/index.js",
19-
"types": "./types/index.d.ts",
19+
"types": "./dist/types/index.d.ts",
2020
"module": "./dist/es/index.js",
2121
"browser": {
2222
"./runtimeConfig": "./runtimeConfig.browser"

clients/client-appflow/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"incremental": true,
1313
"resolveJsonModule": true,
1414
"esModuleInterop": true,
15-
"declarationDir": "./types",
15+
"declarationDir": "./dist/types",
1616
"outDir": "dist/cjs"
1717
},
1818
"typedocOptions": {

clients/client-appintegrations/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/build/
33
/coverage/
44
/docs/
5-
/types/
65
/dist/
76
*.tsbuildinfo
87
*.tgz

clients/client-appintegrations/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"build:cjs": "tsc -p tsconfig.json",
1414
"build:es": "tsc -p tsconfig.es.json",
1515
"build": "yarn build:cjs && yarn build:es",
16-
"postbuild": "downlevel-dts types types/ts3.4"
16+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4"
1717
},
1818
"main": "./dist/cjs/index.js",
19-
"types": "./types/index.d.ts",
19+
"types": "./dist/types/index.d.ts",
2020
"module": "./dist/es/index.js",
2121
"browser": {
2222
"./runtimeConfig": "./runtimeConfig.browser"

clients/client-appintegrations/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"incremental": true,
1313
"resolveJsonModule": true,
1414
"esModuleInterop": true,
15-
"declarationDir": "./types",
15+
"declarationDir": "./dist/types",
1616
"outDir": "dist/cjs"
1717
},
1818
"typedocOptions": {

0 commit comments

Comments
 (0)