mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-03 22:57:03 +01:00
TypeScript ^5.7.3 -> ^6.0.3 (fleet TypeScript-6 sweep). TS 7.0.2 is blocked fleet-wide: typescript-eslint hard-errors "does not support TS 7.0" (canaried 2026-08-31). 6.0.3 is the blessed major, proven in-fleet with Next 16. One TS-6 fix: drop the deprecated "baseUrl" from tsconfig.json (TS5101 hard-errors on it under 6.0). The "@/*" paths mapping resolves relative to the tsconfig dir without it. Full verify (format, lint, typecheck, selfhost check, tests, build) green. Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
38 lines
887 B
JSON
38 lines
887 B
JSON
{
|
|
"compilerOptions": {
|
|
/* vitest globals: describe/it/expect/vi come from `globals: true`,
|
|
and TypeScript needs them declared now that @types/jest is gone. */
|
|
"types": ["vitest/globals"],
|
|
"target": "ES2017",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "react-jsx",
|
|
"incremental": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"@/*": ["./*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".next/types/**/*.ts",
|
|
".next/dev/types/**/*.ts"
|
|
],
|
|
"exclude": ["node_modules", "scripts"]
|
|
}
|