ripplo 0.4.1 → 0.4.3

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.
Files changed (3) hide show
  1. package/README.md +6 -6
  2. package/dist/index.js +190 -175
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -16,15 +16,15 @@ 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-file`, `--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`.
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
- Add `ripplo watch` to your dev script — it's the local executor that subscribes to run requests and runs tests against your dev server:
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
 
23
- ```json
24
- "dev": "concurrently -k -n app,ripplo \"next dev\" \"ripplo watch\""
23
+ ```sh
24
+ npx ripplo watch
25
25
  ```
26
26
 
27
- Then mount the engine adapter into your app server (Express, Fastify, Next.js, Hono, Koa, NestJS, Elysia) — see [`@ripplo/testing`](https://www.npmjs.com/package/@ripplo/testing) for the adapter snippets.
27
+ Run it alongside (but separate from) your app's dev server. Then mount the engine adapter into your app server (Express, Fastify, Next.js, Hono, Koa, NestJS, Elysia) — see [`@ripplo/testing`](https://www.npmjs.com/package/@ripplo/testing) for the adapter snippets.
28
28
 
29
29
  For a guided setup, install the [Claude Code plugin](https://www.npmjs.com/package/@ripplo/claude-plugin) and run `/ripplo:setup`.
30
30
 
@@ -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-file <path> --app-url <url> --engine-url <url>`. `--env-file` 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.
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