mirror of
https://github.com/zenlm/zen-family.git
synced 2026-10-30 14:58:06 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API, so next 14.2.33 and eslint cannot read it. It comes in aliased as tsgo and does the typechecking; typescript stays on the 6 line for those. The site had no tsconfig, so this adds the one next writes for itself, with "types": ["node"] spelled out because TS7 no longer sweeps in every installed @types. 1 diagnostic before and after (fumadocs.config.ts sets a key GlobalConfig does not have). Co-authored-by: Hanzo Dev <[email protected]>
36 lines
962 B
JSON
36 lines
962 B
JSON
{
|
|
"name": "zen-ai-docs",
|
|
"version": "1.0.1",
|
|
"description": "Documentation for Zen AI models",
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint . --ext .ts,.tsx,.md,.mdx",
|
|
"validate": "node ../scripts/validate_model.py --all",
|
|
"typecheck": "node_modules/tsgo/bin/tsc --noEmit --incremental false"
|
|
},
|
|
"dependencies": {
|
|
"fumadocs-core": "^14.2.13",
|
|
"fumadocs-mdx": "^10.0.2",
|
|
"fumadocs-ui": "^14.2.13",
|
|
"next": "^14.0.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"zod": "^3.22.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"@types/react": "^18.2.0",
|
|
"@types/react-dom": "^18.2.0",
|
|
"eslint": "^8.0.0",
|
|
"tsgo": "npm:[email protected]",
|
|
"typescript": "6.0.3"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/zenlm/zen"
|
|
},
|
|
"author": "Hanzo AI & Zoo Labs Foundation",
|
|
"license": "Apache-2.0"
|
|
} |