- TypeScript 5.9 → 6.0: add types: ["node"] to base tsconfig, remove deprecated baseUrl where unused, add ignoreDeprecations for docs app, fix node_modules/ prefix imports with proper package exports - Vite 7 → 8 + @vitejs/plugin-react 5 → 6: add vite as direct dep - Add CSS module type declarations for TS6 compatibility - Update renovate test for pnpm v11 allowBuilds migration
36 lines
623 B
JSON
36 lines
623 B
JSON
{
|
|
"extends": "@docusaurus/tsconfig",
|
|
"compilerOptions": {
|
|
"ignoreDeprecations": "6.0",
|
|
"baseUrl": ".",
|
|
"target": "es5",
|
|
"lib": [
|
|
"dom",
|
|
"dom.iterable",
|
|
"esnext"
|
|
],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"incremental": true
|
|
},
|
|
"include": [
|
|
"**/*.ts",
|
|
"**/*.jsx",
|
|
"**/*.js",
|
|
"**/*.tsx",
|
|
"**/*.md",
|
|
"**/*.mdx"
|
|
],
|
|
"exclude": [
|
|
"node_modules"
|
|
]
|
|
} |