mirror of
https://github.com/zenlm/zen-eco.git
synced 2026-10-30 14:58:11 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API, so next 16.0.1 (fumadocs-core/mdx/ui all require next 14-15.x, so no upgrade path to the >=16.3 exception) cannot read it. It comes in aliased as tsgo and does the typechecking; typescript stays on 6.0.3 for the tools. 22 diagnostics before and after (pre-existing source errors, unrelated to this pin). First lockfile for docs/, which had none (pnpm, matching its packageManager field). Also excludes the nested docs/site/ (a stale, unrelated @luxfi/consensus-docs copy last touched 2026-02-14) from docs/tsconfig.json's include sweep, and adds `declare module '*.css'` for TS7's TS2882 on the global.css side-effect import (ts7-recipe.md's documented fix). Co-authored-by: Hanzo Dev <[email protected]>
43 lines
710 B
JSON
43 lines
710 B
JSON
{
|
|
"compilerOptions": {
|
|
"lib": [
|
|
"dom",
|
|
"dom.iterable",
|
|
"esnext"
|
|
],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "react-jsx",
|
|
"incremental": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"@/*": [
|
|
"./*"
|
|
]
|
|
},
|
|
"target": "ES2017"
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".next/types/**/*.ts",
|
|
".next/dev/types/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"site"
|
|
]
|
|
}
|