@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 +15 -7
- package/dist/{cli-Bb-Lzg-l.js → cli-DvADNoml.js} +4445 -4204
- package/dist/{failure-log-BBPGejQv.js → failure-log-B5GG_8T1.js} +156 -9
- package/dist/launch.js +6 -6
- package/dist/{menu-DnqlX22U.js → menu-C7gh8v-s.js} +309 -313
- package/dist/{stack-BynCgRVS.js → stack-BGhuPk4Z.js} +1 -1
- package/dist/stack-CKiRU68w.js +2 -0
- package/dist/{supabase-project-0knM0mqd.js → supabase-project-B7JMicl-.js} +1 -1
- package/dist/{telemetry-El7OainP.js → telemetry-Do13RFhc.js} +1 -1
- package/dist/telemetry.js +1 -1
- package/package.json +3 -3
- package/dist/stack-Bx-55oi_.js +0 -2
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
|
|
12
|
-
pnpm devtools
|
|
13
|
-
pnpm devtools
|
|
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
|
|
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
|
|
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
|
|