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" "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"
}, },

View File

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

View File

@ -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"
]
}
} }
} }