Skip to content

Commit 61746f4

Browse files
authored
Reusing tsconfig file across components (#17983)
* Reusing tsconfig file across components * Removing comment * Adjusting syntax in the base config file * pnpm * pnpm * Updating TS version to >= 5.5 * Reusing tsconfig base paths with configDir property * Fixed missing config file
1 parent 1f3a659 commit 61746f4

File tree

65 files changed

+124
-1288
lines changed

Some content is hidden

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

65 files changed

+124
-1288
lines changed

components/amplenote/tsconfig.json

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,3 @@
11
{
2-
"compilerOptions": {
3-
"lib": [
4-
"es2020"
5-
],
6-
"module": "ES2020",
7-
"target": "ES2020",
8-
"moduleResolution": "node",
9-
"listEmittedFiles": true, // Used as a part of the build task, since we need to pass emitted files to our post-build script
10-
"composite": true,
11-
"outDir": "dist",
12-
"allowSyntheticDefaultImports": true,
13-
},
14-
"allowJs": true,
15-
"include": [
16-
"app",
17-
"actions",
18-
"sources"
19-
],
20-
"exclude": [
21-
"dist",
22-
]
2+
"extends": "../../tsconfig.components.json"
233
}
Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
11
{
2-
"compilerOptions": {
3-
"lib": ["es2020"],
4-
"module": "ES2020",
5-
"target": "ES2020",
6-
"moduleResolution": "node",
7-
"listEmittedFiles": true, // Used as a part of the build task, since we need to pass emitted files to our post-build script
8-
"composite": true,
9-
"outDir": "dist",
10-
"allowSyntheticDefaultImports": true,
11-
},
12-
"allowJs": true,
13-
"include": [
14-
"app",
15-
"actions",
16-
"sources",
17-
"common",
18-
],
19-
"exclude": [
20-
"dist",
21-
]
22-
}
2+
"extends": "../../tsconfig.components.json"
3+
}

components/baserow/tsconfig.json

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,3 @@
11
{
2-
"compilerOptions": {
3-
"lib": [
4-
"es2020"
5-
],
6-
"module": "ES2020",
7-
"target": "ES2020",
8-
"moduleResolution": "node",
9-
"listEmittedFiles": true, // Used as a part of the build task, since we need to pass emitted files to our post-build script
10-
"composite": true,
11-
"outDir": "dist",
12-
"allowSyntheticDefaultImports": true,
13-
},
14-
"allowJs": true,
15-
"include": [
16-
"app",
17-
"actions",
18-
"sources",
19-
"common"
20-
],
21-
"exclude": [
22-
"dist",
23-
]
2+
"extends": "../../tsconfig.components.json"
243
}

components/beehiiv/tsconfig.json

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
11
{
2-
"compilerOptions": {
3-
"lib": ["es2020"],
4-
"module": "ES2020",
5-
"target": "ES2020",
6-
"moduleResolution": "node",
7-
"listEmittedFiles": true, // Used as a part of the build task, since we need to pass emitted files to our post-build script
8-
"composite": true,
9-
"outDir": "dist",
10-
"allowSyntheticDefaultImports": true,
11-
},
12-
"allowJs": true,
13-
"include": [
14-
"app",
15-
"actions",
16-
"sources"
17-
],
18-
"exclude": [
19-
"dist",
20-
]
21-
}
2+
"extends": "../../tsconfig.components.json"
3+
}
Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
11
{
2-
"compilerOptions": {
3-
"lib": ["es2020"],
4-
"module": "ES2020",
5-
"target": "ES2020",
6-
"moduleResolution": "node",
7-
"listEmittedFiles": true, // Used as a part of the build task, since we need to pass emitted files to our post-build script
8-
"composite": true,
9-
"outDir": "dist",
10-
"allowSyntheticDefaultImports": true,
11-
},
12-
"allowJs": true,
13-
"include": [
14-
"app",
15-
"actions",
16-
"sources",
17-
"common"
18-
],
19-
"exclude": [
20-
"dist",
21-
]
2+
"extends": "../../tsconfig.components.json"
223
}

