mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-27 09:19:53 +00:00
apps/docs imported the same component library under three names — 11 files from `@hanzo/docs/ui/*` (a pure re-export shell), 10 from `@hanzo/docs-ui` (the Radix fork), plus 5 hand-copied shadcn files under components/ui. All of it now resolves to `@hanzo/docs-base-ui`. The 5 local copies are deleted. badge, hover-card, select and the container card move into base-ui on `@base-ui/react` — preview-card is the hover-card analog and Select.Value already takes `placeholder`, so the swap is 1:1 and introduces no Radix. buttonVariants gains `xs`/`md`/`lg` and `link`, purely additive, so no existing caller changes. Three Radix packages leave apps/docs; `presence` and `tooltip` stay because non-shadcn code uses them. global.css now takes base-ui's preset rather than the Radix fork's. The two are not duplicates: `neutral.css` defines the colours, `preset.css` carries base styles plus the `@source inline` safelists. Only `default-colors.css` declares a `--color-fd-*` value, and it is byte-identical across both forks, so no colour moves. `types:check` never ran. pnpm installs the mdx bin scope-stripped as `docs-mdx`, so `@hanzo/docs-mdx &&` died at `sh: no such file` and took `tsc` with it — silently, in every app, for `lint` too. Fixed in all 32 scripts. apps/docs reports 107 first-party errors; that is the real number, unchanged by this commit. Also unbreaks two undefined references in openapi's server entry that a large upstream merge left behind: PlaygroundAuthProvider was used but never imported, and pickSchema/encodeInternalRef were orphaned utilities. Both crashed the docs export. More remain in that package (renderResponse is a missing function, not an import) — noted, not guessed at. Co-authored-by: Hanzo Dev <[email protected]>
36 lines
937 B
JSON
36 lines
937 B
JSON
{
|
|
"name": "pulsar-docs",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "next build",
|
|
"dev": "next dev --port 3008",
|
|
"start": "next start",
|
|
"types:check": "docs-mdx && next typegen && tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@hanzo/docs-core": "workspace:*",
|
|
"@hanzo/docs-mdx": "workspace:*",
|
|
"@hanzo/docs-ui": "workspace:*",
|
|
"@hanzo/docs-base-ui": "workspace:*",
|
|
"katex": "^0.16.11",
|
|
"lucide-react": "^0.562.0",
|
|
"next": "16.2.12",
|
|
"react": "^19.2.8",
|
|
"react-dom": "^19.2.8",
|
|
"rehype-katex": "^7.0.1",
|
|
"remark-math": "^6.0.0",
|
|
"tailwind-merge": "^3.4.0",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4.1.18",
|
|
"@types/mdx": "^2.0.13",
|
|
"@types/node": "25.0.5",
|
|
"@types/react": "^19.2.18",
|
|
"@types/react-dom": "^19.2.4",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "^4.1.18",
|
|
"typescript": "^6.0.3"
|
|
}
|
|
} |