create-kide-app 0.0.33 → 0.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/templates/base/CLAUDE.md
CHANGED
|
@@ -13,7 +13,6 @@ src/cms/.generated/ # Auto-generated — never edit
|
|
|
13
13
|
src/components/ # Astro/React components
|
|
14
14
|
src/layouts/ # Page layouts
|
|
15
15
|
src/pages/ # Routes
|
|
16
|
-
src/styles/admin.css # Admin theme overrides (shadcn variables)
|
|
17
16
|
src/styles/public.css # Public site styles (plain Tailwind)
|
|
18
17
|
```
|
|
19
18
|
|
|
@@ -32,8 +31,6 @@ pnpm cms:seed # seed database with demo content (if configured)
|
|
|
32
31
|
- Always query content through the typed local API: `cms.posts.find()`, `cms.pages.findOne()`, etc. Never bypass it with raw DB queries.
|
|
33
32
|
- DB columns use `snake_case`, TypeScript fields use `camelCase`. System fields are prefixed with `_`.
|
|
34
33
|
- Rich text is stored as JSON AST, never HTML or Markdown.
|
|
35
|
-
- Admin styles use shadcn CSS variables. Public site uses plain Tailwind colors — no shared styles between admin and public.
|
|
36
|
-
- Use the `cn()` utility from `@kidecms/core/admin/lib/utils` for conditional class names in admin components.
|
|
37
34
|
- `labelField` on collections controls display name in the admin (fallback: title, name, or first text field).
|
|
38
35
|
|
|
39
36
|
## Stack
|