Typecheck on the native compiler, keep 6 for the tools

typescript 7.0.2 is the native compiler and exports no JavaScript API. The ui and
docs projects have no consumer of that API — vite, and next 16, which reads its
own tsconfig setup — so they take the pin directly: 0 diagnostics before and
after in ui, 25 down to 3 in docs. The dashboard runs next 15, which cannot read
it, so 7.0.2 comes in aliased as tsgo and does the typechecking while typescript
stays on the 6 line: 3 diagnostics down to 1.

Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
2026-09-17 00:27:34 -07:00
co-authored by Hanzo Dev
parent 33904098d4
commit 85762116d9
5 changed files with 7550 additions and 4742 deletions
+4 -2
View File
@@ -6,7 +6,8 @@
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"lint": "next lint" "lint": "next lint",
"typecheck": "node_modules/tsgo/bin/tsc --noEmit --incremental false"
}, },
"dependencies": { "dependencies": {
"@hanzo/font": "^1.9.3", "@hanzo/font": "^1.9.3",
@@ -30,6 +31,7 @@
"eslint-config-next": "^16.2.2", "eslint-config-next": "^16.2.2",
"postcss": "^8.5.8", "postcss": "^8.5.8",
"tailwindcss": "^3.4.19", "tailwindcss": "^3.4.19",
"typescript": "^6.0.2" "tsgo": "npm:typescript@7.0.2",
"typescript": "6.0.3"
} }
} }
+1598 -1875
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -38,7 +38,7 @@
"postcss": "^8.4.49", "postcss": "^8.4.49",
"rehype-pretty-code": "^0.14.1", "rehype-pretty-code": "^0.14.1",
"shiki": "^1.27.2", "shiki": "^1.27.2",
"typescript": "^5.7.2" "typescript": "7.0.2"
}, },
"packageManager": "[email protected]" "packageManager": "[email protected]"
} }
+5946 -2863
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -17,7 +17,7 @@
"@types/react": "^19.0.0", "@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0", "@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^4.3.4", "@vitejs/plugin-react": "^4.3.4",
"typescript": "^5.7.0", "typescript": "7.0.2",
"vite": "^6.0.0" "vite": "^6.0.0"
}, },
"pnpm": { "pnpm": {