Skip to content

Commit d10f77b

Browse files
committed
Get rid of old config extensions from npm
1 parent 12fdbc4 commit d10f77b

File tree

9 files changed

+91
-61
lines changed

9 files changed

+91
-61
lines changed

build/tsconfig.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
{
2-
"extends": "@ark120202/typescript-config/node/12.json",
32
"include": ["**/*"],
43
"compilerOptions": {
5-
"noEmit": true
4+
"moduleResolution": "node",
5+
"noEmit": true,
6+
7+
"target": "es2019",
8+
"lib": ["es2019", "es2020.bigint"],
9+
10+
"types": [],
11+
12+
"allowSyntheticDefaultImports": true,
13+
"esModuleInterop": true,
14+
15+
"strict": true,
16+
"noUnusedLocals": true,
17+
"noUnusedParameters": true
618
}
719
}

package-lock.json

Lines changed: 50 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,10 @@
3535
},
3636
"devDependencies": {
3737
"@ark120202/eslint-config": "^2.5.0",
38-
"@ark120202/typescript-config": "^2.2.0",
3938
"@moddota/dota-data": "^0.42.0",
4039
"@types/fs-extra": "^9.0.4",
4140
"@types/lodash": "^4.14.165",
42-
"@types/node": "^14.14.7",
41+
"@types/node": "^20.14.8",
4342
"@types/prettier": "^2.1.5",
4443
"@types/wordwrap": "^1.0.0",
4544
"dts-dom": "3.6.0",
Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
11
{
2-
"extends": "@ark120202/typescript-config/node/10.json",
32
"files": ["index.ts"],
43
"compilerOptions": {
4+
"moduleResolution": "node",
55
"composite": true,
66
"sourceMap": false,
7-
"declarationMap": false
7+
"declarationMap": false,
8+
9+
"target": "es2018",
10+
"lib": ["es2018"],
11+
12+
"types": ["@types/node"],
13+
14+
"allowSyntheticDefaultImports": true,
15+
"esModuleInterop": true,
16+
17+
"strict": true,
18+
"noUnusedLocals": true,
19+
"noUnusedParameters": true
820
}
921
}
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
2-
"extends": "@ark120202/typescript-config/base.json",
32
"files": ["index.d.ts"],
43
"compilerOptions": {
54
"noEmit": true,
6-
"lib": ["es2017"]
5+
"lib": ["es2017"],
6+
"types": [],
7+
8+
"strict": true
79
}
810
}

test/lua-normalized/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"extends": "@ark120202/typescript-config/base.json",
32
"include": ["**/*", "../utils.d.ts"],
43
"compilerOptions": {
54
"types": ["@moddota/dota-lua-types/normalized"],
65
"lib": ["esnext"],
7-
"noEmit": true
6+
"noEmit": true,
7+
"strict": true
88
}
99
}

test/lua/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"extends": "@ark120202/typescript-config/base.json",
32
"include": ["**/*", "../utils.d.ts"],
43
"compilerOptions": {
54
"types": ["@moddota/dota-lua-types"],
65
"lib": ["esnext"],
7-
"noEmit": true
6+
"noEmit": true,
7+
"strict": true
88
}
99
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"extends": "@ark120202/typescript-config/base.json",
32
"include": ["**/*", "../utils.d.ts"],
43
"compilerOptions": {
54
"types": ["@moddota/panorama-types/normalized"],
65
"lib": ["es2017"],
7-
"noEmit": true
6+
"noEmit": true,
7+
"strict": true
88
}
99
}

test/panorama/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"extends": "@ark120202/typescript-config/base.json",
32
"include": ["**/*", "../utils.d.ts"],
43
"compilerOptions": {
54
"types": ["@moddota/panorama-types"],
65
"lib": ["es2017"],
7-
"noEmit": true
6+
"noEmit": true,
7+
"strict": true
88
}
99
}

0 commit comments

Comments
 (0)