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(non-clients): remove comments from transpiled JS files #2813

Merged
merged 10 commits into from
Sep 23, 2021
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ dist

/verdaccio/*
!/verdaccio/config.yaml

*.tsbuildinfo
3 changes: 2 additions & 1 deletion lib/lib-dynamodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"scripts": {
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"build:types": "tsc -p tsconfig.types.json",
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"test": "jest"
},
Expand Down
1 change: 0 additions & 1 deletion lib/lib-dynamodb/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"compilerOptions": {
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/cjs",
"baseUrl": "."
Expand Down
1 change: 0 additions & 1 deletion lib/lib-dynamodb/tsconfig.es.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"compilerOptions": {
"lib": ["es5", "es2015.collection", "dom"],
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/es",
"baseUrl": "."
Expand Down
9 changes: 9 additions & 0 deletions lib/lib-dynamodb/tsconfig.types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"rootDir": "./src",
"declarationDir": "./dist/types",
"baseUrl": "."
},
"extends": "../../tsconfig.types.json",
"include": ["src/"]
}
3 changes: 2 additions & 1 deletion lib/lib-storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"scripts": {
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"build:types": "tsc -p tsconfig.types.json",
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"test": "jest"
},
Expand Down
1 change: 0 additions & 1 deletion lib/lib-storage/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"compilerOptions": {
"lib": ["es5", "es2015.collection", "dom"],
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/cjs",
"baseUrl": "."
Expand Down
1 change: 0 additions & 1 deletion lib/lib-storage/tsconfig.es.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"compilerOptions": {
"lib": ["es5", "es2015.collection", "dom"],
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/es",
"baseUrl": "."
Expand Down
9 changes: 9 additions & 0 deletions lib/lib-storage/tsconfig.types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"rootDir": "./src",
"declarationDir": "./dist/types",
"baseUrl": "."
},
"extends": "../../tsconfig.types.json",
"include": ["src/"]
}
3 changes: 2 additions & 1 deletion packages/abort-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"scripts": {
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"build:types": "tsc -p tsconfig.types.json",
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"test": "jest"
},
Expand Down
1 change: 0 additions & 1 deletion packages/abort-controller/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"compilerOptions": {
"stripInternal": true,
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/cjs",
"baseUrl": "."
Expand Down
1 change: 0 additions & 1 deletion packages/abort-controller/tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"compilerOptions": {
"lib": ["es5", "es2015.collection"],
"stripInternal": true,
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/es",
"baseUrl": "."
Expand Down
9 changes: 9 additions & 0 deletions packages/abort-controller/tsconfig.types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"rootDir": "./src",
"declarationDir": "./dist/types",
"baseUrl": "."
},
"extends": "../../tsconfig.types.json",
"include": ["src/"]
}
3 changes: 2 additions & 1 deletion packages/body-checksum-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"build:types": "tsc -p tsconfig.types.json",
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"test": "jest"
},
Expand Down
1 change: 0 additions & 1 deletion packages/body-checksum-browser/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"compilerOptions": {
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/cjs",
"baseUrl": "."
Expand Down
1 change: 0 additions & 1 deletion packages/body-checksum-browser/tsconfig.es.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"compilerOptions": {
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/es",
"baseUrl": "."
Expand Down
9 changes: 9 additions & 0 deletions packages/body-checksum-browser/tsconfig.types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"rootDir": "./src",
"declarationDir": "./dist/types",
"baseUrl": "."
},
"extends": "../../tsconfig.types.json",
"include": ["src/"]
}
3 changes: 2 additions & 1 deletion packages/body-checksum-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"build:types": "tsc -p tsconfig.types.json",
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"test": "jest"
},
Expand Down
1 change: 0 additions & 1 deletion packages/body-checksum-node/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"compilerOptions": {
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/cjs",
"baseUrl": "."
Expand Down
1 change: 0 additions & 1 deletion packages/body-checksum-node/tsconfig.es.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"compilerOptions": {
"lib": ["es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/es",
"baseUrl": "."
Expand Down
9 changes: 9 additions & 0 deletions packages/body-checksum-node/tsconfig.types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"rootDir": "./src",
"declarationDir": "./dist/types",
"baseUrl": "."
},
"extends": "../../tsconfig.types.json",
"include": ["src/"]
}
3 changes: 2 additions & 1 deletion packages/chunked-blob-reader-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"build:types": "tsc -p tsconfig.types.json",
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"test": "jest"
},
Expand Down
1 change: 0 additions & 1 deletion packages/chunked-blob-reader-native/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"compilerOptions": {
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/cjs",
"baseUrl": "."
Expand Down
1 change: 0 additions & 1 deletion packages/chunked-blob-reader-native/tsconfig.es.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"compilerOptions": {
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/es",
"baseUrl": "."
Expand Down
9 changes: 9 additions & 0 deletions packages/chunked-blob-reader-native/tsconfig.types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"rootDir": "./src",
"declarationDir": "./dist/types",
"baseUrl": "."
},
"extends": "../../tsconfig.types.json",
"include": ["src/"]
}
3 changes: 2 additions & 1 deletion packages/chunked-blob-reader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"build:types": "tsc -p tsconfig.types.json",
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"test": "jest"
},
Expand Down
1 change: 0 additions & 1 deletion packages/chunked-blob-reader/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"compilerOptions": {
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/cjs",
"baseUrl": "."
Expand Down
1 change: 0 additions & 1 deletion packages/chunked-blob-reader/tsconfig.es.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"compilerOptions": {
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/es",
"baseUrl": "."
Expand Down
9 changes: 9 additions & 0 deletions packages/chunked-blob-reader/tsconfig.types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"rootDir": "./src",
"declarationDir": "./dist/types",
"baseUrl": "."
},
"extends": "../../tsconfig.types.json",
"include": ["src/"]
}
3 changes: 2 additions & 1 deletion packages/chunked-stream-reader-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"build:types": "tsc -p tsconfig.types.json",
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"test": "jest"
},
Expand Down
1 change: 0 additions & 1 deletion packages/chunked-stream-reader-node/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"compilerOptions": {
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/cjs",
"baseUrl": "."
Expand Down
1 change: 0 additions & 1 deletion packages/chunked-stream-reader-node/tsconfig.es.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"compilerOptions": {
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/es",
"baseUrl": "."
Expand Down
9 changes: 9 additions & 0 deletions packages/chunked-stream-reader-node/tsconfig.types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"rootDir": "./src",
"declarationDir": "./dist/types",
"baseUrl": "."
},
"extends": "../../tsconfig.types.json",
"include": ["src/"]
}
3 changes: 2 additions & 1 deletion packages/client-documentation-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"build:types": "tsc -p tsconfig.types.json",
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"test": "exit 0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"compilerOptions": {
"strict": false,
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/cjs",
"experimentalDecorators": true,
Expand Down
1 change: 0 additions & 1 deletion packages/client-documentation-generator/tsconfig.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"compilerOptions": {
"strict": false,
"lib": ["es2015"],
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/es",
"experimentalDecorators": true,
Expand Down
10 changes: 10 additions & 0 deletions packages/client-documentation-generator/tsconfig.types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"compilerOptions": {
"strict": false,
"rootDir": "./src",
"declarationDir": "./dist/types",
"baseUrl": "."
},
"extends": "../../tsconfig.types.json",
"include": ["src/"]
}
3 changes: 2 additions & 1 deletion packages/config-resolver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"build:types": "tsc -p tsconfig.types.json",
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"test": "jest"
},
Expand Down
1 change: 0 additions & 1 deletion packages/config-resolver/tsconfig.cjs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"compilerOptions": {
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/cjs",
"baseUrl": "."
Expand Down
1 change: 0 additions & 1 deletion packages/config-resolver/tsconfig.es.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"compilerOptions": {
"lib": ["es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/es",
"baseUrl": "."
Expand Down
9 changes: 9 additions & 0 deletions packages/config-resolver/tsconfig.types.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"rootDir": "./src",
"declarationDir": "./dist/types",
"baseUrl": "."
},
"extends": "../../tsconfig.types.json",
"include": ["src/"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"build:types": "tsc -p tsconfig.types.json",
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
"test": "exit 0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"compilerOptions": {
"strict": false,
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/cjs",
"experimentalDecorators": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"compilerOptions": {
"strict": false,
"lib": ["es2015"],
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/es",
"experimentalDecorators": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"compilerOptions": {
"strict": false,
"rootDir": "./src",
"declarationDir": "./dist/types",
"baseUrl": "."
},
"extends": "../../tsconfig.types.json",
"include": ["src/"]
}
Loading