-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtsconfig.json
More file actions
55 lines (49 loc) · 1.44 KB
/
tsconfig.json
File metadata and controls
55 lines (49 loc) · 1.44 KB
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
{
"compilerOptions": {
/* Basic Options */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "ES2022",
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
"verbatimModuleSyntax": true,
/* Types - no longer auto discovered in v6 */
"types": [
"node",
/* Vite specific settings */
"vitest/importMeta"
],
/* Strictness */
"strict": true,
"noUncheckedIndexedAccess": true,
"noFallthroughCasesInSwitch": true,
/* Default library settings */
"lib": ["ESNext"],
/* We transpile with tsdown */
"noEmit": true,
"module": "Preserve",
"moduleResolution": "Bundler",
//https://colinhacks.com/essays/live-types-typescript-monorepo
"customConditions": [
"@blizzard-api/classic-wow-local",
"@blizzard-api/client-local",
"@blizzard-api/core-local",
"@blizzard-api/d3-local",
"@blizzard-api/hs-local",
"@blizzard-api/sc2-local",
"@blizzard-api/wow-local"
]
/* If transpiling with TypeScript: */
//"moduleResolution": "NodeNext",
//"module": "NodeNext",
//"outDir": "dist",
//"sourceMap": true,
/* AND if you're building for a library: */
//"declaration": true,
/* AND if you're building for a library in a monorepo: */
//"composite": true,
//"declarationMap": true,
},
"include": ["*.*ts", "*.*js", "packages/**/*", "scripts/*", "generated/**/*"]
}