Commit Graph
289 Commits
Author SHA1 Message Date
zeekay bdecafe11a fix(build): openapi + story declare @hanzo/docs-base-ui (Turbopack resolution)
Narrow the previous fix (which cycled base-ui<->cli): only openapi and story
import base-ui subpaths without declaring it. Adding just those two resolves the
6 Turbopack module-not-found errors with no dependency cycle.
2026-07-08 06:48:47 -07:00
zeekay d05ab8eb6c fix(build): declare @hanzo/docs-* workspace deps packages actually import
openapi/story/cli/python imported @hanzo/docs-base-ui (and others) without
declaring it. Under pnpm strict isolation Turbopack resolves from the importing
package's node_modules and couldn't find base-ui's subpath exports
(components/ui/button, components/tabs, utils/use-copy-button) — webpack was
lenient. Declare the missing workspace deps so resolution is deterministic.
2026-07-08 06:48:47 -07:00
zeekay ada2f3d2ab rebrand: complete white-label — all packages @hanzo/docs-* (one brand)
Finish the fumadocs→Hanzo Docs rebrand: rename the remaining fuma-named
workspace packages and every reference so the framework is uniformly
@hanzo/docs-*. One brand, no Fuma in package names or product surface.

Package renames (name field + all refs: deps, imports, CSS @import,
configs, .changeset, next/vite build config):
  fumadocs-core        → @hanzo/docs-core
  fumadocs-mdx         → @hanzo/docs-mdx
  fumadocs-ui          → @hanzo/docs-ui          (packages/radix-ui)
  fumadocs-openapi     → @hanzo/docs-openapi
  fumadocs-preview     → @hanzo/docs-preview
  @fumadocs/base-ui    → @hanzo/docs-base-ui
  @fumadocs/basehub    → @hanzo/docs-basehub
  @fumadocs/language   → @hanzo/docs-language
  @fumadocs/local-md   → @hanzo/docs-local-md
  @fumadocs/sanity     → @hanzo/docs-sanity
  @fumadocs/shadcn     → @hanzo/docs-shadcn
  @fumadocs/vite       → @hanzo/docs-vite
  @fumari/stf          → @hanzo/docs-stf
  create-fumadocs-app  → @hanzo/create-docs
  create-fumadocs-versions → @hanzo/docs-create-versions

Stale @fumadocs/{cli,story,tailwind,mdx-remote,...} references collapsed to
their existing @hanzo/docs-* canonical packages (no dup created).

De-branded product strings: Fumadocs/Fuma prose → Hanzo Docs/Hanzo; site
branding, CLI output, doc copy, AI-assistant name, metadata. URLs
fumadocs.dev → docs.hanzo.ai, repo fuma-nama/fumadocs → hanzoai/docs.
Filesystem renames: packages/python/fumapy → hanzodocs_py, preview config,
what-is-fumadocs.mdx → what-is-hanzo-docs.mdx, api/fumadocs-ui route.

KEPT (real external npm deps / attribution — NOT renamed):
  fuma-cli, fuma-content, @fumari/json-schema-ts (published upstream pkgs),
  typesense-/trieve-fumadocs-adapter (3rd-party search adapters),
  LICENSE "Copyright (c) 2023 Fuma" (OSS attribution, all 7 LICENSE files
  untouched), CHANGELOG.md history (accurate release records, left as-is).

Build: node 24, pnpm install clean; all 4 target apps next build GREEN
(spec, gui-docs, zen-docs, base-docs) + full package closure (18/18 turbo).
Gate: zero @hanzo-package fumadocs-/@fumadocs/ references remain.
2026-06-24 23:21:42 -07:00
zeekay bc4ed80360 fix(docs): restore real cli/build registry API + content barrel + openapi codeblock path
Three phantom/path stragglers the prior normalization passes did not cover,
all blocking the package build chain (`turbo run build --filter=./packages/*`):

- packages/cli: `@hanzo/docs-cli/build` was imported by apps/docs +
  shared/radix-ui/base-ui registries but the cli package never exposed it.
  The real registry-build API is fuma-cli/compiler (cli already deps on
  fuma-cli). Add src/build.ts re-export + ./build export + tsdown entry so
  `@hanzo/docs-cli/build` resolves to the real symbols (compile, writeRegistry,
  Registry, Component, Reference, SubComponentReference, CompileOptions).
- packages/hanzo-docs core/content/index.ts: barrel re-exported a bare
  fumadocs-core/content subpath that exists in no version (upstream or fork).
  Aggregate the real sibling modules (./github + ./toc) instead — no symbol
  collision (getGithubLastEdit vs getTableOfContents).
