ripplo 0.4.2 → 0.4.4
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 +2 -2
- package/dist/index.js +130 -130
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ ripplo auth login # device-code flow; opens a browser
|
|
|
16
16
|
ripplo init # scaffolds .ripplo/ and writes RIPPLO_* env vars
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
`init` is interactive (or pass `--project`, `--env
|
|
19
|
+
`init` is interactive (or pass `--project`, `--env`, `--app-url`, `--engine-url`). It scaffolds `.ripplo/{index.ts, project.json, preconditions/, observers/, tests/}`, appends `RIPPLO_APP_URL` / `RIPPLO_ENGINE_URL` / `RIPPLO_WEBHOOK_SECRET` to your env file, and installs `@ripplo/testing`.
|
|
20
20
|
|
|
21
21
|
Run `ripplo watch` as a background process in your project directory — it's the local executor that subscribes to run requests and runs tests against your dev server:
|
|
22
22
|
|
|
@@ -56,7 +56,7 @@ Two things won't carry over automatically:
|
|
|
56
56
|
| `ripplo scope <sub>` | Manage testing scope (`add`, `link`, `remove`, `status`) |
|
|
57
57
|
| `ripplo flake-detect <id>` | Run a test N times in parallel to detect flakiness |
|
|
58
58
|
|
|
59
|
-
`init` flags: `--project <id> --env
|
|
59
|
+
`init` flags: `--project <id> --env <path> --app-url <url> --engine-url <url>`. `--env` is **relative to `.ripplo/`** (e.g. `../.env.local` for a repo-root file, `../apps/server/.env` for a monorepo). `--engine-url` defaults to `<app-url>/ripplo`; override it when the adapter mounts at a different prefix or your backend runs on a different port than your frontend.
|
|
60
60
|
|
|
61
61
|
## Project layout
|
|
62
62
|
|