2026-03-15 19:44:02 +01:00
|
|
|
{
|
|
|
|
|
"compilerOptions": {
|
2026-04-01 17:07:02 +02:00
|
|
|
"target": "ES2023",
|
2026-03-15 19:44:02 +01:00
|
|
|
"module": "ESNext",
|
|
|
|
|
"moduleResolution": "bundler",
|
|
|
|
|
"strict": true,
|
|
|
|
|
"noUncheckedIndexedAccess": true,
|
|
|
|
|
"esModuleInterop": true,
|
|
|
|
|
"skipLibCheck": true,
|
|
|
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
|
"resolveJsonModule": true,
|
|
|
|
|
"isolatedModules": true,
|
|
|
|
|
"noEmit": true,
|
2026-07-19 13:57:28 +00:00
|
|
|
"lib": ["ES2023", "DOM", "DOM.Iterable"],
|
2026-08-22 06:48:58 +02:00
|
|
|
// TypeScript 6 defaults "types" to [] and vitest 4 no longer references
|
|
|
|
|
// @types/node itself, so the Node globals (node:fs, __dirname) used by
|
|
|
|
|
// unit tests must be pulled in explicitly. tsconfig.build.json resets
|
|
|
|
|
// this to [] so app code cannot use Node globals.
|
|
|
|
|
"types": ["node"],
|
2026-03-15 19:44:02 +01:00
|
|
|
"paths": {
|
2026-07-19 13:57:28 +00:00
|
|
|
"@lib/*": ["./src/lib/*"],
|
|
|
|
|
"@stores/*": ["./src/stores/*"],
|
|
|
|
|
"@components/*": ["./src/components/*"],
|
|
|
|
|
"@pages/*": ["./src/pages/*"],
|
|
|
|
|
"@styles/*": ["./src/styles/*"]
|
2026-04-07 08:23:59 +00:00
|
|
|
}
|
2026-03-15 19:44:02 +01:00
|
|
|
},
|
2026-07-19 13:57:28 +00:00
|
|
|
"include": ["src", "tests"],
|
|
|
|
|
"exclude": ["tests/e2e"]
|
2026-03-15 19:44:02 +01:00
|
|
|
}
|