Files
thedotmack__claude-mem/tsconfig.json
T
stantheman0128 2080dd67bc fix(tsconfig): switch moduleResolution from removed node to bundler
TypeScript 6.x fails with TS5107 on moduleResolution "node" unless
ignoreDeprecations is set, and TypeScript 7.0 removes the option
entirely. openclaw/tsconfig.json had no ignoreDeprecations, so
openclaw/install.sh (npm install && npx tsc) failed on every fresh
install. Switch both configs to "bundler", drop the now-unneeded
ignoreDeprecations from the root config, and declare types: ["node"]
in the openclaw config so @types/node keeps resolving under the new
strategy.

Closes #3277

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 11:28:03 +08:00

31 lines
624 B
JSON

{
"compilerOptions": {
"jsx": "react",
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"lib": ["ES2022"],
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"types": ["node", "bun"],
"allowSyntheticDefaultImports": true
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
"dist",
"tests",
"src/ui/viewer"
]
}