- Upgrade typescript from ^6.0.3 to ^7.0.1-rc (native Go compiler) - Fix type errors caught by TS7's stricter generic variance checking in RequestError instantiation (3 handler files) - Update apps/docs/tsconfig.json: remove deprecated baseUrl, bump target from es5 to ES2022 (both removed in TS7) - Add TS7 to minimumReleaseAgeExclude (rc release within cutoff) Benchmark results (cold, 37 packages): TS6: 6m49s -> TS7 native: 1m35s (~4.3x faster) Incremental/warm: ~24x faster (17s for full project)
29 lines
610 B
JSON
29 lines
610 B
JSON
{
|
|
"extends": "@docusaurus/tsconfig",
|
|
"compilerOptions": {
|
|
"ignoreDeprecations": "6.0",
|
|
"target": "ES2022",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"incremental": true,
|
|
},
|
|
"include": [
|
|
"**/*.ts",
|
|
"**/*.jsx",
|
|
"**/*.js",
|
|
"**/*.tsx",
|
|
"**/*.md",
|
|
"**/*.mdx",
|
|
],
|
|
"exclude": ["node_modules"],
|
|
}
|