@nebulr-group/bridge-cli 0.6.0-beta.0 → 0.6.0-beta.1
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.
|
@@ -190,8 +190,12 @@ By default, a signed-in tenant that hasn't chosen a plan is redirected to a dedi
|
|
|
190
190
|
welcome page and can't use the app until they pick one. **Set this up unless the developer
|
|
191
191
|
opts out** — it's the expected first-run experience.
|
|
192
192
|
|
|
193
|
-
- The per-framework guide (Step 4)
|
|
194
|
-
|
|
193
|
+
- The per-framework guide (Step 4) mounts the plugin's subscription pages, which include a
|
|
194
|
+
default paywall page (on SvelteKit: `/subscription/plan`, served by the subscription
|
|
195
|
+
catch-all). Confirm that part ran. Do **not** create a separate welcome page on your own.
|
|
196
|
+
- A dedicated onboarding page such as `/welcome` is a product choice: **ask the developer**
|
|
197
|
+
whether they want one. Only if they say yes, add it as the per-framework guide shows and
|
|
198
|
+
point `billing.paywallRoute` at it.
|
|
195
199
|
- The app-level flag `paymentsAutoRedirect` drives the redirect and is **`true` by
|
|
196
200
|
default** — there is nothing to switch on.
|
|
197
201
|
|
|
@@ -214,7 +218,7 @@ For each integrated project, the agent verifies — do not hand this to the deve
|
|
|
214
218
|
4. Select a paid plan — Stripe Checkout opens
|
|
215
219
|
5. Complete a test payment — redirected back with the updated plan showing
|
|
216
220
|
6. Cancel a payment — redirected back to the subscription page
|
|
217
|
-
7. Paywall (unless opted out): sign in as a new tenant with no plan — you land on the welcome
|
|
221
|
+
7. Paywall (unless opted out): sign in as a new tenant with no plan — you land on the paywall page (or `/welcome` if the developer chose one) and can't reach the app until a plan is chosen
|
|
218
222
|
|
|
219
223
|
If anything fails, diagnose and fix before moving on.
|
|
220
224
|
|
|
@@ -255,7 +259,7 @@ Fill every `[placeholder]` with real values from the integration:
|
|
|
255
259
|
- `[project-name]` — folder name and/or `package.json` name
|
|
256
260
|
- `[plan-names]` — the plan keys (e.g. `free`, `premium`)
|
|
257
261
|
- `[plan-selector-route]` — route where `<PlanSelector>` is mounted
|
|
258
|
-
- `[paywall-summary]` — e.g. "new users sent to `/
|
|
262
|
+
- `[paywall-summary]` — e.g. "new users sent to `/subscription/plan` to pick a plan" (or "off — `paymentsAutoRedirect false`")
|
|
259
263
|
- `[quota-summary]` — metric keys and limits, or "none"
|
|
260
264
|
- `[what-i-actually-did]` / `[what-i-changed]` — every file created or modified, every command run
|
|
261
265
|
|