mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-26 10:55:57 +00:00
The fumadocs-fork rebrand left ~13 apps + examples referencing packages under
names that don't exist in the workspace (in BOTH directions: some kept
fumadocs-*, some became @hanzo/docs-*). pnpm install failed outright. Mapped
every reference (deps + imports, 607 source + 61 package.json) to the package
that actually exists, by suffix:
@hanzo/docs-{core,mdx,ui,base-ui} → fumadocs-{core,mdx,ui} / @fumadocs/base-ui
@fumadocs/{story,cli,mdx-remote,tailwind} → @hanzo/docs-{story,cli,...}
fumadocs-{docgen,epub,twoslash,typescript} → @hanzo/docs-{...}
drop phantom eslint-config-custom
Guarded @hanzo/docs-mdx vs -mdx-remote. Also fixes a pre-existing cli bug
(createConfigSchema referenced undefined isSrc) that blocked the package build.
Verified: pnpm install resolves clean (46.8s, was broken); package dist
regenerates phantom-free from the corrected source (hanzo-docs 430→0). Full
app build-green is blocked only by a node v26 toolchain bug in fumadocs-mdx's
config loader (repo targets node >=24.14; CI node builds it).
53 lines
1.6 KiB
JSON
53 lines
1.6 KiB
JSON
{
|
|
"name": "bootnode-docs",
|
|
"version": "0.1.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "pnpm build:pre && next build --webpack && pnpm build:post",
|
|
"build:pre": "bun ./scripts/pre-build.ts",
|
|
"build:post": "bun ./scripts/post-build.ts",
|
|
"types:check": "fumadocs-mdx && next typegen && tsc --noEmit",
|
|
"clean": "rimraf .next",
|
|
"dev": "next dev --port 3005 --webpack",
|
|
"lint": "fumadocs-mdx && eslint .",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@hanzo/mdx-runtime": "workspace:*",
|
|
"@hanzo/docs": "workspace:*",
|
|
"fumadocs-core": "workspace:*",
|
|
"fumadocs-mdx": "workspace:*",
|
|
"@fumadocs/base-ui": "workspace:*",
|
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
"@shikijs/rehype": "^3.21.0",
|
|
"@shikijs/transformers": "^3.21.0",
|
|
"class-variance-authority": "^0.7.1",
|
|
"lucide-react": "^0.562.0",
|
|
"next": "16.1.6",
|
|
"next-themes": "^0.4.6",
|
|
"react": "^19.2.3",
|
|
"react-dom": "^19.2.3",
|
|
"shiki": "^3.21.0",
|
|
"tailwind-merge": "^3.4.0",
|
|
"zod": "^4.3.5"
|
|
},
|
|
"devDependencies": {
|
|
"@hanzo/docs-cli": "workspace:*",
|
|
"@next/bundle-analyzer": "16.1.1",
|
|
"@next/env": "16.1.1",
|
|
"@next/eslint-plugin-next": "16.1.1",
|
|
"@tailwindcss/postcss": "^4.1.18",
|
|
"@types/node": "25.0.5",
|
|
"@types/react": "^19.2.8",
|
|
"@types/react-dom": "^19.2.3",
|
|
"browserslist-config-baseline": "^0.5.0",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "^4.1.18",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"tsconfig": "workspace:*",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"browserslist": [
|
|
"extends browserslist-config-baseline/2024"
|
|
]
|
|
} |