- packages/openapi src/ui/client/full.tsx: import of ./components/codeblock
  resolved one dir too shallow (file lives in src/ui/client/, codeblock in
  src/ui/components/). Fix to ../components/codeblock, matching create-client.tsx.

Verified: full package chain builds green from cold cache (29/29, node 24.18).
2026-06-24 16:08:14 -07:00
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
zeekay f3b95cca11 merge: upstream/main (preserve Hanzo brand, 334 commits)
# Conflicts:
#	apps/docs/app/(home)/sponsors/data.tsx
#	apps/docs/app/(home)/uwu.tsx
#	apps/docs/app/og/[...slug]/generate.tsx
#	apps/docs/app/static.json/route.ts
#	apps/docs/content/blog/customise-ui.mdx
#	apps/docs/content/blog/mdx-v10-summary.mdx
#	apps/docs/content/blog/openapi-v9.mdx
#	apps/docs/content/blog/v15.mdx
#	apps/docs/content/blog/v16-2.mdx
#	apps/docs/content/docs/(framework)/deploying/static.mdx
#	apps/docs/content/docs/(framework)/integrations/content/custom.mdx
#	apps/docs/content/docs/(framework)/integrations/openapi/generate-files.mdx
#	apps/docs/content/docs/(framework)/integrations/openapi/server.mdx
#	apps/docs/content/docs/(framework)/integrations/story/client.story.tsx
#	apps/docs/content/docs/(framework)/integrations/story/index.mdx
#	apps/docs/content/docs/(framework)/integrations/story/next.mdx
#	apps/docs/content/docs/(framework)/search/orama.mdx
#	apps/docs/content/docs/(framework)/what-is-fumadocs.mdx
#	apps/docs/content/docs/cli/index.mdx
#	apps/docs/content/docs/headless/mdx/headings.mdx
#	apps/docs/content/docs/headless/mdx/rehype-code.mdx
#	apps/docs/content/docs/headless/mdx/remark-image.mdx
#	apps/docs/content/docs/headless/source-api/plugins.mdx
#	apps/docs/content/docs/mdx/(integrations)/loader/node.mdx
#	apps/docs/content/docs/mdx/global.mdx
#	apps/docs/content/docs/mdx/index.mdx
#	apps/docs/content/docs/ui/components/banner.mdx
#	apps/docs/content/docs/ui/components/graph-view.mdx
#	apps/docs/content/docs/ui/layouts/flux.mdx
#	apps/docs/content/docs/ui/layouts/home-layout.mdx
#	apps/docs/content/docs/ui/layouts/root-provider.mdx
#	apps/docs/content/docs/ui/theme.mdx
#	apps/docs/eslint.config.mjs
#	apps/docs/scripts/preload.ts
#	apps/docs/scripts/update-orama-index.ts
#	examples/openapi/README.md
#	examples/openapi/scripts/generate-docs.ts
#	examples/react-router-i18n/scripts/preload.ts
#	examples/tanstack-start-story/src/components/callout/story-client.tsx
#	packages/base-ui/scripts/compile-inline.utils.ts
#	packages/cli/src/build/index.ts
#	packages/core/src/content/md/frontmatter.ts
#	packages/create-app/scripts/update-git-repo.js
#	packages/create-app/scripts/update-git-repo.sh
#	packages/mdx-runtime/eslint.config.mjs
#	packages/openapi/scripts/compile-inline.utils.ts
#	packages/openapi/src/server/create.ts
#	packages/openapi/src/ui/full.tsx
#	packages/openapi/src/utils/process-document.ts
#	packages/press/waku.config.ts
#	packages/radix-ui/scripts/compile-inline.utils.ts
2026-06-02 09:55:12 -07:00
Fuma Nama 322cc35208 chore: bump deps 2026-05-26 19:49:18 +08:00
Fuma Nama 53a0a91f86 Chore: bump deps 2026-05-18 19:44:58 +08:00
Fuma Nama 4630931773 chore: bump deps 2026-05-16 00:10:59 +08:00
Fuma Nama a02b746fc2 MDX: Make source config optional in Vite plugin 2026-05-08 16:28:55 +08:00
Fuma Nama 73c9f7cee7 Bump deps 2026-05-07 22:40:49 +08:00
Fuma NamaGitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
16cce8f4cd Version Packages (#3240)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-03 00:02:38 +08:00
Fuma Nama 7b3583abde CLI: improve for Sanity registry 2026-05-02 22:23:17 +08:00
Fuma Nama a3418c1c8b Update fuma-cli 2026-05-02 21:48:57 +08:00
Fuma Nama 4e112dcd00 Sanity: ship content types via regsitry 2026-05-02 21:43:17 +08:00
Fuma Nama 0f30271811 Chore: bump deps 2026-04-27 23:21:15 +08:00
Fuma NamaandGitHub 64f7472443 Merge pull request #3235 from fuma-nama/changeset-release/dev
Version Packages
2026-04-27 21:52:00 +08:00
Fuma Nama 37bf379554 CLI: fix layout preserve plugin 2026-04-27 21:05:23 +08:00
Fuma Nama b8adbddd86 Bump deps 2026-04-24 20:07:29 +08:00
Fuma Nama 0a6ad791fa Docs: introduce Local MD 2026-04-20 17:25:36 +08:00
Fuma Nama 75fe4cd4ea Bump deps 2026-04-19 22:23:53 +08:00
Fuma NamaGitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
bf6836738a Version Packages (#3215)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-16 18:24:45 +08:00
Fuma Nama e569056762 CLI: fix base dir detection for React Router 2026-04-16 17:39:38 +08:00
Fuma Nama b777858f20 Bump deps 2026-04-15 13:44:07 +08:00
Fuma NamaGitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3310ffc12f Version Packages (#3202)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-12 19:54:24 +08:00
Fuma Nama 542db0fc40 Chore: fix npm pack skipping nested node_modules 2026-04-12 19:52:29 +08:00
Fuma NamaandGitHub e343c774c3 Merge pull request #3200 from fuma-nama/changeset-release/dev
Version Packages
2026-04-12 14:58:32 +08:00
Fuma Nama bc5777c746 Chore: bundle more deps 2026-04-12 14:34:44 +08:00
Fuma Nama dd7eaa21ab Chore: bundle more deps 2026-04-12 13:41:16 +08:00
Fuma Nama b08397dfad Clean code 2026-04-09 21:53:42 +08:00
Fuma NamaGitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
b581024cf4 Version Packages (#3190)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-08 15:56:18 +08:00
Fuma Nama 7081779a25 CLI: Clean unused files 2026-04-08 15:15:57 +08:00
Fuma Nama 03ac983951 fix type errors 2026-04-07 18:50:16 +08:00
Fuma NamaandGitHub e22a22fd57 adopt Fuma CLI (#3194)
* Adopt Fuma CLI

* mark stable

* bump deps
2026-04-07 16:52:40 +08:00
Fuma NamaandGitHub 7b5a8043c0 Merge pull request #3172 from fuma-nama/changeset-release/dev
Version Packages
2026-04-01 18:43:52 +08:00
Fuma Nama 2cdc53edc4 CLI: fix default config cwd generation 2026-04-01 18:42:21 +08:00
Fuma NamaGitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
25d9783d92 Version Packages (#3168)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-01 18:25:56 +08:00
Fuma Nama 9996ebc8a4 CLI: write deps when cancel 2026-04-01 15:49:22 +08:00
Fuma Nama 06d90e853a CLI: Support other React.js frameworks for AI chat 2026-04-01 00:20:41 +08:00
Fuma Nama 5f418222f5 CLI: improve output formatting 2026-03-31 23:52:38 +08:00
Fuma Nama 7d4c6f63f9 CLI: improve route handler output 2026-03-31 21:49:34 +08:00
Fuma Nama 1fd5fe6d0c CLI: Support framework-agnostic route handler 2026-03-31 20:25:03 +08:00
Fuma Nama b34acab76e fix format 2026-03-28 18:00:45 +08:00
Fuma Nama 95b405e660 Chore: bump deps 2026-03-27 18:56:19 +08:00
Fuma Nama 517f489dbf Chore: migrete to oxlint 2026-03-27 18:47:22 +08:00
Fuma Nama a77dc98a73 Chore: bump deps 2026-03-25 19:58:00 +08:00
Fuma Namaandzeekay 8bb84ceea1 Chore: migrate TypeScript 6 & Lucide 2026-03-24 19:01:44 -07:00
Fuma Nama 5a42a39eb1 Chore: migrate TypeScript 6 & Lucide 2026-03-24 23:59:05 +08:00
zeekay a9be7fc34e docs: referral program service page — tiers, API, OSS fund, fraud prevention 2026-03-22 19:10:16 -07:00
zeekay 968d566467 feat: merge upstream fumadocs 16.6+ (182 commits) and rename to @hanzo/docs-*
Upstream changes include:
- UI: improved TOC detection, clerk variant, slot support
- Base UI: redesigned home layout navigation menu
- CLI: slot support in customise command
- OpenAPI: unsetting auth fields in playground
- Multiple version package releases

All fumadocs-* imports renamed to @hanzo/docs-* namespace.
2026-03-22 18:43:20 -07:00