vela 0.10.13 → 0.11.0
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/README.md +6 -2
- package/dist/bin.js +1790 -1266
- package/dist/bin.js.map +4 -4
- package/package.json +2 -2
- package/templates/minimal/components.json +4 -2
- package/templates/minimal/package.template.json +7 -3
- package/templates/minimal/src/app.css +57 -53
- package/templates/minimal/src/lib/components/ui/button/button.svelte +22 -13
- package/templates/minimal/src/lib/components/ui/sonner/sonner.svelte +23 -2
- package/templates/minimal/src/routes/(public)/+page.svelte +5 -4
- package/templates/minimal/vite.config.ts +1 -3
- package/templates/server/apply.sh +51 -11
- package/templates/server/destroy.sh +2 -2
- package/templates/server/lib.sh +38 -0
- package/templates/server/origin.sh +62 -0
- package/templates/static/components.json +4 -2
- package/templates/static/package.template.json +4 -3
- package/templates/static/src/app.css +57 -53
- package/templates/static/src/lib/components/ui/button/button.svelte +22 -13
- package/templates/static/src/lib/components/ui/sonner/sonner.svelte +23 -2
- package/templates/static/src/routes/(public)/+page.svelte +5 -4
- package/templates/ui/css/gray.css +0 -68
- package/templates/ui/css/neutral.css +0 -68
- package/templates/ui/css/slate.css +0 -68
- package/templates/ui/css/stone.css +0 -68
- package/templates/ui/css/zinc.css +0 -68
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ That's a running app with a database behind it. No separate PocketBase install,
|
|
|
15
15
|
## What you get
|
|
16
16
|
|
|
17
17
|
- **A backend on day one.** PocketBase, migrated and running locally, with types synced from your schema as it changes.
|
|
18
|
-
- **Auth, payments, teams, email, i18n** — one command each, generated into your project as code you own.
|
|
18
|
+
- **Auth, payments, teams, notifications, email, i18n** — one command each, generated into your project as code you own.
|
|
19
19
|
- **CRUD you didn't write.** `vela generate scaffold post title:text body:editor` gives you the model, schema, forms, and pages.
|
|
20
20
|
- **Describe it instead.** Pass `--ai "a blog post with tags and a cover image"` and review the collection it designs before anything is written.
|
|
21
21
|
- **shadcn-svelte components** on tap, and fixtures and seeds for realistic data while you work.
|
|
@@ -26,7 +26,11 @@ That's a running app with a database behind it. No separate PocketBase install,
|
|
|
26
26
|
vela enable auth # sign-in, sessions, OAuth scaffold
|
|
27
27
|
vela generate scaffold post title:text body:editor # model, forms, list and detail pages
|
|
28
28
|
vela migrate up # schema, versioned and in git
|
|
29
|
-
vela ui add button card dialog # components, into your project
|
|
29
|
+
vela ui add button card dialog # shadcn-svelte components, into your project
|
|
30
|
+
vela ui add data-table multiselect # vela's own components, same command
|
|
31
|
+
vela ui list # what's installed, what vela ships, what the registry offers
|
|
32
|
+
vela ui style nova # switch shadcn-svelte style, re-adding its components
|
|
33
|
+
vela ui base zinc # base palette; `vela ui theme blue` for an accent
|
|
30
34
|
```
|
|
31
35
|
|
|
32
36
|
Changed your mind? `vela destroy` and `vela disable` take it back out.
|