docs(fumadocs): document build pipeline and dependency guards#154
Draft
tembo[bot] wants to merge 1 commit into
Draft
docs(fumadocs): document build pipeline and dependency guards#154tembo[bot] wants to merge 1 commit into
tembo[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
|
Requesting review from @leoisadev1 who has experience with the following files modified in this PR:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Following the merge of #152 (which unified
lucide-reactand added two build-time guards after afumadocs-corepeer split took production down), the docs-app README had no coverage of the build itself. It documents the Notra blog pipeline in depth but never explained whatbun run buildactually does or why the new guards exist. This PR fills that gap.The invariant already has an agent-oriented note in
AGENTS.md; this adds the developer-facing reference inapps/fumadocs/README.md, the natural home for docs-app build docs — no redundant page.Docs added/updated
apps/fumadocs/README.md— new Build pipeline section (placed after the dev-server intro, before the Notra section):bun run buildsteps and what each does, with a note that CI runs the same build viarelease:ciagainst the frozen lockfile.fumadocs-core-instances → two-React-contexts →FrameworkProviderhydration crash, why the build stays green, and thelucide-reactpeer-of-fumadocs-coretrigger from the 2026-07-07 incident.check-client-bundle.ts's explicit-directory invocation.Codepaths covered
apps/fumadocs/package.json— thebuildscript and its step order.apps/fumadocs/scripts/check-module-identity.ts— pre-build singleton-identity guard (fumadocs-core,react,react-dom,@tanstack/react-router,lucide-react).apps/fumadocs/scripts/check-client-bundle.ts— post-build framework-context duplication backstop.apps/fumadocs/scripts/fetch-notra-posts.tsandensure-root-index.ts— the remaining build steps.Key knowledge gaps addressed
bun run buildis more thanvite build, and what fails the build.Documentation-only; no source or config changes.