-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
47 lines (42 loc) · 1.86 KB
/
tsconfig.json
File metadata and controls
47 lines (42 loc) · 1.86 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
{
// TypeScript 6.0-ready configuration.
// Key TS 6.0 changes accounted for:
// - baseUrl REMOVED (deprecated in TS 6.0; paths now use explicit "./src/" prefix)
// - target / lib bumped to ES2025 (TS 6.0 new default; adds Temporal, RegExp.escape, Map.getOrInsert)
// - strict: true (now the TS 6.0 default — explicit for clarity)
// - module: ESNext (now the TS 6.0 default)
// - moduleResolution: bundler (node10 is deprecated in TS 6.0; bundler is the Bun-correct choice)
// - types: ["bun-types"] (explicit list required — TS 6.0 defaults types to [])
// - esModuleInterop: true (setting it false is now an error in TS 6.0)
// - rootDir: "." (now the TS 6.0 explicit default; no longer inferred from source paths)
// - stableTypeOrdering: true (opt-in — aligns union ordering with TS 7.0 native port)
"compilerOptions": {
"target": "ES2025",
"module": "ESNext",
"moduleResolution": "bundler",
"lib": ["ES2025"],
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"noUncheckedSideEffectImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
// baseUrl intentionally omitted (deprecated in TS 6.0).
// All path aliases use explicit relative prefixes below.
"paths": {
"@zenystx/helios-core": ["./src/index.ts"],
"@zenystx/helios-core/*": ["./src/*"],
"@zenystx/helios-blitz/*": ["./packages/blitz/src/*"]
},
"outDir": "dist",
"rootDir": ".",
"declaration": true,
"sourceMap": true,
// Explicit list required under TS 6.0 (old default of "all @types/*" is gone).
// bun-types covers both Bun globals and Node-compatible APIs.
"types": ["bun"]
},
"include": ["src/**/*", "test/**/*", "test-support/**/*", "scripts/**/*"],
"exclude": ["dist", "node_modules"]
}