@kurvball/rehearse 1.8.0 → 1.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/README.md +3 -2
- package/dist/commands/init.js +52 -7
- package/dist/commands/stage.js +19 -3
- package/dist/detect/detect.d.ts +6 -0
- package/dist/detect/detect.js +48 -0
- package/dist/detect/finding.d.ts +18 -0
- package/dist/detect/finding.js +4 -0
- package/dist/detect/globs.d.ts +10 -0
- package/dist/detect/globs.js +43 -0
- package/dist/detect/index.d.ts +2 -0
- package/dist/detect/index.js +2 -0
- package/dist/detect/lockfiles.d.ts +15 -0
- package/dist/detect/lockfiles.js +64 -0
- package/dist/detect/paths.d.ts +5 -0
- package/dist/detect/paths.js +39 -0
- package/dist/detect/pieces.d.ts +14 -0
- package/dist/detect/pieces.js +119 -0
- package/dist/detect/prepare.d.ts +14 -0
- package/dist/detect/prepare.js +78 -0
- package/dist/detect/repository.d.ts +33 -0
- package/dist/detect/repository.js +166 -0
- package/dist/detect/scenarios.d.ts +26 -0
- package/dist/detect/scenarios.js +170 -0
- package/dist/detect/scripts.d.ts +46 -0
- package/dist/detect/scripts.js +233 -0
- package/dist/detect/services.d.ts +16 -0
- package/dist/detect/services.js +171 -0
- package/dist/detect/write.d.ts +18 -0
- package/dist/detect/write.js +115 -0
- package/dist/manifest/index.d.ts +1 -1
- package/dist/manifest/index.js +1 -1
- package/dist/manifest/init.d.ts +47 -1
- package/dist/manifest/init.js +19 -16
- package/dist/scenarios/glob.d.ts +1 -0
- package/dist/scenarios/glob.js +10 -3
- package/dist/scenarios/index.d.ts +1 -1
- package/dist/scenarios/index.js +1 -1
- package/dist/schema.d.ts +1 -1
- package/dist/schema.js +1 -0
- package/dist/stage/client/client/api.js +4 -1
- package/dist/stage/client/client/index.js +1 -0
- package/dist/stage/client/client/static.js +28 -0
- package/dist/stage/client/features/canvas/call.js +12 -3
- package/dist/stage/client/features/canvas/file.js +4 -2
- package/dist/stage/client/features/canvas/piece.js +12 -2
- package/dist/stage/client/features/list/list.js +6 -1
- package/dist/stage/client/features/scenario/heading.js +3 -2
- package/dist/stage/client/features/scenario/scenario.js +8 -4
- package/dist/stage/client/main.js +7 -3
- package/dist/stage/client/stage.css +11 -0
- package/dist/stage/compared.d.ts +7 -1
- package/dist/stage/compared.js +16 -4
- package/dist/stage/files.d.ts +1 -0
- package/dist/stage/files.js +6 -4
- package/dist/stage/index.d.ts +1 -0
- package/dist/stage/index.js +1 -0
- package/dist/stage/public.d.ts +9 -0
- package/dist/stage/public.js +107 -0
- package/dist/stage/server.js +2 -2
- package/dist/stage/static.d.ts +22 -0
- package/dist/stage/static.js +241 -0
- package/llms.txt +3 -2
- package/package.json +1 -1
- package/schema/v1/init.schema.json +69 -1
- package/schema/v1/samples/init.json +46 -1
- package/schema/v1/samples/static.json +21 -0
- package/schema/v1/static.schema.json +34 -0
- package/schema/vendor/acta/LICENSE +21 -0
- package/schema/vendor/acta/README.md +12 -0
- package/schema/vendor/acta/v1/canonical.schema.json +818 -0
- package/schema/vendor/acta/v1/check.schema.json +35 -0
- package/schema/vendor/acta/v1/record.schema.json +1443 -0
- package/schema/vendor/acta/v1/run-model.schema.json +1074 -0
- package/skill/rehearse/SKILL.md +6 -0
package/skill/rehearse/SKILL.md
CHANGED
|
@@ -42,6 +42,11 @@ A scenario's id is its file, then `#` and its name when the file holds more than
|
|
|
42
42
|
`apps/api/members.hurl#A member isn't told the directory exists`, `src/Badge.stories.tsx#Primary`,
|
|
43
43
|
`flows/sign-in.flow.yaml`.
|
|
44
44
|
|
|
45
|
+
No `rehearse.yaml` yet? `rehearse init --detect --json` writes one from what the repository has: the base branch,
|
|
46
|
+
`prepare`, a service per app's dev server, and globs for the scenarios it finds. Read `detected.findings`: each one
|
|
47
|
+
`written: false` says why and what to do `next`. It never writes people or worlds; ask the person before you invent
|
|
48
|
+
them. Then run `rehearse check --json`.
|
|
49
|
+
|
|
45
50
|
## 2. Find what your change reaches
|
|
46
51
|
|
|
47
52
|
```bash
|
|
@@ -193,6 +198,7 @@ close to the one you asked for. Exit 0 done, 1 failed, 2 usage.
|
|
|
193
198
|
|
|
194
199
|
```bash
|
|
195
200
|
rehearse open '<id>' --json # the stage's address for it, for a PR or a message
|
|
201
|
+
rehearse stage --static <dir> --json # the latest comparison's stage as plain files, for a PR's preview
|
|
196
202
|
```
|
|
197
203
|
|
|
198
204
|
## Rules
|