saasaloy 0.1.1 → 0.2.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
@@ -51,6 +51,7 @@ my-app/
51
51
  packages/db/ Drizzle schema + client (saasaloy add database-d1 | database-postgres)
52
52
  packages/auth/ Better Auth (saasaloy add auth)
53
53
  packages/email/ email provider interface (saasaloy add email)
54
+ packages/queue/ background jobs + schedules (saasaloy add queue)
54
55
  .agents/skills/ agent skills, symlinked from .claude/skills/
55
56
  DESIGN.md the design contract
56
57
  saasaloy.json installed modules + alias map
@@ -64,6 +65,7 @@ my-app/
64
65
  | Database | Drizzle ORM on D1 (SQLite) or Postgres |
65
66
  | Auth | Better Auth |
66
67
  | Email | Cloudflare Email Sending, Plunk, or a console logger |
68
+ | Background work | Cloudflare Queues and Cron Triggers, or an in-process runner |
67
69
  | Infra | wrangler per workspace, or Pulumi via the `infra` module |
68
70
  | Monorepo | Turborepo + pnpm |
69
71
 
@@ -89,9 +91,9 @@ Modules come in tiers. A **capability** scaffolds a workspace and sets conventio
89
91
 
90
92
  | Tier | Modules |
91
93
  |---|---|
92
- | Capability | `api`, `database`, `validators`, `logger`, `auth`, `admin`, `email`, `sms`, `infra` |
94
+ | Capability | `api`, `database`, `validators`, `logger`, `auth`, `admin`, `email`, `sms`, `queue`, `infra` |
93
95
  | Feature | `waitlist`, `teams`, `email-react` |
94
- | Provider | `email-console`, `email-cloudflare`, `email-plunk`, `logger-console`, `sms-console` |
96
+ | Provider | `email-console`, `email-cloudflare`, `email-plunk`, `logger-console`, `sms-console`, `queue-cloudflare`, `queue-memory` |
95
97
  | Driver | `database-d1`, `database-postgres` |
96
98
 
97
99
  `saasaloy add <name> --dry-run` prints what a module would do to your project before it does it. The one-table map of every module, what it gives you, and what it depends on is on the [Modules](https://github.com/mimukit/saasaloy/blob/main/docs/wiki/modules.md) page.
@@ -110,8 +112,9 @@ A few modules need something the free tier does not cover:
110
112
  | `email-plunk` | a [Plunk](https://www.useplunk.com) account and `PLUNK_API_KEY` |
111
113
  | `database-postgres` | a Postgres server reachable from a Worker, with its URL in `DATABASE_URL`. Install instead of `database-d1`, never alongside |
112
114
  | `sms` | a third-party SMS account for any real send. Cloudflare has no SMS product. `sms-console` is free |
115
+ | `queue-cloudflare` | a Workers paid plan, and the two queues created once with `wrangler queues create`. Install `queue-memory` instead for local work |
113
116
 
114
- The console providers (`email-console`, `sms-console`, `logger-console`) log instead of sending, so local development needs no plan, domain, or key. Details for each are in the [Reference](https://github.com/mimukit/saasaloy/blob/main/docs/wiki/reference.md#email-providers).
117
+ The local providers (`email-console`, `sms-console`, `logger-console`, `queue-memory`) log or run inline instead of calling a service, so local development needs no plan, domain, or key. Details for each are in the [Reference](https://github.com/mimukit/saasaloy/blob/main/docs/wiki/reference.md#email-providers).
115
118
 
116
119
  ## Deploy
117
120