chore: add registry install flow

This commit is contained in:
2026-03-20 10:38:05 +08:00
parent 5045756525
commit e8aea4b88a
13 changed files with 1788 additions and 20 deletions
+19
View File
@@ -0,0 +1,19 @@
# Registry
This directory holds the internal Cadence UI registry contract.
- `config.json` is the maintained source of registry intent.
- `index.json` is generated by `pnpm registry:build`.
The generated index is what the installer consumes. It records:
- installable item names
- copied source files
- required package dependencies
- package versions for the registry snapshot
Consumers should not edit `index.json` by hand. Maintainers should regenerate it after
source changes that affect installable components or tokens.
See [docs/registry.md](/Users/xd/project/cadence-ui/docs/registry.md) for the install
and upgrade flow.