@kaptures/cli 0.6.1 → 0.8.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 +16 -0
- package/dist/dashboard/assets/index-Cu1qeajt.js +9 -0
- package/dist/dashboard/assets/index-DwyrYFJS.css +2 -0
- package/dist/dashboard/index.html +2 -2
- package/dist/index.js +165 -123
- package/package.json +1 -1
- package/dist/dashboard/assets/index-fkhZ3JzW.css +0 -2
- package/dist/dashboard/assets/index-uWeE9JeJ.js +0 -9
package/README.md
CHANGED
|
@@ -15,6 +15,22 @@ npx -y @kaptures/cli@0.5.0 browser install
|
|
|
15
15
|
|
|
16
16
|
## Compare Storybooks
|
|
17
17
|
|
|
18
|
+
### Initial adoption (next minor release)
|
|
19
|
+
|
|
20
|
+
For a PR whose exact base manifest does not yet declare the adapter, generate
|
|
21
|
+
workflows with `kapture ci --package-manager <npm|yarn|pnpm|bun>
|
|
22
|
+
--adapter-package-json <path> --allow-initial-adoption`. The exact head adapter
|
|
23
|
+
must match the CLI version. Malformed manifests and version mismatches remain
|
|
24
|
+
errors. Initial adoption needs no hosting hook, deployment credentials or status/comment write permissions.
|
|
25
|
+
|
|
26
|
+
This mode uses `setup capture` to save PNGs and a separate `setup.json` artifact,
|
|
27
|
+
and writes a bounded GitHub Job Summary with **Comparison not performed**.
|
|
28
|
+
It does not publish a dashboard, PR comment, commit status or approval marker.
|
|
29
|
+
Inspect each run's Summary and artifact for its result; capture errors fail the job. Once the base includes the matching adapter,
|
|
30
|
+
the same workflow automatically takes the normal comparison path.
|
|
31
|
+
|
|
32
|
+
### Normal comparison
|
|
33
|
+
|
|
18
34
|
```bash
|
|
19
35
|
npx -y @kaptures/cli@0.5.0 test \
|
|
20
36
|
--base-dir .kapture/storybook/base \
|