Skip to content

Commit 12d867f

Browse files
chore(build): update build configs
1 parent 9996b68 commit 12d867f

File tree

4 files changed

+26
-44
lines changed

4 files changed

+26
-44
lines changed

Diff for: tsconfig.base.json

-29
This file was deleted.

Diff for: tsconfig.build.json

-5
This file was deleted.

Diff for: tsconfig.json

+24-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,27 @@
11
{
22
"compilerOptions": {
3-
"composite": true
3+
"rootDir": "./src",
4+
"outDir": "./dist",
5+
"baseUrl": ".",
6+
"downlevelIteration": true,
7+
"module": "ESNext",
8+
"moduleResolution": "node",
9+
"strict": true,
10+
"esModuleInterop": true,
11+
"sourceMap": true,
12+
"declaration": true,
13+
"declarationMap": true,
14+
"removeComments": true,
15+
"noImplicitAny": true,
16+
"noImplicitReturns": true,
17+
"noImplicitOverride": true,
18+
"noFallthroughCasesInSwitch": true,
19+
"noUnusedParameters": true,
20+
"noUnusedLocals": true,
21+
"forceConsistentCasingInFileNames": true,
22+
"importsNotUsedAsValues": "error",
23+
424
},
5-
"files": [],
6-
"include": [],
7-
"references": [
8-
{ "path": "./tsconfig.build.json" },
9-
{ "path": "./tsconfig.test.json" },
10-
]
11-
}
25+
"include": ["src/**/*"],
26+
"exclude": ["**/__tests__"]
27+
}

Diff for: tsconfig.test.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"extends": "./tsconfig.base.json",
2+
"extends": "./tsconfig.json",
33
"include": ["src/**/*"],
44
"compilerOptions": {
55
"noEmit": true,
66
"types": ["node", "jest"]
77
}
8-
}
8+
}

0 commit comments

Comments
 (0)