-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
tsconfig.base.json
64 lines (64 loc) · 1.99 KB
/
tsconfig.base.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"extends": "./node_modules/@tsconfig/strictest/tsconfig.json",
"compilerOptions": {
"module": "Node16",
"lib": [
"ES2023"
],
"target": "es2022",
// inline source maps stay better in sync with the source, which should aid with watchers.
//"sourceMap": true,
"inlineSourceMap": true,
"incremental": true,
"composite": true,
"declarationMap": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"noImplicitAny": true,
"useUnknownInCatchVariables": true,
// This is not desirable, as it's useful in generators.
"noImplicitReturns": false,
"noImplicitThis": true,
"outDir": "build/dist",
"resolveJsonModule": true,
"moduleResolution": "Node16",
"downlevelIteration": true,
"noErrorTruncation": true,
"forceConsistentCasingInFileNames": true,
//"preserveSymlinks": true
"types": [
"vitest/globals"
],
},
"watchOptions": {
// Use native file system events for files and directories
// This actually detect changes in parent directories ... not great!
// however it seems that the response is very fast on the non-related projects figuring out their files are unchanged...
"watchFile": "useFsEvents",
"watchDirectory": "useFsEvents",
// // Poll files for updates more frequently
// // when they're updated a lot.
"fallbackPolling": "dynamicPriority",
"excludeDirectories": [
"**/node_modules",
"**/dist",
"**/.build",
"**/.git",
"**/.data",
"**/.logs",
"**/.*",
],
"excludeFiles": [
"**/*.tmp",
"openapi.json",
"*.json"
]
},
"include": [],
"exclude": [
"**/node_modules",
"**/build",
"**/dist",
"**/.*"
]
}