Files
docs/examples/python/package.json
T
zeekay 868938c48b fix(docs): normalize phantom workspace package names — monorepo installs again
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).
2026-06-24 15:17:27 -07:00

33 lines
931 B
JSON

{
"name": "example-python",
"version": "0.0.0",
"private": true,
"scripts": {
"build": "pnpm build:docs && next build",
"dev": "next dev",
"start": "next start",
"build:docs": "pnpm python:generate && node ./scripts/generate-docs.mjs",
"python:generate": "pip3 install ./node_modules/@hanzo/docs-python && fumapy-generate httpx",
"types:check": "fumadocs-mdx && tsc --noEmit"
},
"dependencies": {
"fumadocs-core": "workspace:*",
"fumadocs-mdx": "workspace:*",
"@hanzo/docs-python": "workspace:*",
"fumadocs-ui": "workspace:*",
"next": "16.1.6",
"react": "^19.2.4",
"react-dom": "^19.2.4"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.3.0",
"@types/mdx": "^2.0.13",
"@types/node": "25.9.1",
"@types/react": "^19.2.15",
"@types/react-dom": "^19.2.3",
"postcss": "^8.5.15",
"tailwindcss": "^4.3.0",
"typescript": "^6.0.3"
}
}