Tech DebtsCLI
TanStack Start Wiki Scaffold
TanStack Start Wiki Scaffold
Initial Debt
dp scaffold init can seed a Fumadocs wiki, but the generated app is hard-coded to Next.js.
Fumadocs and TanStack Start both support a first-class TanStack Start docs app, and issue #20 asks
for that framework option. Without a durable framework pin, a manually converted TanStack Start
wiki can also be pulled back toward Next.js by dp update wiki alignment.
Evidence
apps/cli/src/content/wiki.tsemits Next.js package scripts,next.config.mjs, App Router files, andfumadocs-ui/provider/next.apps/cli/src/scaffold/stage.tsprompts only for backlog provider and writes onlybacklog-provider.md.apps/cli/src/update/run.tsstages expected wiki output withscaffoldWikiForDirectory()and has no framework pin lookup.- Fumadocs current docs list TanStack Start as a supported
create-fumadocs-appframework and its manual install uses Vite, TanStack routes, andfumadocs-ui/provider/tanstack.
Resolution
- Add a wiki framework prompt to
dp scaffold init. - Persist the framework choice in
<wiki-root>/wiki-framework.md. - Emit framework-specific Next.js or TanStack Start runtime files from the shared wiki template.
- Teach
dp updateto preserve a pinned TanStack Start wiki. - Update scaffold docs and record implementation evidence.
Resolution Spec
apps/wiki/content/docs/project/specs/cli/issue-20-tanstack-start-wiki/SPEC.md
Resolution Plan
apps/wiki/content/docs/project/specs/cli/issue-20-tanstack-start-wiki/PLAN.md
Implementation Notes
apps/wiki/content/docs/project/specs/cli/issue-20-tanstack-start-wiki/IMPLEMENTATION-NOTES.md
Validation
bun run --cwd apps/cli test -- src/scaffold/stage.test.ts src/update/run.test.ts