mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-22 12:30:06 -05:00
* [AI] Fix API build output path (dist/index.js instead of dist/api/index.js) - Set rootDir in packages/api/tsconfig.json so output is under dist/ not dist/api/ - Remove loot-core pegjs.ts from include; add local typings/pegjs.d.ts - Use mkdir -p in build:migrations for idempotent build - Exclude **/@types/** so declaration output does not conflict with input Made-with: Cursor * Update TypeScript configuration in api package to refine exclude patterns
22 lines
627 B
JSON
22 lines
627 B
JSON
{
|
|
"extends": "../../tsconfig.json",
|
|
"compilerOptions": {
|
|
// Using ES2021 because that's the newest version where
|
|
// the latest Node 16.x release supports all of the features
|
|
"target": "ES2021",
|
|
"module": "CommonJS",
|
|
"moduleResolution": "node10",
|
|
"noEmit": false,
|
|
"declaration": true,
|
|
"outDir": "dist",
|
|
"rootDir": ".",
|
|
"declarationDir": "@types",
|
|
"paths": {
|
|
"loot-core/*": ["./@types/loot-core/src/*"]
|
|
},
|
|
"plugins": [{ "name": "typescript-strict-plugin", "paths": ["."] }]
|
|
},
|
|
"include": ["."],
|
|
"exclude": ["**/node_modules/*", "dist", "@types", "*.test.ts"]
|
|
}
|