65 lines
1.9 KiB
JSON
65 lines
1.9 KiB
JSON
{
|
|
"$schema": "https://ui.shadcn.com/schema/registry.json",
|
|
"name": "acme",
|
|
"homepage": "https://acme.com",
|
|
"items": [
|
|
{
|
|
"name": "hello-world",
|
|
"type": "registry:component",
|
|
"title": "Hello World",
|
|
"description": "A simple hello world component",
|
|
"registryDependencies": ["button"],
|
|
"files": [
|
|
{
|
|
"path": "registry/new-york/hello-world/hello-world.tsx",
|
|
"type": "registry:component"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "example-form",
|
|
"type": "registry:component",
|
|
"title": "Example Form",
|
|
"description": "A contact form with Zod validation.",
|
|
"dependencies": ["zod"],
|
|
"registryDependencies": ["button", "input", "label", "textarea", "card"],
|
|
"files": [
|
|
{
|
|
"path": "registry/new-york/example-form/example-form.tsx",
|
|
"type": "registry:component"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "complex-component",
|
|
"type": "registry:component",
|
|
"title": "Complex Component",
|
|
"description": "A complex component showing hooks, libs and components.",
|
|
"registryDependencies": ["card"],
|
|
"files": [
|
|
{
|
|
"path": "registry/new-york/complex-component/page.tsx",
|
|
"type": "registry:page",
|
|
"target": "app/pokemon/page.tsx"
|
|
},
|
|
{
|
|
"path": "registry/new-york/complex-component/components/pokemon-card.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/new-york/complex-component/components/pokemon-image.tsx",
|
|
"type": "registry:component"
|
|
},
|
|
{
|
|
"path": "registry/new-york/complex-component/lib/pokemon.ts",
|
|
"type": "registry:lib"
|
|
},
|
|
{
|
|
"path": "registry/new-york/complex-component/hooks/use-pokemon.ts",
|
|
"type": "registry:hook"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|