Files
shadcn-ui/apps/www/public/schema/registry.json
shadcn cb742e9825 feat: add new registry build command (#6350)
* feat: implement shadcn/registry

* feat: add schema field

* fix: import

* chore: add changeset

* chore: remove console

* fix: tests

* fix: diff command

* feat: move to schema/registy-item.json

* fix

* ci: switch to node 20

* ci: build packages

* fix: types

* chore: update schema

* chore: update build registry script

* feat(shadcn): add build command
2025-01-14 15:59:41 +04:00

23 lines
487 B
JSON

{
"$schema": "https://json-schema.org/draft-07/schema#",
"description": "A shadcn registry of components, hooks, pages, etc.",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"homepage": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"$ref": "https://ui.shadcn.com/schema/registry-item.json"
}
}
},
"required": ["name", "homepage", "items"],
"uniqueItems": true,
"minItems": 1
}