mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 20:44:32 -05:00
* Update vite / swc / ts versions * Release notes * Revert root tsconfig module changes * yarn dedupe * Dummy update to run pipeline * Update webpack and playwright * Update playwright docker images
51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"references": [
|
|
// TODO: enable once every project is ts
|
|
// { "path": "./packages/api" },
|
|
// { "path": "./packages/desktop-client" }
|
|
],
|
|
"compilerOptions": {
|
|
// "composite": true,
|
|
"target": "ES2022",
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"experimentalDecorators": true,
|
|
"resolveJsonModule": true,
|
|
"downlevelIteration": true,
|
|
// TODO: enable once every file is ts
|
|
// "strict": true,
|
|
"strictFunctionTypes": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"skipLibCheck": true,
|
|
"jsx": "preserve",
|
|
"types": ["vite/client", "jest"],
|
|
// Check JS files too
|
|
"allowJs": true,
|
|
"checkJs": false,
|
|
// Used for temp builds
|
|
"outDir": "build",
|
|
"moduleResolution": "Node10",
|
|
"module": "ES2022",
|
|
// Until/if we build using tsc
|
|
"noEmit": true,
|
|
"paths": {
|
|
// until we turn on composite/references
|
|
"loot-core/*": ["./packages/loot-core/src/*"],
|
|
},
|
|
"plugins": [
|
|
{
|
|
"name": "typescript-strict-plugin",
|
|
"path": ["./packages"]
|
|
}
|
|
]
|
|
},
|
|
"include": ["packages/**/*"],
|
|
"exclude": ["**/node_modules/*", "**/build/*", "**/lib-dist/*"],
|
|
"ts-node": {
|
|
"compilerOptions": {
|
|
"module": "CommonJS"
|
|
}
|
|
}
|
|
}
|