-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
86 lines (79 loc) · 2.16 KB
/
tsconfig.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"compilerOptions": {
// Classification follows https://www.typescriptlang.org/tsconfig
// Type Checking
"strict": true,
"exactOptionalPropertyTypes": false,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noPropertyAccessFromIndexSignature": false,
"noUncheckedIndexedAccess": false,
"useUnknownInCatchVariables": true,
// Modules
"module": "ESNext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"types": [],
// Emit
"declaration": true,
"declarationMap": true,
"sourceMap": true,
// skip type emit for @internal types
// "stripInternal": true,
// JavaScript Support
"allowJs": false,
"checkJs": false,
// Interop Constraints
"forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true,
"isolatedModules": true,
"verbatimModuleSyntax": true,
// Language and Environment
"lib": ["ESNext"],
"target": "ES2022",
"useDefineForClassFields": false,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
// Projects
"composite": true,
"incremental": true,
// Completeness
"skipLibCheck": true, // skip all type checks for .d.ts files,
"paths": {
"@plugxjs/core": ["./packages/core/src"],
"@plugxjs/core/*": ["./packages/core/src/*"],
"@plugxjs/idm": ["./packages/idm/src"],
"@plugxjs/idm/*": ["./packages/idm/src/*"],
"@plugxjs/vite-plugin": ["./packages/vite-plugin/src"],
"@plugxjs/vite-plugin/*": ["./packages/vite-plugin/src/*"]
}
},
"references": [
{
"path": "./packages/idm/tsconfig.node.json"
},
{
"path": "./packages/vite-plugin/tsconfig.node.json"
},
{
"path": "./packages/core/tsconfig.node.json"
},
{
"path": "./tsconfig.node.json"
},
{
"path": "./tests/integration/tsconfig.node.json"
},
{
"path": "./tests/unit/tsconfig.node.json"
}
],
"files": [],
"include": [],
"exclude": ["node_modules"]
}