Skip to content

Commit 0b6d77e

Browse files
authored
chore: move types from types/ folder to dist/types (#2175)
1 parent 297636d commit 0b6d77e

File tree

109 files changed

+144
-145
lines changed

Some content is hidden

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

109 files changed

+144
-145
lines changed

packages/abort-controller/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"description": "A simple abort controller library",
55
"main": "./dist/cjs/index.js",
66
"module": "./dist/es/index.js",
7-
"types": "./types/index.d.ts",
7+
"types": "./dist/types/index.d.ts",
88
"scripts": {
99
"prepublishOnly": "yarn build:cjs && yarn build:es",
1010
"build:cjs": "tsc -p tsconfig.cjs.json",
1111
"build:es": "tsc -p tsconfig.es.json",
1212
"build": "yarn build:es && yarn build:cjs",
13-
"postbuild": "downlevel-dts types types/ts3.4",
13+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4",
1414
"test": "jest"
1515
},
1616
"author": {

packages/abort-controller/tsconfig.cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"stripInternal": true,
4-
"declarationDir": "./types",
4+
"declarationDir": "./dist/types",
55
"rootDir": "./src",
66
"outDir": "./dist/cjs",
77
"baseUrl": "."

packages/abort-controller/tsconfig.es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"lib": ["es5", "es2015.collection"],
44
"stripInternal": true,
5-
"declarationDir": "./types",
5+
"declarationDir": "./dist/types",
66
"rootDir": "./src",
77
"outDir": "./dist/es",
88
"baseUrl": "."

packages/chunked-blob-reader-native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"build:cjs": "tsc -p tsconfig.cjs.json",
77
"build:es": "tsc -p tsconfig.es.json",
88
"build": "yarn build:es && yarn build:cjs",
9-
"postbuild": "downlevel-dts types types/ts3.4",
9+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4",
1010
"test": "jest"
1111
},
1212
"main": "./dist/cjs/index.js",
1313
"module": "./dist/es/index.js",
14-
"types": "./types/index.d.ts",
14+
"types": "./dist/types/index.d.ts",
1515
"author": {
1616
"name": "AWS SDK for JavaScript Team",
1717
"url": "https://aws.amazon.com/javascript/"

packages/chunked-blob-reader-native/tsconfig.cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./types",
3+
"declarationDir": "./dist/types",
44
"rootDir": "./src",
55
"outDir": "./dist/cjs",
66
"baseUrl": "."

packages/chunked-blob-reader-native/tsconfig.es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
4-
"declarationDir": "./types",
4+
"declarationDir": "./dist/types",
55
"rootDir": "./src",
66
"outDir": "./dist/es",
77
"baseUrl": "."

packages/chunked-blob-reader/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"build:cjs": "tsc -p tsconfig.cjs.json",
77
"build:es": "tsc -p tsconfig.es.json",
88
"build": "yarn build:es && yarn build:cjs",
9-
"postbuild": "downlevel-dts types types/ts3.4",
9+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4",
1010
"test": "jest"
1111
},
1212
"main": "./dist/cjs/index.js",
1313
"module": "./dist/es/index.js",
14-
"types": "./types/index.d.ts",
14+
"types": "./dist/types/index.d.ts",
1515
"author": {
1616
"name": "AWS SDK for JavaScript Team",
1717
"url": "https://aws.amazon.com/javascript/"

packages/chunked-blob-reader/tsconfig.cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./types",
3+
"declarationDir": "./dist/types",
44
"rootDir": "./src",
55
"outDir": "./dist/cjs",
66
"baseUrl": "."

packages/chunked-blob-reader/tsconfig.es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
4-
"declarationDir": "./types",
4+
"declarationDir": "./dist/types",
55
"rootDir": "./src",
66
"outDir": "./dist/es",
77
"baseUrl": "."

packages/config-resolver/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"build:cjs": "tsc -p tsconfig.cjs.json",
77
"build:es": "tsc -p tsconfig.es.json",
88
"build": "yarn build:es && yarn build:cjs",
9-
"postbuild": "downlevel-dts types types/ts3.4",
9+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4",
1010
"test": "jest"
1111
},
1212
"main": "./dist/cjs/index.js",
1313
"module": "./dist/es/index.js",
14-
"types": "./types/index.d.ts",
14+
"types": "./dist/types/index.d.ts",
1515
"author": {
1616
"name": "AWS SDK for JavaScript Team",
1717
"url": "https://aws.amazon.com/javascript/"

packages/config-resolver/tsconfig.cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./types",
3+
"declarationDir": "./dist/types",
44
"rootDir": "./src",
55
"outDir": "./dist/cjs",
66
"baseUrl": "."

packages/config-resolver/tsconfig.es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"lib": ["es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
4-
"declarationDir": "./types",
4+
"declarationDir": "./dist/types",
55
"rootDir": "./src",
66
"outDir": "./dist/es",
77
"baseUrl": "."

packages/credential-provider-imds/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"build:cjs": "tsc -p tsconfig.cjs.json",
1010
"build:es": "tsc -p tsconfig.es.json",
1111
"build": "yarn build:es && yarn build:cjs",
12-
"postbuild": "downlevel-dts types types/ts3.4",
12+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4",
1313
"test": "jest"
1414
},
1515
"keywords": [
@@ -33,7 +33,7 @@
3333
"nock": "^13.0.2",
3434
"typescript": "~4.1.2"
3535
},
36-
"types": "./types/index.d.ts",
36+
"types": "./dist/types/index.d.ts",
3737
"engines": {
3838
"node": ">= 10.0.0"
3939
},

packages/credential-provider-imds/tsconfig.cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./types",
3+
"declarationDir": "./dist/types",
44
"rootDir": "./src",
55
"outDir": "./dist/cjs",
66
"baseUrl": "."

packages/credential-provider-imds/tsconfig.es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"lib": ["es5", "es2015.promise", "es2015.collection"],
4-
"declarationDir": "./types",
4+
"declarationDir": "./dist/types",
55
"rootDir": "./src",
66
"outDir": "./dist/es",
77
"baseUrl": "."

packages/eventstream-serde-browser/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"build:cjs": "tsc -p tsconfig.cjs.json",
77
"build:es": "tsc -p tsconfig.es.json",
88
"build": "yarn build:es && yarn build:cjs",
9-
"postbuild": "downlevel-dts types types/ts3.4",
9+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4",
1010
"test": "jest"
1111
},
1212
"main": "./dist/cjs/index.js",
1313
"module": "./dist/es/index.js",
14-
"types": "./types/index.d.ts",
14+
"types": "./dist/types/index.d.ts",
1515
"author": {
1616
"name": "AWS SDK for JavaScript Team",
1717
"url": "https://aws.amazon.com/javascript/"

packages/eventstream-serde-browser/tsconfig.cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./types",
3+
"declarationDir": "./dist/types",
44
"rootDir": "./src",
55
"outDir": "./dist/cjs",
66
"baseUrl": "."

packages/eventstream-serde-browser/tsconfig.es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"lib": ["es2018.asynciterable", "DOM"],
4-
"declarationDir": "./types",
4+
"declarationDir": "./dist/types",
55
"rootDir": "./src",
66
"outDir": "./dist/es",
77
"baseUrl": "."

packages/eventstream-serde-config-resolver/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"build:cjs": "tsc -p tsconfig.cjs.json",
77
"build:es": "tsc -p tsconfig.es.json",
88
"build": "yarn build:es && yarn build:cjs",
9-
"postbuild": "downlevel-dts types types/ts3.4",
9+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4",
1010
"test": "jest"
1111
},
1212
"main": "./dist/cjs/index.js",
1313
"module": "./dist/es/index.js",
14-
"types": "./types/index.d.ts",
14+
"types": "./dist/types/index.d.ts",
1515
"author": {
1616
"name": "AWS SDK for JavaScript Team",
1717
"url": "https://aws.amazon.com/javascript/"

packages/eventstream-serde-config-resolver/tsconfig.cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./types",
3+
"declarationDir": "./dist/types",
44
"rootDir": "./src",
55
"outDir": "./dist/cjs",
66
"baseUrl": "."

packages/eventstream-serde-config-resolver/tsconfig.es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"lib": ["es2018.asynciterable"],
4-
"declarationDir": "./types",
4+
"declarationDir": "./dist/types",
55
"rootDir": "./src",
66
"outDir": "./dist/es",
77
"baseUrl": "."

packages/eventstream-serde-node/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"build:cjs": "tsc -p tsconfig.cjs.json",
77
"build:es": "tsc -p tsconfig.es.json",
88
"build": "yarn build:es && yarn build:cjs",
9-
"postbuild": "downlevel-dts types types/ts3.4",
9+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4",
1010
"test": "jest"
1111
},
1212
"main": "./dist/cjs/index.js",
1313
"module": "./dist/es/index.js",
14-
"types": "./types/index.d.ts",
14+
"types": "./dist/types/index.d.ts",
1515
"author": {
1616
"name": "AWS SDK for JavaScript Team",
1717
"url": "https://aws.amazon.com/javascript/"

packages/eventstream-serde-node/tsconfig.cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./types",
3+
"declarationDir": "./dist/types",
44
"rootDir": "./src",
55
"outDir": "./dist/cjs",
66
"baseUrl": "."

packages/eventstream-serde-node/tsconfig.es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"lib": ["es2018.asynciterable"],
4-
"declarationDir": "./types",
4+
"declarationDir": "./dist/types",
55
"rootDir": "./src",
66
"outDir": "./dist/es",
77
"baseUrl": "."

packages/eventstream-serde-universal/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"build:cjs": "tsc -p tsconfig.cjs.json",
77
"build:es": "tsc -p tsconfig.es.json",
88
"build": "yarn build:es && yarn build:cjs",
9-
"postbuild": "downlevel-dts types types/ts3.4",
9+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4",
1010
"test": "jest"
1111
},
1212
"main": "./dist/cjs/index.js",
1313
"module": "./dist/es/index.js",
14-
"types": "./types/index.d.ts",
14+
"types": "./dist/types/index.d.ts",
1515
"author": {
1616
"name": "AWS SDK for JavaScript Team",
1717
"url": "https://aws.amazon.com/javascript/"

packages/eventstream-serde-universal/tsconfig.cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./types",
3+
"declarationDir": "./dist/types",
44
"rootDir": "./src",
55
"outDir": "./dist/cjs",
66
"baseUrl": "."

packages/eventstream-serde-universal/tsconfig.es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"lib": ["es2018.asynciterable"],
4-
"declarationDir": "./types",
4+
"declarationDir": "./dist/types",
55
"rootDir": "./src",
66
"outDir": "./dist/es",
77
"baseUrl": "."

packages/fetch-http-handler/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build:cjs": "tsc -p tsconfig.cjs.json",
88
"build:es": "tsc -p tsconfig.es.json",
99
"build": "yarn build:es && yarn build:cjs",
10-
"postbuild": "downlevel-dts types types/ts3.4",
10+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4",
1111
"test": "jest --coverage && karma start karma.conf.js"
1212
},
1313
"author": {
@@ -17,7 +17,7 @@
1717
"license": "Apache-2.0",
1818
"main": "./dist/cjs/index.js",
1919
"module": "./dist/es/index.js",
20-
"types": "./types/index.d.ts",
20+
"types": "./dist/types/index.d.ts",
2121
"dependencies": {
2222
"@aws-sdk/protocol-http": "3.6.1",
2323
"@aws-sdk/querystring-builder": "3.6.1",

packages/fetch-http-handler/tsconfig.cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./types",
3+
"declarationDir": "./dist/types",
44
"rootDir": "./src",
55
"outDir": "./dist/cjs",
66
"baseUrl": "."

packages/fetch-http-handler/tsconfig.es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"lib": ["dom", "es5", "es2015.promise", "es2015.iterable"],
4-
"declarationDir": "./types",
4+
"declarationDir": "./dist/types",
55
"rootDir": "./src",
66
"outDir": "./dist/es",
77
"baseUrl": "."

packages/hash-blob-browser/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"build:cjs": "tsc -p tsconfig.cjs.json",
77
"build:es": "tsc -p tsconfig.es.json",
88
"build": "yarn build:es && yarn build:cjs",
9-
"postbuild": "downlevel-dts types types/ts3.4",
9+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4",
1010
"test": "karma start karma.conf.js"
1111
},
1212
"main": "./dist/cjs/index.js",
1313
"module": "./dist/es/index.js",
14-
"types": "./types/index.d.ts",
14+
"types": "./dist/types/index.d.ts",
1515
"author": {
1616
"name": "AWS SDK for JavaScript Team",
1717
"url": "https://aws.amazon.com/javascript/"

packages/hash-blob-browser/tsconfig.cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./types",
3+
"declarationDir": "./dist/types",
44
"rootDir": "./src",
55
"outDir": "./dist/cjs",
66
"baseUrl": "."

packages/hash-blob-browser/tsconfig.es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
4-
"declarationDir": "./types",
4+
"declarationDir": "./dist/types",
55
"rootDir": "./src",
66
"outDir": "./dist/es",
77
"baseUrl": "."

packages/hash-node/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"build:cjs": "tsc -p tsconfig.cjs.json",
77
"build:es": "tsc -p tsconfig.es.json",
88
"build": "yarn build:es && yarn build:cjs",
9-
"postbuild": "downlevel-dts types types/ts3.4",
9+
"postbuild": "downlevel-dts dist/types dist/types/ts3.4",
1010
"test": "jest"
1111
},
1212
"main": "./dist/cjs/index.js",
1313
"module": "./dist/es/index.js",
14-
"types": "./types/index.d.ts",
14+
"types": "./dist/types/index.d.ts",
1515
"author": {
1616
"name": "AWS SDK for JavaScript Team",
1717
"url": "https://aws.amazon.com/javascript/"

packages/hash-node/tsconfig.cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./types",
3+
"declarationDir": "./dist/types",
44
"rootDir": "./src",
55
"outDir": "./dist/cjs",
66
"baseUrl": "."

packages/hash-node/tsconfig.es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./types",
3+
"declarationDir": "./dist/types",
44
"rootDir": "./src",
55
"outDir": "./dist/es",
66
"baseUrl": "."

0 commit comments

Comments
 (0)