diff --git a/.boot.log b/.boot.log deleted file mode 100644 index 7da2e09..0000000 --- a/.boot.log +++ /dev/null @@ -1,9 +0,0 @@ - -> dev -> react-router dev - -Port 5173 is in use, trying another one... - ➜ Local: http://localhost:5174/ - ➜ Network: use --host to expose -6:37:06 pm [vite] (client) ✨ new dependencies optimized: lucide-react, @base-ui/react/button, class-variance-authority, @base-ui/react/input, @base-ui/react/avatar, @base-ui/react/dialog, clsx, tailwind-merge, @base-ui/react/menu, react-markdown -6:37:06 pm [vite] (client) ✨ optimized dependencies changed. reloading diff --git a/.gitignore b/.gitignore index 9e78d59..b450be4 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ .demo.log .demo.pid +.boot.log diff --git a/CLAUDE.md b/CLAUDE.md index dbee40d..eb35374 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -41,14 +41,20 @@ There is no test runner configured. `package.json` has no `test` script and no v ## Crema system (authoritative) -- **Manifest** (canonical catalog of all libs and themes) lives in the `crema-manifest` repo. The Gitea raw-file HTTP URL 404s, but the repo is publicly cloneable — fetch it with: - ```bash - git clone --depth 1 https://git.sky-ai.com/CremaUIStudio/crema-manifest.git /tmp/crema-manifest && cat /tmp/crema-manifest/manifest.json - ``` - Each entry has `name`, `alias` (`@crema/`), `category`, `description`, `navLabel`, `navIcon`, and `demo.files[]`. - Check this before building any UI primitive — there's a good chance a `lib-*-ui` already does it. The per-lib `src/index.tsx` `// PURPOSE` / `// EXPORTS` header in the sibling repo is the same info at finer grain. -- **Each `@crema/*-ui` lib is its own git repo** at `https://git.sky-ai.com/CremaUIStudio/lib--ui.git`, cloned as a sibling of this app. Edits to lib code commit to that lib's repo, not this one. +- **Lib catalog:** see `docs/LIBS.md` for a snapshot of every `@crema/*-ui` lib + (the ones wired into this project AND the ones available to add). Before + building any UI primitive, check there first — there's a good chance a lib + already does it. Refresh the snapshot with `npm run sync-libs`. +- **Each `@crema/*-ui` lib is its own git repo** at + `https://git.sky-ai.com/CremaUIStudio/lib--ui`, cloned as a sibling + of this app. Edits to lib code commit to that lib's repo, not this one. - **Themes** (`lib-theme-*`) are CSS-only token files at the same Gitea org. +- **Live manifest** (which `docs/LIBS.md` is generated from) is the + `crema-manifest` repo. Gitea's raw-file HTTP URL 404s; clone instead: + ```bash + git clone --depth 1 https://git.sky-ai.com/CremaUIStudio/crema-manifest.git /tmp/crema-manifest + cat /tmp/crema-manifest/manifest.json + ``` ## Adding a lib after scaffold @@ -65,6 +71,8 @@ Manual fallback (3 edits): 2. `app/app.css` → add `@source "../../lib--ui/src";` 3. `tsconfig.json` paths → add `"@crema/-ui": ["../lib--ui/src/index.tsx"]` and the `/*` variant. +Then run `npm run sync-libs` to refresh `docs/LIBS.md`. + ## Theme convention - A single theme (`lib-theme-mightypix` by default) is loaded via `:root` in