mirror of
https://github.com/luxfi/docs-template.git
synced 2026-10-30 16:58:41 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API, so next and the twoslash highlighter cannot read it. next 16.1.1 does not recognize a bare 7 pin as installed and runs an unsolicited `pnpm add -D typescript`, so 7.0.2 comes in aliased as tsgo and does the typechecking while typescript stays on the 6 line, which next reads cleanly. The new typecheck script reports 0 diagnostics, the same as tsc 5.9.3 did, once the side-effect CSS imports get the ambient declaration TS7 now demands. Co-authored-by: Hanzo Dev <[email protected]>
43 lines
1.2 KiB
JSON
43 lines
1.2 KiB
JSON
{
|
|
"name": "@luxfi/docs-template",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "Lux Network documentation template - fork for any docs site",
|
|
"scripts": {
|
|
"dev": "next dev --port 3003",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"typecheck": "node_modules/tsgo/bin/tsc --noEmit --incremental false"
|
|
},
|
|
"dependencies": {
|
|
"@hanzo/design": "^0.5.25",
|
|
"@hanzo/docs": "^17.0.4",
|
|
"@hanzo/docs-core": "^17.0.1",
|
|
"@hanzo/docs-base-ui": "^16.9.3",
|
|
"@hanzo/docs-ui": "^17.0.5",
|
|
"@hanzo/docs-mdx": "^15.0.10",
|
|
"@luxfi/logo": "^1.0.0",
|
|
"lucide-react": "^0.561.0",
|
|
"next": "^16.1.1",
|
|
"next-themes": "^0.4.6",
|
|
"react": "^19.2.3",
|
|
"react-dom": "^19.2.3",
|
|
"shiki": "^3.20.0",
|
|
"tailwind-merge": "^3.4.0",
|
|
"gray-matter": "^4.0.3",
|
|
"react-markdown": "^10.1.0",
|
|
"remark-gfm": "^4.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4.1.18",
|
|
"autoprefixer": "^10.4.20",
|
|
"@types/node": "^24.10.2",
|
|
"@types/react": "^19.2.7",
|
|
"@types/react-dom": "^19.2.3",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "^4.1.18",
|
|
"tsgo": "npm:[email protected]",
|
|
"typescript": "6.0.3"
|
|
}
|
|
}
|