@beeblock/svelar 0.5.0 → 0.6.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 CHANGED
@@ -15,11 +15,9 @@ Full documentation is available at **[svelar.dev](https://svelar.dev)**.
15
15
  ## Quick Start
16
16
 
17
17
  ```bash
18
- # Scaffold a new project
18
+ # Scaffold a new project (installs deps, shadcn-svelte, runs migrations automatically)
19
19
  npx svelar new my-app
20
20
  cd my-app
21
- npm install
22
- npx svelar migrate
23
21
  npm run dev
24
22
  ```
25
23
 
@@ -57,7 +55,7 @@ See the [Getting Started guide](https://svelar.dev/docs/getting-started) for a c
57
55
  | **Permissions** | `svelar/permissions` | Role-based access control with permissions and gates |
58
56
  | **i18n** | `svelar/i18n` | Paraglide-js integration with language switcher |
59
57
  | **Forms** | `svelar/forms` | SvelteKit Superforms integration helpers |
60
- | **UI Components** | `svelar/ui` | Button, Card, Input, Alert, Badge, Avatar, Tabs, Icon, Toaster |
58
+ | **UI Components** | `svelar/ui` | Minimal built-in components + [shadcn-svelte](https://shadcn-svelte.com) pre-installed |
61
59
  | **Hooks** | `svelar/hooks` | One-line SvelteKit hooks setup with sensible defaults |
62
60
  | **Container** | `svelar/container` | IoC container with singleton/transient bindings |
63
61
  | **Plugins** | `svelar/plugins` | Plugin discovery, publishing, and CLI management |
@@ -71,13 +69,30 @@ See the [Getting Started guide](https://svelar.dev/docs/getting-started) for a c
71
69
  | **Uploads** | `svelar/uploads` | File upload handling with validation (local + S3) |
72
70
  | **Dashboard** | `svelar/dashboard` | Admin dashboard with job/scheduler monitoring and log viewer |
73
71
  | **Search** | `svelar/search` | Meilisearch integration with auto-syncing `Searchable` mixin |
74
- | **Stripe** | `svelar/stripe` | Billing, subscriptions, checkout, invoices, webhook handling |
75
72
  | **Testing** | `svelar/testing` | Factory, `useSvelarTest()`, `refreshDatabase()`, `actingAs()`, database assertions |
76
73
 
74
+ ## Official Plugins
75
+
76
+ | Package | Description |
77
+ |---------|-------------|
78
+ | [`@beeblock/svelar-datatable`](https://www.npmjs.com/package/@beeblock/svelar-datatable) | DataTable with sorting, searching, pagination, inline editing, export, virtual scroll |
79
+ | [`@beeblock/svelar-media`](https://www.npmjs.com/package/@beeblock/svelar-media) | File attachments with image conversions, collections, S3/local storage |
80
+ | [`@beeblock/svelar-social-auth`](https://www.npmjs.com/package/@beeblock/svelar-social-auth) | OAuth providers (Google, GitHub, Facebook, Twitter, Discord) |
81
+ | [`@beeblock/svelar-two-factor`](https://www.npmjs.com/package/@beeblock/svelar-two-factor) | TOTP two-factor authentication with QR setup and recovery codes |
82
+ | [`@beeblock/svelar-settings`](https://www.npmjs.com/package/@beeblock/svelar-settings) | Typed settings with database persistence and per-user/per-team scoping |
83
+ | [`@beeblock/svelar-comments`](https://www.npmjs.com/package/@beeblock/svelar-comments) | Threaded comments with moderation, voting, and HasComments mixin |
84
+ | [`@beeblock/svelar-activity-log`](https://www.npmjs.com/package/@beeblock/svelar-activity-log) | Audit trail with LogsActivity mixin and causer tracking |
85
+ | [`@beeblock/svelar-backup`](https://www.npmjs.com/package/@beeblock/svelar-backup) | Database backup with local/S3 destinations and cleanup policies |
86
+ | [`@beeblock/svelar-charts`](https://www.npmjs.com/package/@beeblock/svelar-charts) | SVG chart components (line, bar, pie, doughnut, area) |
87
+ | [`@beeblock/svelar-stripe`](https://www.npmjs.com/package/@beeblock/svelar-stripe) | Stripe billing with polymorphic Billable mixin, subscriptions, one-time payments, checkout, invoices, webhooks |
88
+ | [`@beeblock/svelar-tags`](https://www.npmjs.com/package/@beeblock/svelar-tags) | Tagging with HasTags mixin, tag types, slugs, and tag input UI |
89
+ | [`@beeblock/svelar-impersonate`](https://www.npmjs.com/package/@beeblock/svelar-impersonate) | User impersonation with session guards and banner UI |
90
+ | [`@beeblock/svelar-sitemap`](https://www.npmjs.com/package/@beeblock/svelar-sitemap) | XML sitemap generation with scheduling and model discovery |
91
+
77
92
  ## CLI
78
93
 
79
94
  ```bash
80
- npx svelar new my-app # scaffold a new project
95
+ npx svelar new my-app # scaffold with shadcn-svelte + all components
81
96
  npx svelar update # update scaffold files without overwriting
82
97
  npx svelar make:model Post -m -c # model + migration + controller
83
98
  npx svelar make:service PaymentService # service class
@@ -89,9 +104,12 @@ npx svelar migrate # run migrations
89
104
  npx svelar schedule:run # start the scheduler
90
105
  npx svelar queue:work # process queue jobs
91
106
  npx svelar tinker # interactive REPL
107
+ npx svelar plugin:list # list discovered plugins
108
+ npx svelar plugin:install @beeblock/svelar-tags # install + publish
109
+ npx svelar plugin:publish @beeblock/svelar-tags # publish migrations & routes
92
110
  ```
93
111
 
94
- 41 code generation commands available. Run `npx svelar` to see all commands.
112
+ 44 commands available. Run `npx svelar` to see all commands.
95
113
 
96
114
  ## Database Support
97
115