mirror of
https://github.com/bitbonsai/mcpvault.git
synced 2026-09-19 07:37:47 +08:00
dec738e861
TS7 removes moduleResolution=node10 (dependabot #157 fails on this). Switch to module/moduleResolution=nodenext, the correct pairing for this Node ESM package. Drops the now-unneeded ignoreDeprecations flag. Verified clean build and passing tests under TS 6.0.3 (pinned) and under TS7 (npx tsc --noEmit), dist output unchanged.
34 lines
776 B
JSON
34 lines
776 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2022",
|
|
"module": "nodenext",
|
|
"moduleResolution": "nodenext",
|
|
"types": ["node"],
|
|
"lib": ["es2022"],
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"allowJs": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"verbatimModuleSyntax": true
|
|
},
|
|
"include": [
|
|
"src/**/*",
|
|
"server.ts",
|
|
"tests/**/*"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist"
|
|
]
|
|
} |