mirror of
https://github.com/zadam/trilium.git
synced 2025-12-05 15:04:24 +01:00
chore(server/dx): get server to start using path references
This commit is contained in:
parent
0dafb86012
commit
39ae7dda6c
@ -34,9 +34,6 @@
|
|||||||
"src/**/*.spec.jsx"
|
"src/**/*.spec.jsx"
|
||||||
],
|
],
|
||||||
"references": [
|
"references": [
|
||||||
{
|
|
||||||
"path": "../../packages/ckeditor5/tsconfig.lib.json"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"path": "../../packages/turndown-plugin-gfm/tsconfig.lib.json"
|
"path": "../../packages/turndown-plugin-gfm/tsconfig.lib.json"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -3,9 +3,6 @@
|
|||||||
"files": [],
|
"files": [],
|
||||||
"include": [],
|
"include": [],
|
||||||
"references": [
|
"references": [
|
||||||
{
|
|
||||||
"path": "../../packages/ckeditor5"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"path": "../../packages/turndown-plugin-gfm"
|
"path": "../../packages/turndown-plugin-gfm"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -5,22 +5,38 @@
|
|||||||
"emitDeclarationOnly": true,
|
"emitDeclarationOnly": true,
|
||||||
"importHelpers": true,
|
"importHelpers": true,
|
||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"lib": ["ES2023"],
|
"lib": [
|
||||||
|
"ES2023"
|
||||||
|
],
|
||||||
"module": "nodenext",
|
"module": "nodenext",
|
||||||
"moduleResolution": "nodenext",
|
"moduleResolution": "nodenext",
|
||||||
"noEmitOnError": true,
|
"noEmitOnError": true,
|
||||||
"noFallthroughCasesInSwitch": true,
|
"noFallthroughCasesInSwitch": true,
|
||||||
"noImplicitAny": false, // TODO: Re-enable it at some point.
|
"noImplicitAny": false,
|
||||||
"noImplicitOverride": false, // TODO: Re-enable it at some point.
|
"noImplicitOverride": false,
|
||||||
"noImplicitReturns": false, // TODO: Re-enable it at some point.
|
"noImplicitReturns": false,
|
||||||
"noUnusedLocals": false, // TODO: Re-enable it at some point.
|
"noUnusedLocals": false,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"target": "es2022",
|
"target": "es2022",
|
||||||
"customConditions": ["development"],
|
"customConditions": [
|
||||||
"verbatimModuleSyntax": false, // TODO: Re-enable it when migrating back to ESM.
|
"development"
|
||||||
|
],
|
||||||
|
"verbatimModuleSyntax": false,
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"downlevelIteration": true,
|
"downlevelIteration": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
|
"baseUrl": ".",
|
||||||
|
"paths": {
|
||||||
|
"@triliumnext/commons": [
|
||||||
|
"packages/commons/src/index.ts"
|
||||||
|
],
|
||||||
|
"@triliumnext/turndown-plugin-gfm": [
|
||||||
|
"packages/turndown-plugin-gfm/src/index.js"
|
||||||
|
],
|
||||||
|
"@triliumnext/express-partial-content": [
|
||||||
|
"packages/express-partial-content/src/index.ts"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user