Skip to content

Commit 01cb91c

Browse files
authored
Merge pull request #14 from PostCrafter/tsconfig-base
chore: use centralized tsconfig
2 parents 71d6c58 + a4e08e1 commit 01cb91c

File tree

6 files changed

+16
-37
lines changed

6 files changed

+16
-37
lines changed

generator/templates/_tsconfig.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
11
{
2-
"compilerOptions": {
3-
"target": "ES2015",
4-
"module": "commonjs",
5-
"declaration": true,
6-
"sourceMap": true,
7-
"strict": true,
8-
"experimentalDecorators": true
9-
}
2+
"extends": "../../tsconfig.base.json"
103
}

generator/tsconfig.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
{
2+
"extends": "../tsconfig.base.json",
23
"compilerOptions": {
3-
"target": "ES2015",
4-
"module": "commonjs",
54
"baseUrl": ".",
65
"paths": {
76
"is-scoped": ["./types/is-scoped"]
87
},
9-
"declaration": false,
10-
"strict": true,
11-
"experimentalDecorators": true
8+
"declaration": false
129
},
1310
"exclude": [
1411
"templates/"

src/is-invader/tsconfig.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
11
{
2-
"compilerOptions": {
3-
"target": "ES2015",
4-
"module": "commonjs",
5-
"declaration": true,
6-
"sourceMap": true,
7-
"strict": true,
8-
"experimentalDecorators": true
9-
}
2+
"extends": "../../tsconfig.base.json"
103
}

src/is-room-visible/tsconfig.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
11
{
2-
"compilerOptions": {
3-
"target": "ES2015",
4-
"module": "commonjs",
5-
"declaration": true,
6-
"sourceMap": true,
7-
"strict": true,
8-
"experimentalDecorators": true
9-
}
2+
"extends": "../../tsconfig.base.json"
103
}

src/is-source-keeper/tsconfig.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
11
{
2-
"compilerOptions": {
3-
"target": "ES2015",
4-
"module": "commonjs",
5-
"declaration": true,
6-
"sourceMap": true,
7-
"strict": true,
8-
"experimentalDecorators": true
9-
}
2+
"extends": "../../tsconfig.base.json"
103
}

tsconfig.base.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES2015",
4+
"module": "commonjs",
5+
"declaration": true,
6+
"sourceMap": true,
7+
"strict": true,
8+
"experimentalDecorators": true
9+
}
10+
}

0 commit comments

Comments
 (0)