components/clientary/tsconfig.json

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
11
{
2-
"compilerOptions": {
3-
"lib": ["es2020"],
4-
"module": "ES2020",
5-
"target": "ES2020",
6-
"moduleResolution": "node",
7-
"listEmittedFiles": true, // Used as a part of the build task, since we need to pass emitted files to our post-build script
8-
"composite": true,
9-
"outDir": "dist",
10-
"allowSyntheticDefaultImports": true,
11-
},
12-
"allowJs": true,
13-
"include": [
14-
"app",
15-
"actions",
16-
"sources",
17-
"common"
18-
],
19-
"exclude": [
20-
"dist",
21-
]
2+
"extends": "../../tsconfig.components.json"
223
}

components/cloudmersive/tsconfig.json

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,3 @@
11
{
2-
"compilerOptions": {
3-
"lib": [
4-
"es2020"
5-
],
6-
"module": "ES2020",
7-
"target": "ES2020",
8-
"moduleResolution": "node",
9-
"listEmittedFiles": true, // Used as a part of the build task, since we need to pass emitted files to our post-build script
10-
"composite": true,
11-
"outDir": "dist",
12-
"allowSyntheticDefaultImports": true,
13-
},
14-
"allowJs": true,
15-
"include": [
16-
"app",
17-
"actions",
18-
"sources",
19-
"common"
20-
],
21-
"exclude": [
22-
"dist",
23-
]
2+
"extends": "../../tsconfig.components.json"
243
}

components/coassemble/tsconfig.json

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,3 @@
11
{
2-
"compilerOptions": {
3-
"lib": [
4-
"es2020"
5-
],
6-
"module": "ES2020",
7-
"target": "ES2020",
8-
"moduleResolution": "node",
9-
"listEmittedFiles": true, // Used as a part of the build task, since we need to pass emitted files to our post-build script
10-
"composite": true,
11-
"outDir": "dist",
12-
"allowSyntheticDefaultImports": true,
13-
},
14-
"allowJs": true,
15-
"include": [
16-
"app",
17-
"actions",
18-
"sources"
19-
],
20-
"exclude": [
21-
"dist",
22-
]
2+
"extends": "../../tsconfig.components.json"
233
}

components/concord/tsconfig.json

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
11
{
2-
"compilerOptions": {
3-
"lib": ["es2020"],
4-
"module": "ES2020",
5-
"target": "ES2020",
6-
"moduleResolution": "node",
7-
"listEmittedFiles": true, // Used as a part of the build task, since we need to pass emitted files to our post-build script
8-
"composite": true,
9-
"outDir": "dist",
10-
"allowSyntheticDefaultImports": true,
11-
},
12-
"allowJs": true,
13-
"include": [
14-
"app",
15-
"actions",
16-
"sources",
17-
"common"
18-
],
19-
"exclude": [
20-
"dist",
21-
]
22-
}
2+
"extends": "../../tsconfig.components.json"
3+
}
Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
11
{
2-
"compilerOptions": {
3-
"lib": ["es2020"],
4-
"module": "ES2020",
5-
"target": "ES2020",
6-
"moduleResolution": "node",
7-
"listEmittedFiles": true, // Used as a part of the build task, since we need to pass emitted files to our post-build script
8-
"composite": true,
9-
"outDir": "dist",
10-
"allowSyntheticDefaultImports": true,
11-
},
12-
"allowJs": true,
13-
"include": [
14-
"app",
15-
"actions",
16-
"sources",
17-
"common"
18-
],
19-
"exclude": [
20-
"dist",
21-
]
22-
}
2+
"extends": "../../tsconfig.components.json"
3+
}

0 commit comments

Comments
 (0)