Skip to content
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

feat(clients): remove comments from transpiled JS files #2817

Merged
merged 4 commits into from
Sep 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
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions clients/client-accessanalyzer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"build:types": "tsc -p tsconfig.types.json"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
2 changes: 0 additions & 2 deletions clients/client-accessanalyzer/tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
"target": "es5",
"module": "esnext",
"moduleResolution": "node",
"declaration": false,
"declarationDir": null,
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
"outDir": "dist/es"
}
Expand Down
5 changes: 2 additions & 3 deletions clients/client-accessanalyzer/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"alwaysStrict": true,
"target": "ES2018",
"module": "commonjs",
"declaration": true,
"strict": true,
"sourceMap": true,
"downlevelIteration": true,
Expand All @@ -12,8 +11,8 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
"outDir": "dist/cjs",
"removeComments": true
},
"typedocOptions": {
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
Expand Down
8 changes: 8 additions & 0 deletions clients/client-accessanalyzer/tsconfig.types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "./tsconfig",
"compilerOptions": {
"removeComments": false,
"declaration": true,
"declarationDir": "dist/types"
}
}
5 changes: 3 additions & 2 deletions clients/client-acm-pca/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"build:types": "tsc -p tsconfig.types.json"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
2 changes: 0 additions & 2 deletions clients/client-acm-pca/tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
"target": "es5",
"module": "esnext",
"moduleResolution": "node",
"declaration": false,
"declarationDir": null,
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
"outDir": "dist/es"
}
Expand Down
5 changes: 2 additions & 3 deletions clients/client-acm-pca/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"alwaysStrict": true,
"target": "ES2018",
"module": "commonjs",
"declaration": true,
"strict": true,
"sourceMap": true,
"downlevelIteration": true,
Expand All @@ -12,8 +11,8 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
"outDir": "dist/cjs",
"removeComments": true
},
"typedocOptions": {
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
Expand Down
8 changes: 8 additions & 0 deletions clients/client-acm-pca/tsconfig.types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "./tsconfig",
"compilerOptions": {
"removeComments": false,
"declaration": true,
"declarationDir": "dist/types"
}
}
5 changes: 3 additions & 2 deletions clients/client-acm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"build:types": "tsc -p tsconfig.types.json"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
2 changes: 0 additions & 2 deletions clients/client-acm/tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
"target": "es5",
"module": "esnext",
"moduleResolution": "node",
"declaration": false,
"declarationDir": null,
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
"outDir": "dist/es"
}
Expand Down
5 changes: 2 additions & 3 deletions clients/client-acm/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"alwaysStrict": true,
"target": "ES2018",
"module": "commonjs",
"declaration": true,
"strict": true,
"sourceMap": true,
"downlevelIteration": true,
Expand All @@ -12,8 +11,8 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
"outDir": "dist/cjs",
"removeComments": true
},
"typedocOptions": {
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
Expand Down
8 changes: 8 additions & 0 deletions clients/client-acm/tsconfig.types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "./tsconfig",
"compilerOptions": {
"removeComments": false,
"declaration": true,
"declarationDir": "dist/types"
}
}
5 changes: 3 additions & 2 deletions clients/client-alexa-for-business/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"build:types": "tsc -p tsconfig.types.json"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
2 changes: 0 additions & 2 deletions clients/client-alexa-for-business/tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
"target": "es5",
"module": "esnext",
"moduleResolution": "node",
"declaration": false,
"declarationDir": null,
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
"outDir": "dist/es"
}
Expand Down
5 changes: 2 additions & 3 deletions clients/client-alexa-for-business/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"alwaysStrict": true,
"target": "ES2018",
"module": "commonjs",
"declaration": true,
"strict": true,
"sourceMap": true,
"downlevelIteration": true,
Expand All @@ -12,8 +11,8 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
"outDir": "dist/cjs",
"removeComments": true
},
"typedocOptions": {
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
Expand Down
8 changes: 8 additions & 0 deletions clients/client-alexa-for-business/tsconfig.types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "./tsconfig",
"compilerOptions": {
"removeComments": false,
"declaration": true,
"declarationDir": "dist/types"
}
}
5 changes: 3 additions & 2 deletions clients/client-amp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"test": "jest --coverage --passWithNoTests",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"build:types": "tsc -p tsconfig.types.json"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
2 changes: 0 additions & 2 deletions clients/client-amp/tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
"target": "es5",
"module": "esnext",
"moduleResolution": "node",
"declaration": false,
"declarationDir": null,
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
"outDir": "dist/es"
}
Expand Down
5 changes: 2 additions & 3 deletions clients/client-amp/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"alwaysStrict": true,
"target": "ES2018",
"module": "commonjs",
"declaration": true,
"strict": true,
"sourceMap": true,
"downlevelIteration": true,
Expand All @@ -12,8 +11,8 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "dist/types",
"outDir": "dist/cjs"
"outDir": "dist/cjs",
"removeComments": true
},
"typedocOptions": {
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
Expand Down
8 changes: 8 additions & 0 deletions clients/client-amp/tsconfig.types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "./tsconfig",
"compilerOptions": {
"removeComments": false,
"declaration": true,
"declarationDir": "dist/types"
}
}
5 changes: 3 additions & 2 deletions clients/client-amplify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"build:types": "tsc -p tsconfig.types.json"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
2 changes: 0 additions & 2 deletions clients/client-amplify/tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
"target": "es5",
"module": "esnext",
"moduleResolution": "node",
"declaration": false,
"declarationDir": null,
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
"outDir": "dist/es"
}
Expand Down
5 changes: 2 additions & 3 deletions clients/client-amplify/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"alwaysStrict": true,
"target": "ES2018",
"module": "commonjs",
"declaration": true,
"strict": true,
"sourceMap": true,
"downlevelIteration": true,
Expand All @@ -12,8 +11,8 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
"outDir": "dist/cjs",
"removeComments": true
},
"typedocOptions": {
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
Expand Down
8 changes: 8 additions & 0 deletions clients/client-amplify/tsconfig.types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "./tsconfig",
"compilerOptions": {
"removeComments": false,
"declaration": true,
"declarationDir": "dist/types"
}
}
5 changes: 3 additions & 2 deletions clients/client-amplifybackend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"test": "jest --coverage --passWithNoTests",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"build:types": "tsc -p tsconfig.types.json"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
2 changes: 0 additions & 2 deletions clients/client-amplifybackend/tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
"target": "es5",
"module": "esnext",
"moduleResolution": "node",
"declaration": false,
"declarationDir": null,
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
"outDir": "dist/es"
}
Expand Down
5 changes: 2 additions & 3 deletions clients/client-amplifybackend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"alwaysStrict": true,
"target": "ES2018",
"module": "commonjs",
"declaration": true,
"strict": true,
"sourceMap": true,
"downlevelIteration": true,
Expand All @@ -12,8 +11,8 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
"outDir": "dist/cjs",
"removeComments": true
},
"typedocOptions": {
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
Expand Down
8 changes: 8 additions & 0 deletions clients/client-amplifybackend/tsconfig.types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "./tsconfig",
"compilerOptions": {
"removeComments": false,
"declaration": true,
"declarationDir": "dist/types"
}
}
5 changes: 3 additions & 2 deletions clients/client-api-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"test": "exit 0",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"build:types": "tsc -p tsconfig.types.json"
},
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
2 changes: 0 additions & 2 deletions clients/client-api-gateway/tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
"target": "es5",
"module": "esnext",
"moduleResolution": "node",
"declaration": false,
"declarationDir": null,
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
"outDir": "dist/es"
}
Expand Down
5 changes: 2 additions & 3 deletions clients/client-api-gateway/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"alwaysStrict": true,
"target": "ES2018",
"module": "commonjs",
"declaration": true,
"strict": true,
"sourceMap": true,
"downlevelIteration": true,
Expand All @@ -12,8 +11,8 @@
"incremental": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"declarationDir": "./dist/types",
"outDir": "dist/cjs"
"outDir": "dist/cjs",
"removeComments": true
},
"typedocOptions": {
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
Expand Down
8 changes: 8 additions & 0 deletions clients/client-api-gateway/tsconfig.types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "./tsconfig",
"compilerOptions": {
"removeComments": false,
"declaration": true,
"declarationDir": "dist/types"
}
}
Loading