@kurvball/rehearse 1.9.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.
Files changed (41) hide show
  1. package/README.md +3 -2
  2. package/dist/commands/init.js +52 -7
  3. package/dist/detect/detect.d.ts +6 -0
  4. package/dist/detect/detect.js +48 -0
  5. package/dist/detect/finding.d.ts +18 -0
  6. package/dist/detect/finding.js +4 -0
  7. package/dist/detect/globs.d.ts +10 -0
  8. package/dist/detect/globs.js +43 -0
  9. package/dist/detect/index.d.ts +2 -0
  10. package/dist/detect/index.js +2 -0
  11. package/dist/detect/lockfiles.d.ts +15 -0
  12. package/dist/detect/lockfiles.js +64 -0
  13. package/dist/detect/paths.d.ts +5 -0
  14. package/dist/detect/paths.js +39 -0
  15. package/dist/detect/pieces.d.ts +14 -0
  16. package/dist/detect/pieces.js +119 -0
  17. package/dist/detect/prepare.d.ts +14 -0
  18. package/dist/detect/prepare.js +78 -0
  19. package/dist/detect/repository.d.ts +33 -0
  20. package/dist/detect/repository.js +166 -0
  21. package/dist/detect/scenarios.d.ts +26 -0
  22. package/dist/detect/scenarios.js +170 -0
  23. package/dist/detect/scripts.d.ts +46 -0
  24. package/dist/detect/scripts.js +233 -0
  25. package/dist/detect/services.d.ts +16 -0
  26. package/dist/detect/services.js +171 -0
  27. package/dist/detect/write.d.ts +18 -0
  28. package/dist/detect/write.js +115 -0
  29. package/dist/manifest/index.d.ts +1 -1
  30. package/dist/manifest/index.js +1 -1
  31. package/dist/manifest/init.d.ts +47 -1
  32. package/dist/manifest/init.js +19 -16
  33. package/dist/scenarios/glob.d.ts +1 -0
  34. package/dist/scenarios/glob.js +10 -3
  35. package/dist/scenarios/index.d.ts +1 -1
  36. package/dist/scenarios/index.js +1 -1
  37. package/llms.txt +1 -1
  38. package/package.json +1 -1
  39. package/schema/v1/init.schema.json +69 -1
  40. package/schema/v1/samples/init.json +46 -1
  41. package/skill/rehearse/SKILL.md +5 -0
@@ -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