mirror of
https://github.com/zenlm/gym.git
synced 2026-11-04 17:11:44 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API, so next's type-check path cannot read it. It comes in aliased as tsgo and does the typechecking; typescript stays on the 6 line for the tools. No root typecheck script existed; added one. No lockfile existed either (npm chosen: CI's deploy-docs.yml runs npm ci); package-lock.json generated here for the first time. TS2882 side-effect import of './globals.css' needed an ambient declare module '*.css' (globals.d.ts) picked up by the root tsconfig's **/*.ts include. 4 diagnostics before and after (assets/logo's own sub-project, left untouched, is swept in by the root tsconfig either way). Co-authored-by: Hanzo Dev <[email protected]>
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"name": "gym-docs",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "Gym by Zoo Labs Foundation - Documentation",
|
|
"author": "Zoo Labs Foundation Inc.",
|
|
"license": "Apache-2.0",
|
|
"scripts": {
|
|
"dev": "next dev -p 3001",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"export": "next build && next export",
|
|
"typecheck": "node_modules/tsgo/bin/tsc --noEmit --incremental false"
|
|
},
|
|
"dependencies": {
|
|
"next": "^14.1.0",
|
|
"react": "^19.0.0-rc",
|
|
"react-dom": "^19.0.0-rc",
|
|
"@headlessui/react": "^2.1.0",
|
|
"@heroicons/react": "^2.1.1",
|
|
"@tailwindcss/typography": "^0.5.10",
|
|
"framer-motion": "^11.0.0",
|
|
"gray-matter": "^4.0.3",
|
|
"next-mdx-remote": "^5.0.0",
|
|
"prismjs": "^1.29.0",
|
|
"remark": "^15.0.1",
|
|
"remark-html": "^16.0.1",
|
|
"remark-prism": "^1.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.11.0",
|
|
"@types/react": "^18.2.48",
|
|
"@types/react-dom": "^18.2.18",
|
|
"autoprefixer": "^10.4.17",
|
|
"eslint": "^8.56.0",
|
|
"eslint-config-next": "^14.1.0",
|
|
"postcss": "^8.4.33",
|
|
"tailwindcss": "^3.4.1",
|
|
"tsgo": "npm:[email protected]",
|
|
"typescript": "6.0.3"
|
|
}
|
|
}
|