mirror of
https://github.com/luxfi/math.git
synced 2026-09-24 00:25:16 +00:00
Typecheck on the native compiler, keep 6 for the tools
typescript 7.0.2 is the native compiler and exports no JavaScript API. next 16.0.1 does not recognize it as installed and runs an unsolicited `pnpm add -D typescript` mid-build, so a bare 7 pin is out: 7.0.2 comes in aliased as tsgo and does the typechecking while typescript stays on the 6 line, which next reads cleanly. docs/ reports the same 4 diagnostics under both compilers, once the two side-effect CSS imports get the ambient declarations TS7 now demands. The lockfile is new; the package already declared pnpm, and npm cannot resolve fumadocs-mdx against next 16. Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
declare module '*.css';
|
||||
declare module '@hanzo/font/css';
|
||||
+3
-1
@@ -8,6 +8,7 @@
|
||||
"export": "TURBOPACK=0 next build",
|
||||
"start": "next start",
|
||||
"lint": "next lint",
|
||||
"typecheck": "node_modules/tsgo/bin/tsc --noEmit --incremental false",
|
||||
"postinstall": "fumadocs-mdx"
|
||||
},
|
||||
"dependencies": {
|
||||
@@ -31,7 +32,8 @@
|
||||
"postcss": "^8.4.49",
|
||||
"rehype-pretty-code": "^0.14.1",
|
||||
"shiki": "^1.27.2",
|
||||
"typescript": "^5.7.2"
|
||||
"tsgo": "npm:[email protected]",
|
||||
"typescript": "6.0.3"
|
||||
},
|
||||
"packageManager": "[email protected]"
|
||||
}
|
||||
|
||||
Generated
+4349
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user