mirror of
https://github.com/thedotmack/claude-mem.git
synced 2026-09-20 04:23:02 +08:00
2080dd67bc
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>
31 lines
624 B
JSON
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"
|
|
]
|
|
}
|