mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-10-30 18:22:59 +00:00
Land the Dependabot dependency upgrades with real migration + build verification. templates/vite-monorepo (standalone workspace): - vite 7.3.1 -> ^8.0.16 (closes #151) - @vitejs/plugin-react 5.1.4 -> ^6.0.2 (closes #143) - @types/node -> ^25.5.0 (closes #135) vite.config needed no migration (only react()+tailwindcss() plugins); verified `tsc -b && vite build` under Node 26 -> "vite v8.0.16 ... built". apps/v4 (docs site): - fumadocs-ui 16.0.5 -> 16.10.3, fumadocs-core 16.0.5 -> 16.10.3 (closes #119) - fumadocs-mdx 13.0.2 -> 15.0.12, fumadocs-docgen 2.0.0 -> 3.0.10 (lockstep) - unist-builder 3.0.0 -> 4.0.0 (closes #122) Migration: fumadocs-mdx 15 splits generated output into .source/server.ts (no barrel index.ts), so lib/source.ts imports `docs` from "@/.source/server". Verified full `next build` -> 1023 static routes prerendered (205 /docs/*). pkg/ui: - @next/third-parties 16.2.1 -> ^16.2.7 (closes #120); verified tsup build. packages/shadcn: - @dotenvx/dotenvx 1.48.4 -> ^1.73.1 (closes #118); verified tsup build. app: - puppeteer 24.40.0 -> ^25.1.0 (lockstep with root, closes #121); verified import + launch API under Node 26. Co-authored-by: Hanzo Dev <[email protected]>
8 lines
176 B
TypeScript
8 lines
176 B
TypeScript
import { docs } from "@/.source/server"
|
|
import { loader } from "fumadocs-core/source"
|
|
|
|
export const source = loader({
|
|
baseUrl: "/docs",
|
|
source: docs.toFumadocsSource(),
|
|
})
|