@devdogsuga/devtools 0.1.34 → 0.1.36

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
@@ -8,17 +8,22 @@ pnpm devtools # no arguments: menu of interactive comm
8
8
  pnpm devtools setup # prepare a checkout, then print the database next steps
9
9
  pnpm devtools doctor # first stop: machine, tier, stack, types, buckets, seeded data
10
10
  pnpm devtools supabase start # boot Supabase on this machine
11
- pnpm devtools cron run # choose a configured route cron
12
- pnpm devtools workflows run # choose a configured Cloudflare Workflow
13
- pnpm devtools workflows serve # keep an app-scoped Wrangler runtime open
11
+ pnpm devtools jobs run # choose a background job (a cron sync or a Workflow) and run it
12
+ pnpm devtools jobs list # every job, its schedule, and schedules that never fire
13
+ pnpm devtools jobs serve # keep an app-scoped Workflow runtime open
14
14
  ```
15
15
 
16
16
  ```bash
17
17
  pnpm devtools supabase db push # the real tool, with the tier's --db-url filled in
18
18
  pnpm devtools wrangler|drizzle-kit|psql …
19
- pnpm devtools preset apply-migrations # db push, then asks about types:db
19
+ pnpm devtools apply-migrations # db push, then asks about types:db
20
+ pnpm devtools restart-stack|new-migration|push-config
20
21
  ```
21
22
 
23
+ `cron` and `workflows` are aliases of `jobs` that narrow it to one kind:
24
+ `cron run` is `jobs run --kind sync` (quick syncs, the Worker cron routes) and
25
+ `workflows run` is `jobs run --kind long-running` (Cloudflare Workflows).
26
+
22
27
  `supabase` adds `--db-url` or `--project-ref` from the session's tier unless you
23
28
  passed `--local`, `--linked`, `--db-url` or `--project-ref` yourself. It never
24
29
  falls back to the linked project and never adds `--yes`. Every run prints the
@@ -53,8 +58,9 @@ The `db` and `cf` namespaces are gone: `supabase`, `wrangler`, `drizzle-kit`
53
58
  and `psql` plus package scripts (`types:db`, `types:drizzle`, `types:cf`,
54
59
  `preview`) replace them. `run` stays as a deprecated alias, hidden from the
55
60
  menu, for callers that have not moved yet (TASK-404 removes it); `--help` names
56
- its replacement. The retired `db`, `cf`, `gen`, `emails` and `grant-root` names
57
- are refused with where they went.
61
+ its replacement. The retired `db`, `cf`, `gen`, `emails`, `grant-root` and
62
+ `preset` names are refused with where they went (`preset apply-migrations` is
63
+ now `apply-migrations`, and so on).
58
64
 
59
65
  What always needs production secrets is not here. `deploy`, `env
60
66
  pull|push|audit` and `planner` are in `@devdogsuga/backstage`
@@ -64,7 +70,9 @@ signs in to Bitwarden itself). CI calls `backstage` directly.
64
70
 
65
71
  The menu is generated from the same command tree the argv parser walks, so
66
72
  there is no second list to fall out of step — reach for `--help` at any level
67
- rather than a table here.
73
+ rather than a table here. Its first screen lists every interactive command
74
+ under a plain-English title ("Restart local Supabase") with the command to
75
+ type beside it (`restart-stack`).
68
76
 
69
77
  ## Telemetry disclosure
70
78