Skip to content

Commit ebd5122

Browse files
authored
chore(clients): use @tsconfig/recommended and add tsconfig.cjs.json (#3185)
1 parent c50a0ac commit ebd5122

File tree

916 files changed

+3971
-3361
lines changed

Some content is hidden

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

916 files changed

+3971
-3361
lines changed

Diff for: clients/client-accessanalyzer/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "3.46.0",
55
"scripts": {
66
"build": "yarn build:cjs && yarn build:es && yarn build:types",
7-
"build:cjs": "tsc -p tsconfig.json",
7+
"build:cjs": "tsc -p tsconfig.cjs.json",
88
"build:docs": "typedoc",
99
"build:es": "tsc -p tsconfig.es.json",
1010
"build:types": "tsc -p tsconfig.types.json",

Diff for: clients/client-accessanalyzer/tsconfig.cjs.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "./tsconfig",
3+
"compilerOptions": {
4+
"target": "ES2018",
5+
"module": "commonjs",
6+
"outDir": "dist-cjs"
7+
}
8+
}

Diff for: clients/client-accessanalyzer/tsconfig.json

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
{
2+
"extends": "@tsconfig/recommended/tsconfig.json",
23
"compilerOptions": {
3-
"alwaysStrict": true,
4-
"target": "ES2018",
5-
"module": "commonjs",
6-
"strict": true,
74
"downlevelIteration": true,
85
"importHelpers": true,
9-
"noEmitHelpers": true,
106
"incremental": true,
7+
"removeComments": true,
118
"resolveJsonModule": true,
12-
"esModuleInterop": true,
13-
"rootDir": "src",
14-
"outDir": "dist-cjs",
15-
"removeComments": true
9+
"rootDir": "src"
1610
},
17-
"exclude": ["test/**/*"]
11+
"exclude": ["test/"]
1812
}

Diff for: clients/client-account/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "3.46.0",
55
"scripts": {
66
"build": "yarn build:cjs && yarn build:es && yarn build:types",
7-
"build:cjs": "tsc -p tsconfig.json",
7+
"build:cjs": "tsc -p tsconfig.cjs.json",
88
"build:docs": "typedoc",
99
"build:es": "tsc -p tsconfig.es.json",
1010
"build:types": "tsc -p tsconfig.types.json",

Diff for: clients/client-account/tsconfig.cjs.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "./tsconfig",
3+
"compilerOptions": {
4+
"target": "ES2018",
5+
"module": "commonjs",
6+
"outDir": "dist-cjs"
7+
}
8+
}

Diff for: clients/client-account/tsconfig.json

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
{
2+
"extends": "@tsconfig/recommended/tsconfig.json",
23
"compilerOptions": {
3-
"rootDir": "./src",
4-
"alwaysStrict": true,
5-
"target": "ES2018",
6-
"module": "commonjs",
7-
"strict": true,
84
"downlevelIteration": true,
95
"importHelpers": true,
10-
"noEmitHelpers": true,
116
"incremental": true,
7+
"removeComments": true,
128
"resolveJsonModule": true,
13-
"esModuleInterop": true,
14-
"outDir": "dist-cjs",
15-
"removeComments": true
9+
"rootDir": "src"
1610
},
17-
"exclude": ["test/**/*"]
11+
"exclude": ["test/"]
1812
}

Diff for: clients/client-acm-pca/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "3.46.0",
55
"scripts": {
66
"build": "yarn build:cjs && yarn build:es && yarn build:types",
7-
"build:cjs": "tsc -p tsconfig.json",
7+
"build:cjs": "tsc -p tsconfig.cjs.json",
88
"build:docs": "typedoc",
99
"build:es": "tsc -p tsconfig.es.json",
1010
"build:types": "tsc -p tsconfig.types.json",

Diff for: clients/client-acm-pca/tsconfig.cjs.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "./tsconfig",
3+
"compilerOptions": {
4+
"target": "ES2018",
5+
"module": "commonjs",
6+
"outDir": "dist-cjs"
7+
}
8+
}

Diff for: clients/client-acm-pca/tsconfig.json

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
{
2+
"extends": "@tsconfig/recommended/tsconfig.json",
23
"compilerOptions": {
3-
"alwaysStrict": true,
4-
"target": "ES2018",
5-
"module": "commonjs",
6-
"strict": true,
74
"downlevelIteration": true,
85
"importHelpers": true,
9-
"noEmitHelpers": true,
106
"incremental": true,
7+
"removeComments": true,
118
"resolveJsonModule": true,
12-
"esModuleInterop": true,
13-
"rootDir": "src",
14-
"outDir": "dist-cjs",
15-
"removeComments": true
9+
"rootDir": "src"
1610
},
17-
"exclude": ["test/**/*"]
11+
"exclude": ["test/"]
1812
}

Diff for: clients/client-acm/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "3.46.0",
55
"scripts": {
66
"build": "yarn build:cjs && yarn build:es && yarn build:types",
7-
"build:cjs": "tsc -p tsconfig.json",
7+
"build:cjs": "tsc -p tsconfig.cjs.json",
88
"build:docs": "typedoc",
99
"build:es": "tsc -p tsconfig.es.json",
1010
"build:types": "tsc -p tsconfig.types.json",

Diff for: clients/client-acm/tsconfig.cjs.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "./tsconfig",
3+
"compilerOptions": {
4+
"target": "ES2018",
5+
"module": "commonjs",
6+
"outDir": "dist-cjs"
7+
}
8+
}

Diff for: clients/client-acm/tsconfig.json

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
{
2+
"extends": "@tsconfig/recommended/tsconfig.json",
23
"compilerOptions": {
3-
"alwaysStrict": true,
4-
"target": "ES2018",
5-
"module": "commonjs",
6-
"strict": true,
74
"downlevelIteration": true,
85
"importHelpers": true,
9-
"noEmitHelpers": true,
106
"incremental": true,
7+
"removeComments": true,
118
"resolveJsonModule": true,
12-
"esModuleInterop": true,
13-
"rootDir": "src",
14-
"outDir": "dist-cjs",
15-
"removeComments": true
9+
"rootDir": "src"
1610
},
17-
"exclude": ["test/**/*"]
11+
"exclude": ["test/"]
1812
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "3.46.0",
55
"scripts": {
66
"build": "yarn build:cjs && yarn build:es && yarn build:types",
7-
"build:cjs": "tsc -p tsconfig.json",
7+
"build:cjs": "tsc -p tsconfig.cjs.json",
88
"build:docs": "typedoc",
99
"build:es": "tsc -p tsconfig.es.json",
1010
"build:types": "tsc -p tsconfig.types.json",

Diff for: clients/client-alexa-for-business/tsconfig.cjs.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "./tsconfig",
3+
"compilerOptions": {
4+
"target": "ES2018",
5+
"module": "commonjs",
6+
"outDir": "dist-cjs"
7+
}
8+
}

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

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
{
2+
"extends": "@tsconfig/recommended/tsconfig.json",
23
"compilerOptions": {
3-
"alwaysStrict": true,
4-
"target": "ES2018",
5-
"module": "commonjs",
6-
"strict": true,
74
"downlevelIteration": true,
85
"importHelpers": true,
9-
"noEmitHelpers": true,
106
"incremental": true,
7+
"removeComments": true,
118
"resolveJsonModule": true,
12-
"esModuleInterop": true,
13-
"rootDir": "src",
14-
"outDir": "dist-cjs",
15-
"removeComments": true
9+
"rootDir": "src"
1610
},
17-
"exclude": ["test/**/*"]
11+
"exclude": ["test/"]
1812
}

Diff for: clients/client-amp/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "3.46.0",
55
"scripts": {
66
"build": "yarn build:cjs && yarn build:es && yarn build:types",
7-
"build:cjs": "tsc -p tsconfig.json",
7+
"build:cjs": "tsc -p tsconfig.cjs.json",
88
"build:docs": "typedoc",
99
"build:es": "tsc -p tsconfig.es.json",
1010
"build:types": "tsc -p tsconfig.types.json",

Diff for: clients/client-amp/tsconfig.cjs.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "./tsconfig",
3+
"compilerOptions": {
4+
"target": "ES2018",
5+
"module": "commonjs",
6+
"outDir": "dist-cjs"
7+
}
8+
}

Diff for: clients/client-amp/tsconfig.json

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
{
2+
"extends": "@tsconfig/recommended/tsconfig.json",
23
"compilerOptions": {
3-
"alwaysStrict": true,
4-
"target": "ES2018",
5-
"module": "commonjs",
6-
"strict": true,
74
"downlevelIteration": true,
85
"importHelpers": true,
9-
"noEmitHelpers": true,
106
"incremental": true,
7+
"removeComments": true,
118
"resolveJsonModule": true,
12-
"esModuleInterop": true,
13-
"rootDir": "src",
14-
"outDir": "dist-cjs",
15-
"removeComments": true
9+
"rootDir": "src"
1610
},
17-
"exclude": ["test/**/*"]
11+
"exclude": ["test/"]
1812
}

Diff for: clients/client-amplify/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "3.46.0",
55
"scripts": {
66
"build": "yarn build:cjs && yarn build:es && yarn build:types",
7-
"build:cjs": "tsc -p tsconfig.json",
7+
"build:cjs": "tsc -p tsconfig.cjs.json",
88
"build:docs": "typedoc",
99
"build:es": "tsc -p tsconfig.es.json",
1010
"build:types": "tsc -p tsconfig.types.json",

Diff for: clients/client-amplify/tsconfig.cjs.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "./tsconfig",
3+
"compilerOptions": {
4+
"target": "ES2018",
5+
"module": "commonjs",
6+
"outDir": "dist-cjs"
7+
}
8+
}

Diff for: clients/client-amplify/tsconfig.json

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
{
2+
"extends": "@tsconfig/recommended/tsconfig.json",
23
"compilerOptions": {
3-
"alwaysStrict": true,
4-
"target": "ES2018",
5-
"module": "commonjs",
6-
"strict": true,
74
"downlevelIteration": true,
85
"importHelpers": true,
9-
"noEmitHelpers": true,
106
"incremental": true,
7+
"removeComments": true,
118
"resolveJsonModule": true,
12-
"esModuleInterop": true,
13-
"rootDir": "src",
14-
"outDir": "dist-cjs",
15-
"removeComments": true
9+
"rootDir": "src"
1610
},
17-
"exclude": ["test/**/*"]
11+
"exclude": ["test/"]
1812
}

Diff for: clients/client-amplifybackend/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "3.46.0",
55
"scripts": {
66
"build": "yarn build:cjs && yarn build:es && yarn build:types",
7-
"build:cjs": "tsc -p tsconfig.json",
7+
"build:cjs": "tsc -p tsconfig.cjs.json",
88
"build:docs": "typedoc",
99
"build:es": "tsc -p tsconfig.es.json",
1010
"build:types": "tsc -p tsconfig.types.json",

Diff for: clients/client-amplifybackend/tsconfig.cjs.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "./tsconfig",
3+
"compilerOptions": {
4+
"target": "ES2018",
5+
"module": "commonjs",
6+
"outDir": "dist-cjs"
7+
}
8+
}

Diff for: clients/client-amplifybackend/tsconfig.json

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
{
2+
"extends": "@tsconfig/recommended/tsconfig.json",
23
"compilerOptions": {
3-
"alwaysStrict": true,
4-
"target": "ES2018",
5-
"module": "commonjs",
6-
"strict": true,
74
"downlevelIteration": true,
85
"importHelpers": true,
9-
"noEmitHelpers": true,
106
"incremental": true,
7+
"removeComments": true,
118
"resolveJsonModule": true,
12-
"esModuleInterop": true,
13-
"rootDir": "src",
14-
"outDir": "dist-cjs",
15-
"removeComments": true
9+
"rootDir": "src"
1610
},
17-
"exclude": ["test/**/*"]
11+
"exclude": ["test/"]
1812
}

Diff for: clients/client-amplifyuibuilder/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "3.46.0",
55
"scripts": {
66
"build": "yarn build:cjs && yarn build:es && yarn build:types",
7-
"build:cjs": "tsc -p tsconfig.json",
7+
"build:cjs": "tsc -p tsconfig.cjs.json",
88
"build:docs": "typedoc",
99
"build:es": "tsc -p tsconfig.es.json",
1010
"build:types": "tsc -p tsconfig.types.json",

Diff for: clients/client-amplifyuibuilder/tsconfig.cjs.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "./tsconfig",
3+
"compilerOptions": {
4+
"target": "ES2018",
5+
"module": "commonjs",
6+
"outDir": "dist-cjs"
7+
}
8+
}

Diff for: clients/client-amplifyuibuilder/tsconfig.json

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
{
2+
"extends": "@tsconfig/recommended/tsconfig.json",
23
"compilerOptions": {
3-
"rootDir": "./src",
4-
"alwaysStrict": true,
5-
"target": "ES2018",
6-
"module": "commonjs",
7-
"strict": true,
84
"downlevelIteration": true,
95
"importHelpers": true,
10-
"noEmitHelpers": true,
116
"incremental": true,
7+
"removeComments": true,
128
"resolveJsonModule": true,
13-
"esModuleInterop": true,
14-
"outDir": "dist-cjs",
15-
"removeComments": true
9+
"rootDir": "src"
1610
},
17-
"exclude": ["test/**/*"]
11+
"exclude": ["test/"]
1812
}

Diff for: clients/client-api-gateway/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "3.46.0",
55
"scripts": {
66
"build": "yarn build:cjs && yarn build:es && yarn build:types",
7-
"build:cjs": "tsc -p tsconfig.json",
7+
"build:cjs": "tsc -p tsconfig.cjs.json",
88
"build:docs": "typedoc",
99
"build:es": "tsc -p tsconfig.es.json",
1010
"build:types": "tsc -p tsconfig.types.json",

Diff for: clients/client-api-gateway/tsconfig.cjs.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "./tsconfig",
3+
"compilerOptions": {
4+
"target": "ES2018",
5+
"module": "commonjs",
6+
"outDir": "dist-cjs"
7+
}
8+
}

0 commit comments

Comments
 (0)