@getstrata/starter 2.2.20 → 2.2.21

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
@@ -36,6 +36,8 @@ A Bun and TypeScript app on `@getstrata/core` and `@getstrata/bootstrap` that bo
36
36
 
37
37
  The `strata` binary installs into the app rather than globally, so use the generated `bun run` scripts. Generated apps ship `src/cli/register.ts` with `queue:work` (`bun run queue:work`, requires `REDIS_URL`), `make:*`, `openapi:*`, and `schedule:run`. `queue:work` boots that app rather than the framework-repo worker.
38
38
 
39
+ Discover registered commands with `bunx strata help`. `dev` and `start` run HTTP only. Run `queue:work` separately for Redis jobs, and `outbox:work` separately for published durable events (after migrations and listener registration). Synchronous queues and apps without durable events do not need these workers. Worker startup messages indicate polling, not dependency health; idle polling is normal. HTTP and workers use the same application configuration.
40
+
39
41
  ## Docs
40
42
 
41
43
  - [Getting started](https://github.com/EyK-26/strata/blob/main/docs/GETTING-STARTED.md)
package/dist/cli.js CHANGED
@@ -3131,9 +3131,9 @@ function renderPackageJson(projectName, options = {}) {
3131
3131
  "@getstrata/cli": "workspace:*",
3132
3132
  "@getstrata/core": "workspace:*"
3133
3133
  } : {
3134
- "@getstrata/bootstrap": "^2.2.20",
3135
- "@getstrata/cli": "^2.2.20",
3136
- "@getstrata/core": "^2.2.20"
3134
+ "@getstrata/bootstrap": "^2.2.21",
3135
+ "@getstrata/cli": "^2.2.21",
3136
+ "@getstrata/core": "^2.2.21"
3137
3137
  };
3138
3138
  coreDeps.eta = "^4.6.0";
3139
3139
  if (options.layers?.database === "mysql") {
@@ -3413,7 +3413,11 @@ ${next.join(`
3413
3413
  `)}
3414
3414
  \`\`\`
3415
3415
 
3416
- Open http://localhost:3000. Health check: \`GET /health\`. Redis worker: \`bun run queue:work\` (requires \`REDIS_URL\`). Durable events: \`bun run outbox:work\` after \`bun run db:migrate\`. Add listeners in \`src/outbox/registry.ts\` before publishing.
3416
+ Open http://localhost:3000. Health check: \`GET /health\`. Discover registered commands with \`bunx strata help\`. \`dev\` and \`start\` run HTTP only; workers are explicit, separate processes.
3417
+
3418
+ ${layers.queue === "redis" ? "Redis jobs need `bun run queue:work` in another terminal (requires `REDIS_URL`).\n\n" : `The synchronous queue handles jobs inline; no Redis queue worker is needed for it.
3419
+
3420
+ `}For durable events, add listeners in \`src/outbox/registry.ts\`, apply \`bun run db:migrate\`, then run \`bun run outbox:work\` in another terminal. Apps that do not publish durable events do not need this worker. Durable cache invalidation also needs the outbox worker when explicitly configured. Use the same application environment, database, Redis URL and \`APP_KEY_PREFIX\` for HTTP and its workers. An idle worker is normal; startup output confirms entry into polling, not dependency health. Stop HTTP and workers before resetting the development database.
3417
3421
 
3418
3422
  ${renderSupportingToolsReadme(layers)}${layers.auth !== "headers" ? `
3419
3423
  For the first production admin, apply migrations and run \`bunx strata auth:provision-admin --email operator@example.test --name "Initial Operator" --password-stdin${layers.tenancy !== "none" ? " --tenant 1" : ""} < /run/secrets/initial_admin_password\` before admitting traffic. Supply your own private secret-manager-mounted file, not a demo password. Passwords require at least 16 characters and at most 72 UTF-8 bytes. Tenant-enabled applications require an existing tenant ID; this command does not create tenants. It refuses existing admins/accounts, records a transactional one-time claim, and does not mark email verified or enroll MFA. Additional admins and recovery remain explicit application administration. The command does not migrate or seed automatically.
@@ -12,9 +12,9 @@
12
12
  "check": "tsc --noEmit"
13
13
  },
14
14
  "dependencies": {
15
- "@getstrata/bootstrap": "^2.2.20",
16
- "@getstrata/cli": "^2.2.20",
17
- "@getstrata/core": "^2.2.20",
15
+ "@getstrata/bootstrap": "^2.2.21",
16
+ "@getstrata/cli": "^2.2.21",
17
+ "@getstrata/core": "^2.2.21",
18
18
  "eta": "^4.6.0"
19
19
  },
20
20
  "devDependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getstrata/starter",
3
- "version": "2.2.20",
3
+ "version": "2.2.21",
4
4
  "description": "Interactive create-strata wizard. Choose each layer; one database engine.",
5
5
  "type": "module",
6
6
  "license": "MIT",