chore(config): updated tsconfig

This commit is contained in:
2026-04-09 02:05:52 +02:00
parent b999e84b15
commit 6f99de8ec3
5 changed files with 1526 additions and 1460 deletions
+2 -1
View File
@@ -26,7 +26,8 @@
"vue-router": "^4.4.0" "vue-router": "^4.4.0"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^24.3.1", "@tsconfig/node24": "^24.0.4",
"@types/node": "^24.12.0",
"@types/showdown": "^2.0.6", "@types/showdown": "^2.0.6",
"@vite-pwa/assets-generator": "^1.0.0", "@vite-pwa/assets-generator": "^1.0.0",
"@vitejs/plugin-vue": "^6.0.1", "@vitejs/plugin-vue": "^6.0.1",
+15
View File
@@ -0,0 +1,15 @@
{
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
"exclude": ["src/**/__tests__/*"],
"compilerOptions": {
"noUncheckedIndexedAccess": false,
"verbatimModuleSyntax": null,
"paths": {
"@/*": ["./src/*"]
},
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo"
}
}
+4 -17
View File
@@ -1,24 +1,11 @@
{ {
"compilerOptions": { "files": [],
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"moduleResolution": "Node",
"strict": true,
"jsx": "preserve",
"sourceMap": true,
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"lib": ["ESNext", "DOM"],
"types": ["vite/client", "vite-plugin-pwa/client"],
"skipLibCheck": true
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
"references": [ "references": [
{ {
"path": "./tsconfig.node.json" "path": "./tsconfig.node.json"
},
{
"path": "./tsconfig.app.json"
} }
] ]
} }
+9 -6
View File
@@ -1,9 +1,12 @@
// TSConfig for modules that run in Node.js environment via either transpilation or type-stripping.
{ {
"extends": "@tsconfig/node24/tsconfig.json",
"include": ["vite.config.*", "eslint.config.*"],
"compilerOptions": { "compilerOptions": {
"composite": true, "module": "preserve",
"module": "nodenext", "moduleResolution": "bundler",
"moduleResolution": "nodenext", "types": ["node", "vite/client", "vite-plugin-pwa/client"],
"allowSyntheticDefaultImports": true "noEmit": true,
}, "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo"
"include": ["vite.config.ts"] }
} }
+1495 -1435
View File
File diff suppressed because it is too large Load Diff