Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit 7bd68a4

Browse files
author
Amir Blum
authored
Merge pull request #6 from aspecto-io/unified-ts-config
build: base tsconfig which plugins extends
2 parents f3ab3e3 + f31da2c commit 7bd68a4

File tree

3 files changed

+22
-31
lines changed

3 files changed

+22
-31
lines changed
Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
11
{
2+
"extends": "../tsconfig.base.json",
23
"compilerOptions": {
3-
"target": "ES2017",
4-
"lib": ["ES2019", "DOM"],
5-
"module": "commonjs",
6-
"moduleResolution": "node",
7-
"strict": false,
8-
"declaration": true,
9-
"declarationMap": true,
10-
"sourceMap": true,
11-
"composite": true,
12-
"inlineSources": true,
13-
"types": ["node", "jest"],
14-
"allowSyntheticDefaultImports": true,
15-
"esModuleInterop": true,
164
"rootDir": ".",
17-
"outDir": "dist",
18-
"skipLibCheck": true
5+
"outDir": "dist"
196
},
207
"include": ["src/**/*.ts", "test/**/*.ts"]
218
}
Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
11
{
2+
"extends": "../tsconfig.base.json",
23
"compilerOptions": {
3-
"target": "ES2017",
4-
"lib": ["ES2019", "DOM"],
5-
"module": "commonjs",
6-
"moduleResolution": "node",
7-
"strict": false,
8-
"declaration": true,
9-
"declarationMap": true,
10-
"sourceMap": true,
11-
"composite": true,
12-
"inlineSources": true,
13-
"types": ["node", "jest"],
14-
"allowSyntheticDefaultImports": true,
15-
"esModuleInterop": true,
164
"rootDir": ".",
17-
"outDir": "dist",
18-
"skipLibCheck": true
5+
"outDir": "dist"
196
},
207
"include": ["src/**/*.ts", "test/**/*.ts"]
21-
}
8+
}

packages/tsconfig.base.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES2017",
4+
"lib": ["ES2019", "DOM"],
5+
"module": "commonjs",
6+
"moduleResolution": "node",
7+
"strict": false,
8+
"declaration": true,
9+
"declarationMap": true,
10+
"sourceMap": true,
11+
"composite": true,
12+
"inlineSources": true,
13+
"types": ["node", "jest"],
14+
"allowSyntheticDefaultImports": true,
15+
"esModuleInterop": true
16+
}
17+
}

0 commit comments

Comments
 (0)