@beeblock/svelar 0.5.1 → 0.6.1
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 +5 -6
- package/dist/cli/bin.js +374 -846
- package/dist/cli/commands/NewCommandTemplates.d.ts +2 -10
- package/dist/cli/commands/UpdateCommand.d.ts +3 -0
- package/dist/cli/index.js +1 -1
- package/dist/plugins/PluginInstaller.js +1 -1
- package/package.json +2 -13
- package/src/ui/Seo.svelte +104 -0
- package/src/ui/index.ts +1 -0
- package/dist/stripe/Invoice.d.ts +0 -44
- package/dist/stripe/StripeService.d.ts +0 -52
- package/dist/stripe/StripeWebhookHandler.d.ts +0 -14
- package/dist/stripe/Subscription.d.ts +0 -40
- package/dist/stripe/SubscriptionManager.d.ts +0 -39
- package/dist/stripe/SubscriptionPlan.d.ts +0 -41
- package/dist/stripe/SyncStripeCustomerJob.d.ts +0 -11
- package/dist/stripe/index.d.ts +0 -22
- package/dist/stripe/index.js +0 -1
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,8 @@ 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` |
|
|
58
|
+
| **UI Components** | `svelar/ui` | Minimal built-in components + [shadcn-svelte](https://shadcn-svelte.com) pre-installed |
|
|
59
|
+
| **SEO** | `svelar/ui` | `<Seo>` component for meta tags, Open Graph, Twitter Cards, JSON-LD structured data |
|
|
61
60
|
| **Hooks** | `svelar/hooks` | One-line SvelteKit hooks setup with sensible defaults |
|
|
62
61
|
| **Container** | `svelar/container` | IoC container with singleton/transient bindings |
|
|
63
62
|
| **Plugins** | `svelar/plugins` | Plugin discovery, publishing, and CLI management |
|
|
@@ -71,7 +70,6 @@ See the [Getting Started guide](https://svelar.dev/docs/getting-started) for a c
|
|
|
71
70
|
| **Uploads** | `svelar/uploads` | File upload handling with validation (local + S3) |
|
|
72
71
|
| **Dashboard** | `svelar/dashboard` | Admin dashboard with job/scheduler monitoring and log viewer |
|
|
73
72
|
| **Search** | `svelar/search` | Meilisearch integration with auto-syncing `Searchable` mixin |
|
|
74
|
-
| **Stripe** | `svelar/stripe` | Billing, subscriptions, checkout, invoices, webhook handling |
|
|
75
73
|
| **Testing** | `svelar/testing` | Factory, `useSvelarTest()`, `refreshDatabase()`, `actingAs()`, database assertions |
|
|
76
74
|
|
|
77
75
|
## Official Plugins
|
|
@@ -87,6 +85,7 @@ See the [Getting Started guide](https://svelar.dev/docs/getting-started) for a c
|
|
|
87
85
|
| [`@beeblock/svelar-activity-log`](https://www.npmjs.com/package/@beeblock/svelar-activity-log) | Audit trail with LogsActivity mixin and causer tracking |
|
|
88
86
|
| [`@beeblock/svelar-backup`](https://www.npmjs.com/package/@beeblock/svelar-backup) | Database backup with local/S3 destinations and cleanup policies |
|
|
89
87
|
| [`@beeblock/svelar-charts`](https://www.npmjs.com/package/@beeblock/svelar-charts) | SVG chart components (line, bar, pie, doughnut, area) |
|
|
88
|
+
| [`@beeblock/svelar-stripe`](https://www.npmjs.com/package/@beeblock/svelar-stripe) | Stripe billing with polymorphic Billable mixin, subscriptions, one-time payments, checkout, invoices, webhooks |
|
|
90
89
|
| [`@beeblock/svelar-tags`](https://www.npmjs.com/package/@beeblock/svelar-tags) | Tagging with HasTags mixin, tag types, slugs, and tag input UI |
|
|
91
90
|
| [`@beeblock/svelar-impersonate`](https://www.npmjs.com/package/@beeblock/svelar-impersonate) | User impersonation with session guards and banner UI |
|
|
92
91
|
| [`@beeblock/svelar-sitemap`](https://www.npmjs.com/package/@beeblock/svelar-sitemap) | XML sitemap generation with scheduling and model discovery |
|
|
@@ -94,7 +93,7 @@ See the [Getting Started guide](https://svelar.dev/docs/getting-started) for a c
|
|
|
94
93
|
## CLI
|
|
95
94
|
|
|
96
95
|
```bash
|
|
97
|
-
npx svelar new my-app # scaffold
|
|
96
|
+
npx svelar new my-app # scaffold with shadcn-svelte + all components
|
|
98
97
|
npx svelar update # update scaffold files without overwriting
|
|
99
98
|
npx svelar make:model Post -m -c # model + migration + controller
|
|
100
99
|
npx svelar make:service PaymentService # service class
|