Skip to content

Commit e6fc7f3

Browse files
authored
feat(non-clients): remove comments from transpiled JS files (#2813)
1 parent 1cfbe28 commit e6fc7f3

File tree

414 files changed

+2231
-297
lines changed

Some content is hidden

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

414 files changed

+2231
-297
lines changed

Diff for: .gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@ dist
4141

4242
/verdaccio/*
4343
!/verdaccio/config.yaml
44+
45+
*.tsbuildinfo

Diff for: lib/lib-dynamodb/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"scripts": {
99
"build:cjs": "tsc -p tsconfig.cjs.json",
1010
"build:es": "tsc -p tsconfig.es.json",
11-
"build": "yarn build:es && yarn build:cjs",
11+
"build:types": "tsc -p tsconfig.types.json",
12+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
1213
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
1314
"test": "jest"
1415
},

Diff for: lib/lib-dynamodb/tsconfig.cjs.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./dist/types",
43
"rootDir": "./src",
54
"outDir": "./dist/cjs",
65
"baseUrl": "."

Diff for: lib/lib-dynamodb/tsconfig.es.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"compilerOptions": {
33
"lib": ["es5", "es2015.collection", "dom"],
4-
"declarationDir": "./dist/types",
54
"rootDir": "./src",
65
"outDir": "./dist/es",
76
"baseUrl": "."

Diff for: lib/lib-dynamodb/tsconfig.types.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"compilerOptions": {
3+
"rootDir": "./src",
4+
"declarationDir": "./dist/types",
5+
"baseUrl": "."
6+
},
7+
"extends": "../../tsconfig.types.json",
8+
"include": ["src/"]
9+
}

Diff for: lib/lib-storage/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"scripts": {
99
"build:cjs": "tsc -p tsconfig.cjs.json",
1010
"build:es": "tsc -p tsconfig.es.json",
11-
"build": "yarn build:es && yarn build:cjs",
11+
"build:types": "tsc -p tsconfig.types.json",
12+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
1213
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
1314
"test": "jest"
1415
},

Diff for: lib/lib-storage/tsconfig.cjs.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"compilerOptions": {
33
"lib": ["es5", "es2015.collection", "dom"],
4-
"declarationDir": "./dist/types",
54
"rootDir": "./src",
65
"outDir": "./dist/cjs",
76
"baseUrl": "."

Diff for: lib/lib-storage/tsconfig.es.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"compilerOptions": {
33
"lib": ["es5", "es2015.collection", "dom"],
4-
"declarationDir": "./dist/types",
54
"rootDir": "./src",
65
"outDir": "./dist/es",
76
"baseUrl": "."

Diff for: lib/lib-storage/tsconfig.types.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"compilerOptions": {
3+
"rootDir": "./src",
4+
"declarationDir": "./dist/types",
5+
"baseUrl": "."
6+
},
7+
"extends": "../../tsconfig.types.json",
8+
"include": ["src/"]
9+
}

Diff for: packages/abort-controller/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"scripts": {
99
"build:cjs": "tsc -p tsconfig.cjs.json",
1010
"build:es": "tsc -p tsconfig.es.json",
11-
"build": "yarn build:es && yarn build:cjs",
11+
"build:types": "tsc -p tsconfig.types.json",
12+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
1213
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
1314
"test": "jest"
1415
},

Diff for: packages/abort-controller/tsconfig.cjs.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"compilerOptions": {
33
"stripInternal": true,
4-
"declarationDir": "./dist/types",
54
"rootDir": "./src",
65
"outDir": "./dist/cjs",
76
"baseUrl": "."

Diff for: packages/abort-controller/tsconfig.es.json

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"compilerOptions": {
33
"lib": ["es5", "es2015.collection"],
44
"stripInternal": true,
5-
"declarationDir": "./dist/types",
65
"rootDir": "./src",
76
"outDir": "./dist/es",
87
"baseUrl": "."

Diff for: packages/abort-controller/tsconfig.types.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"compilerOptions": {
3+
"rootDir": "./src",
4+
"declarationDir": "./dist/types",
5+
"baseUrl": "."
6+
},
7+
"extends": "../../tsconfig.types.json",
8+
"include": ["src/"]
9+
}

Diff for: packages/body-checksum-browser/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"scripts": {
55
"build:cjs": "tsc -p tsconfig.cjs.json",
66
"build:es": "tsc -p tsconfig.es.json",
7-
"build": "yarn build:es && yarn build:cjs",
7+
"build:types": "tsc -p tsconfig.types.json",
8+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
89
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
910
"test": "jest"
1011
},

Diff for: packages/body-checksum-browser/tsconfig.cjs.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./dist/types",
43
"rootDir": "./src",
54
"outDir": "./dist/cjs",
65
"baseUrl": "."

Diff for: packages/body-checksum-browser/tsconfig.es.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"compilerOptions": {
33
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
4-
"declarationDir": "./dist/types",
54
"rootDir": "./src",
65
"outDir": "./dist/es",
76
"baseUrl": "."

Diff for: packages/body-checksum-browser/tsconfig.types.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"compilerOptions": {
3+
"rootDir": "./src",
4+
"declarationDir": "./dist/types",
5+
"baseUrl": "."
6+
},
7+
"extends": "../../tsconfig.types.json",
8+
"include": ["src/"]
9+
}

Diff for: packages/body-checksum-node/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"scripts": {
55
"build:cjs": "tsc -p tsconfig.cjs.json",
66
"build:es": "tsc -p tsconfig.es.json",
7-
"build": "yarn build:es && yarn build:cjs",
7+
"build:types": "tsc -p tsconfig.types.json",
8+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
89
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
910
"test": "jest"
1011
},

Diff for: packages/body-checksum-node/tsconfig.cjs.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./dist/types",
43
"rootDir": "./src",
54
"outDir": "./dist/cjs",
65
"baseUrl": "."

Diff for: packages/body-checksum-node/tsconfig.es.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"compilerOptions": {
33
"lib": ["es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
4-
"declarationDir": "./dist/types",
54
"rootDir": "./src",
65
"outDir": "./dist/es",
76
"baseUrl": "."

Diff for: packages/body-checksum-node/tsconfig.types.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"compilerOptions": {
3+
"rootDir": "./src",
4+
"declarationDir": "./dist/types",
5+
"baseUrl": "."
6+
},
7+
"extends": "../../tsconfig.types.json",
8+
"include": ["src/"]
9+
}

Diff for: packages/chunked-blob-reader-native/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"scripts": {
55
"build:cjs": "tsc -p tsconfig.cjs.json",
66
"build:es": "tsc -p tsconfig.es.json",
7-
"build": "yarn build:es && yarn build:cjs",
7+
"build:types": "tsc -p tsconfig.types.json",
8+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
89
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
910
"test": "jest"
1011
},

Diff for: packages/chunked-blob-reader-native/tsconfig.cjs.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./dist/types",
43
"rootDir": "./src",
54
"outDir": "./dist/cjs",
65
"baseUrl": "."

Diff for: packages/chunked-blob-reader-native/tsconfig.es.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"compilerOptions": {
33
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
4-
"declarationDir": "./dist/types",
54
"rootDir": "./src",
65
"outDir": "./dist/es",
76
"baseUrl": "."
+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"compilerOptions": {
3+
"rootDir": "./src",
4+
"declarationDir": "./dist/types",
5+
"baseUrl": "."
6+
},
7+
"extends": "../../tsconfig.types.json",
8+
"include": ["src/"]
9+
}

Diff for: packages/chunked-blob-reader/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"scripts": {
55
"build:cjs": "tsc -p tsconfig.cjs.json",
66
"build:es": "tsc -p tsconfig.es.json",
7-
"build": "yarn build:es && yarn build:cjs",
7+
"build:types": "tsc -p tsconfig.types.json",
8+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
89
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
910
"test": "jest"
1011
},

Diff for: packages/chunked-blob-reader/tsconfig.cjs.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./dist/types",
43
"rootDir": "./src",
54
"outDir": "./dist/cjs",
65
"baseUrl": "."

Diff for: packages/chunked-blob-reader/tsconfig.es.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"compilerOptions": {
33
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
4-
"declarationDir": "./dist/types",
54
"rootDir": "./src",
65
"outDir": "./dist/es",
76
"baseUrl": "."

Diff for: packages/chunked-blob-reader/tsconfig.types.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"compilerOptions": {
3+
"rootDir": "./src",
4+
"declarationDir": "./dist/types",
5+
"baseUrl": "."
6+
},
7+
"extends": "../../tsconfig.types.json",
8+
"include": ["src/"]
9+
}

Diff for: packages/chunked-stream-reader-node/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"scripts": {
55
"build:cjs": "tsc -p tsconfig.cjs.json",
66
"build:es": "tsc -p tsconfig.es.json",
7-
"build": "yarn build:es && yarn build:cjs",
7+
"build:types": "tsc -p tsconfig.types.json",
8+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
89
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
910
"test": "jest"
1011
},

Diff for: packages/chunked-stream-reader-node/tsconfig.cjs.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./dist/types",
43
"rootDir": "./src",
54
"outDir": "./dist/cjs",
65
"baseUrl": "."

Diff for: packages/chunked-stream-reader-node/tsconfig.es.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./dist/types",
43
"rootDir": "./src",
54
"outDir": "./dist/es",
65
"baseUrl": "."
+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"compilerOptions": {
3+
"rootDir": "./src",
4+
"declarationDir": "./dist/types",
5+
"baseUrl": "."
6+
},
7+
"extends": "../../tsconfig.types.json",
8+
"include": ["src/"]
9+
}

Diff for: packages/client-documentation-generator/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"scripts": {
55
"build:cjs": "tsc -p tsconfig.cjs.json",
66
"build:es": "tsc -p tsconfig.es.json",
7-
"build": "yarn build:es && yarn build:cjs",
7+
"build:types": "tsc -p tsconfig.types.json",
8+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
89
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
910
"test": "exit 0"
1011
},

Diff for: packages/client-documentation-generator/tsconfig.cjs.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"compilerOptions": {
33
"strict": false,
4-
"declarationDir": "./dist/types",
54
"rootDir": "./src",
65
"outDir": "./dist/cjs",
76
"experimentalDecorators": true,

Diff for: packages/client-documentation-generator/tsconfig.es.json

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"compilerOptions": {
33
"strict": false,
44
"lib": ["es2015"],
5-
"declarationDir": "./dist/types",
65
"rootDir": "./src",
76
"outDir": "./dist/es",
87
"experimentalDecorators": true,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"compilerOptions": {
3+
"strict": false,
4+
"rootDir": "./src",
5+
"declarationDir": "./dist/types",
6+
"baseUrl": "."
7+
},
8+
"extends": "../../tsconfig.types.json",
9+
"include": ["src/"]
10+
}

Diff for: packages/config-resolver/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"scripts": {
55
"build:cjs": "tsc -p tsconfig.cjs.json",
66
"build:es": "tsc -p tsconfig.es.json",
7-
"build": "yarn build:es && yarn build:cjs",
7+
"build:types": "tsc -p tsconfig.types.json",
8+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
89
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
910
"test": "jest"
1011
},

Diff for: packages/config-resolver/tsconfig.cjs.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"compilerOptions": {
3-
"declarationDir": "./dist/types",
43
"rootDir": "./src",
54
"outDir": "./dist/cjs",
65
"baseUrl": "."

Diff for: packages/config-resolver/tsconfig.es.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"compilerOptions": {
33
"lib": ["es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
4-
"declarationDir": "./dist/types",
54
"rootDir": "./src",
65
"outDir": "./dist/es",
76
"baseUrl": "."

Diff for: packages/config-resolver/tsconfig.types.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"compilerOptions": {
3+
"rootDir": "./src",
4+
"declarationDir": "./dist/types",
5+
"baseUrl": "."
6+
},
7+
"extends": "../../tsconfig.types.json",
8+
"include": ["src/"]
9+
}

Diff for: packages/core-packages-documentation-generator/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"scripts": {
55
"build:cjs": "tsc -p tsconfig.cjs.json",
66
"build:es": "tsc -p tsconfig.es.json",
7-
"build": "yarn build:es && yarn build:cjs",
7+
"build:types": "tsc -p tsconfig.types.json",
8+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
89
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
910
"test": "exit 0"
1011
},

Diff for: packages/core-packages-documentation-generator/tsconfig.cjs.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"compilerOptions": {
33
"strict": false,
4-
"declarationDir": "./dist/types",
54
"rootDir": "./src",
65
"outDir": "./dist/cjs",
76
"experimentalDecorators": true,

Diff for: packages/core-packages-documentation-generator/tsconfig.es.json

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"compilerOptions": {
33
"strict": false,
44
"lib": ["es2015"],
5-
"declarationDir": "./dist/types",
65
"rootDir": "./src",
76
"outDir": "./dist/es",
87
"experimentalDecorators": true,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"compilerOptions": {
3+
"strict": false,
4+
"rootDir": "./src",
5+
"declarationDir": "./dist/types",
6+
"baseUrl": "."
7+
},
8+
"extends": "../../tsconfig.types.json",
9+
"include": ["src/"]
10+
}

0 commit comments

Comments
 (0)