create-rindle 0.8.0 → 0.10.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/package.json
CHANGED
|
@@ -24,7 +24,7 @@ Rindle docs are served as raw markdown for LLMs: index at
|
|
|
24
24
|
- `pnpm migrate` — one-shot `rindle migrate apply` against the unified ingress derived
|
|
25
25
|
from `rindle.ncl` (the follower's `/migrate` is write-fenced). The dev loop already
|
|
26
26
|
applies on boot + on every `migrations/` change.
|
|
27
|
-
- `pnpm rindle:deploy` / `pnpm rindle:migrate:
|
|
27
|
+
- `pnpm rindle:deploy` / `pnpm rindle:migrate:cloud` — deploy the data tier to
|
|
28
28
|
Rindle Cloud (reads `rindle.ncl`, the same file `rindle up` runs locally; run
|
|
29
29
|
`rindle login` once first) and push `migrations/*.sql` to the deployed master.
|
|
30
30
|
|
|
@@ -71,14 +71,14 @@ see the rejection path (the optimistic write snaps back + a toast).
|
|
|
71
71
|
```bash
|
|
72
72
|
rindle login # once — authenticate to Rindle Cloud
|
|
73
73
|
pnpm rindle:deploy # provision / re-attach the managed app (writes .rindle/cloud.json)
|
|
74
|
-
pnpm rindle:migrate:
|
|
74
|
+
pnpm rindle:migrate:cloud # push migrations/*.sql to the deployed write-master
|
|
75
75
|
```
|
|
76
76
|
|
|
77
77
|
`rindle deploy` reads `rindle.ncl` and records the binding in `.rindle/cloud.json` — commit it, so
|
|
78
78
|
future deploys re-attach to the same app. `followers = 1` provisions a backed-up write-master + one
|
|
79
|
-
follower (`replicated`, scales 1→N in place); raise it for more read replicas (`read-scaled`)
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
follower (`replicated`, scales 1→N in place); raise it for more read replicas (`read-scaled`).
|
|
80
|
+
Every rung ships its journal off-box — the old one-box `colocated` rung (`localRetention = true`)
|
|
81
|
+
is retired, and setting that field fails the render. That deploys the **data tier**; the
|
|
82
82
|
**web app** (this Vite/TanStack Start app) deploys to any Node host — configure its server with the
|
|
83
83
|
one fleet ingress (`RINDLE_URL`) and SQL bearer (`RINDLE_DATABASE_TOKEN`). Query leases derive the
|
|
84
84
|
public WebSocket endpoint from that same URL, so there is no browser-side topology setting whether
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"preview": "vite preview",
|
|
15
15
|
"migrate": "rindle migrate apply --dir migrations",
|
|
16
16
|
"rindle:deploy": "rindle deploy",
|
|
17
|
-
"rindle:migrate:
|
|
17
|
+
"rindle:migrate:cloud": "rindle migrate apply --cloud",
|
|
18
18
|
"typecheck": "tsr generate && tsc --noEmit"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
@@ -9,12 +9,13 @@
|
|
|
9
9
|
#
|
|
10
10
|
# rindle login # once — authenticate to Rindle Cloud
|
|
11
11
|
# rindle deploy # provision / re-attach the managed app (writes .rindle/cloud.json)
|
|
12
|
-
# rindle migrate apply --
|
|
12
|
+
# rindle migrate apply --cloud # push migrations/*.sql to the deployed write-master
|
|
13
13
|
#
|
|
14
14
|
# `app` becomes the cloud display name and groups every component under one app in `rindle ps`.
|
|
15
15
|
# `followers = 1` maps to the cloud `replicated` rung (a separate write-master + one follower,
|
|
16
|
-
# backed up; scales 1→N in place); `followers > 1` maps to `read-scaled`.
|
|
17
|
-
#
|
|
16
|
+
# backed up; scales 1→N in place); `followers > 1` maps to `read-scaled`. Every rung ships its
|
|
17
|
+
# journal off-box; the old one-box `colocated` rung (`localRetention = true`) is retired, and
|
|
18
|
+
# setting that field fails the render.
|
|
18
19
|
#
|
|
19
20
|
# Every follower count renders a local fleet edge;
|
|
20
21
|
# FOLLOWER-AFFINITY-DESIGN.md §10). `rindle dev` injects the server's unified connection from this
|