mirror of
https://github.com/actualbudget/actual.git
synced 2026-07-16 15:14:02 -05:00
* chore(api): migrate node version validation to TypeScript * [autofix.ci] apply automated fixes * docs: add release note for API TypeScript migration * Update upcoming-release-notes/wip-chore-api-migrate-node-version-validation-to-typescript.md Co-authored-by: Matiss Janis Aboltins <matiss@mja.lv> * Update upcoming-release-notes/wip-chore-api-migrate-node-version-validation-to-typescript.md Co-authored-by: Matiss Janis Aboltins <matiss@mja.lv> --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Matiss Janis Aboltins <matiss@mja.lv>
45 lines
928 B
JSON
45 lines
928 B
JSON
{
|
|
"extends": "../../tsconfig.json",
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
// Using ES2021 because that's the newest version where
|
|
// the latest Node 16.x release supports all of the features
|
|
"target": "ES2021",
|
|
"module": "es2022",
|
|
"moduleResolution": "bundler",
|
|
"customConditions": ["api"],
|
|
"noEmit": false,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"outDir": "dist",
|
|
"rootDir": ".",
|
|
"declarationDir": "@types",
|
|
"tsBuildInfoFile": "dist/.tsbuildinfo",
|
|
"plugins": [
|
|
{
|
|
"name": "typescript-strict-plugin",
|
|
"paths": ["."]
|
|
}
|
|
]
|
|
},
|
|
"references": [
|
|
{
|
|
"path": "../loot-core"
|
|
},
|
|
{
|
|
"path": "../crdt"
|
|
}
|
|
],
|
|
"include": [".", "package.json"],
|
|
"exclude": [
|
|
"**/node_modules/*",
|
|
"dist",
|
|
"@types",
|
|
"e2e",
|
|
"*.config.ts",
|
|
"*.config.mts",
|
|
"app/bundle.*",
|
|
"app/stats.json"
|
|
]
|
|
}
|