chore(server/dx): get server to start using path references

This commit is contained in:
Elian Doran 2025-08-31 10:58:08 +03:00
parent 0dafb86012
commit 39ae7dda6c
No known key found for this signature in database
3 changed files with 23 additions and 13 deletions

View File

@ -34,9 +34,6 @@
"src/**/*.spec.jsx"
],
"references": [
{
"path": "../../packages/ckeditor5/tsconfig.lib.json"
},
{
"path": "../../packages/turndown-plugin-gfm/tsconfig.lib.json"
},

View File

@ -3,9 +3,6 @@
"files": [],
"include": [],
"references": [
{
"path": "../../packages/ckeditor5"
},
{
"path": "../../packages/turndown-plugin-gfm"
},

View File

@ -5,22 +5,38 @@
"emitDeclarationOnly": true,
"importHelpers": true,
"isolatedModules": true,
"lib": ["ES2023"],
"lib": [
"ES2023"
],
"module": "nodenext",
"moduleResolution": "nodenext",
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": false, // TODO: Re-enable it at some point.
"noImplicitOverride": false, // TODO: Re-enable it at some point.
"noImplicitReturns": false, // TODO: Re-enable it at some point.
"noUnusedLocals": false, // TODO: Re-enable it at some point.
"noImplicitAny": false,
"noImplicitOverride": false,
"noImplicitReturns": false,
"noUnusedLocals": false,
"skipLibCheck": true,
"strict": true,
"target": "es2022",
"customConditions": ["development"],
"verbatimModuleSyntax": false, // TODO: Re-enable it when migrating back to ESM.
"customConditions": [
"development"
],
"verbatimModuleSyntax": false,
"resolveJsonModule": true,
"downlevelIteration": 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"
]
}
}
}