mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-30 16:14:13 +00:00
* 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
23 lines
487 B
JSON
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
|
|
}
|