mirror of
https://github.com/luxfi/indexer.git
synced 2026-09-24 00:25:37 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API, and next below 16.3 wants typescript/lib/typescript.js, which the native compiler does not ship: the check fails and next shells out to `pnpm add typescript` mid-build, which a frozen lockfile or an offline runner turns into a failed build. So 7.0.2 comes in aliased as tsgo and does the typechecking, and typescript stays on the 6 line for next. The docs site: 10 diagnostics before and after. Co-authored-by: Hanzo Dev <[email protected]>
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"name": "@luxfi/indexer-docs",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "docs-mdx && next dev --port 3003",
|
|
"build": "docs-mdx && next build",
|
|
"export": "docs-mdx && next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"typecheck": "node_modules/tsgo/bin/tsc --noEmit --incremental false",
|
|
"postinstall": "docs-mdx"
|
|
},
|
|
"dependencies": {
|
|
"@hanzo/design": "^0.5.25",
|
|
"@hanzo/docs": "file:../../../hanzo/docs/packages/core",
|
|
"@hanzo/docs-mdx": "file:../../../hanzo/docs/packages/mdx",
|
|
"@hanzo/ui": "file:../../../hanzo/docs/packages/ui",
|
|
"@tailwindcss/postcss": "^4.1.18",
|
|
"lucide-react": "^0.468.0",
|
|
"next": "16.1.0",
|
|
"next-themes": "^0.4.6",
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0",
|
|
"tailwindcss": "^4.1.18",
|
|
"zod": "^4.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.2",
|
|
"@types/react": "^19.2.7",
|
|
"@types/react-dom": "^19.2.3",
|
|
"rehype-pretty-code": "^0.14.1",
|
|
"shiki": "^1.27.2",
|
|
"tsgo": "npm:[email protected]",
|
|
"typescript": "6.0.3"
|
|
},
|
|
"packageManager": "[email protected]"
|
|
}
|