Skip to content

Commit cff6d81

Browse files
committed
docs: update LLM.md with upstream sync info and current structure
1 parent f456c5c commit cff6d81

1 file changed

Lines changed: 33 additions & 7 deletions

File tree

LLM.md

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,34 @@ React component library (shadcn/ui fork). 161 components, 24+ blocks, two themes
1010

1111
```
1212
ui/
13-
app/ Documentation site (Next.js 15.3.1, React 19)
13+
app/ Hanzo documentation site (Next.js 15.3.1, React 19)
1414
registry/ Component registry (SOURCE OF TRUTH)
1515
default/ui/ 150+ components
1616
default/example/ Usage demos
1717
default/blocks/ 24+ full-page sections
1818
new-york/ Alternative theme
1919
content/docs/ MDX documentation
2020
scripts/ Build scripts
21+
apps/
22+
v4/ Upstream shadcn v4 docs/registry app (port 4000)
23+
packages/
24+
shadcn/ shadcn CLI v4.1.0 (font system, chart colors, scaffold)
25+
tests/ Integration tests for shadcn CLI
26+
og/ OG image generation (Hanzo-only)
2127
pkg/
2228
ui/ Core library (npm)
23-
auth/ Auth components (Firebase optional since v2.6.0)
24-
auth-firebase/ Firebase auth (opt-in package)
25-
commerce/ E-commerce components
29+
react/ React primitives
2630
brand/ Branding system
27-
brands/ White-label configs (Zoo, Lux)
31+
commerce/ E-commerce components
32+
checkout/ Checkout flow
33+
shop/ Shop components
34+
agent-ui/ AI agent UI components
35+
gui/ GUI component packages (@hanzogui/*)
36+
tokens/ Design tokens
37+
skills/
38+
shadcn/ AI skill definitions for shadcn CLI
39+
templates/ Project templates (next, vite, astro, react-router, start + monorepo variants)
40+
template/next/ Hanzo-customized Next.js template
2841
```
2942

3043
## Critical: Build Order
@@ -78,7 +91,19 @@ import { cn } from '@hanzo/ui/lib/utils'
7891

7992
## Tech Stack
8093

81-
React 18.3.1 (19 experimental), Next.js 15.3.1, Tailwind CSS (OKLCH colors), Radix UI, Turborepo + pnpm, Fumadocs (MDX), class-variance-authority.
94+
React 19, Next.js 15.3+, Tailwind CSS 4 (OKLCH colors), Radix UI, Turborepo + pnpm, Fumadocs (MDX), class-variance-authority.
95+
96+
## Upstream Sync
97+
98+
Remote `shadcn` points to `/Users/z/work/shadcn/ui` (local clone of shadcn-ui/ui).
99+
hanzoai/ui is NOT a GitHub fork -- no shared object store, so large merges can fail on push.
100+
101+
Last sync: 2026-03-24 (shadcn@4.1.0, commit 8bec9c123)
102+
Strategy: file-level checkout from shadcn/main for specific directories (not git merge).
103+
- Take theirs: packages/shadcn/, packages/tests/, apps/, templates/, scripts/, skills/
104+
- Keep ours: app/, pkg/, demo/, docs/, template/next/, pnpm-workspace.yaml, package.json
105+
- Remove: deprecated/ (upstream deleted it)
106+
- Regenerate: pnpm-lock.yaml after sync
82107

83108
## Key Features
84109

@@ -95,11 +120,12 @@ React 18.3.1 (19 experimental), Next.js 15.3.1, Tailwind CSS (OKLCH colors), Rad
95120
- Firebase split to optional `@hanzo/auth-firebase` package (Jan 2025)
96121
- `@hanzo/auth` v2.6.0 uses pluggable provider registry: `registerAuthProvider('firebase', FirebaseAuthService)`
97122

98-
## Component Stats (2025-10-18)
123+
## Component Stats
99124

100125
- 161 total files, ~127 implemented, ~34 stubs
101126
- Unique: 9 3D components, 12 AI components, 13 animation components, 15 nav variants
102127
- 3x more components than upstream shadcn/ui (161 vs 58)
128+
- shadcn CLI: v4.1.0 with font transformers, chart color picker, scaffold from github
103129

104130
## Rules
105131

0 commit comments

Comments
 (0)