test: add registry consumer smoke coverage

This commit is contained in:
2026-03-20 10:54:12 +08:00
parent e8aea4b88a
commit 5c9eb84c63
7 changed files with 271 additions and 0 deletions
+3
View File
@@ -61,6 +61,7 @@ Run tests:
```bash
pnpm test
pnpm test:registry:consumer
pnpm test:e2e:smoke
```
@@ -111,6 +112,8 @@ copy selected items into their own codebase.
- Registry metadata lives in `registry/index.json` and is generated by `pnpm registry:build`.
- The installer copies components into `src/cadence-ui`, adds missing package dependencies,
and writes `src/cadence-ui/.install-manifest.json` so upgrades can reuse the same item set.
- `pnpm test:registry:consumer` creates a temporary consumer app, runs the installer, and
verifies the copied source typechecks and builds.
- Install and upgrade instructions live in [docs/registry.md](/Users/xd/project/cadence-ui/docs/registry.md).
## Docs and QA