Files
upstream-shadcn-ui/packages/tests/fixtures/registry/example-target-aliases.json
upstream-mirror 1416db152c
All checks were successful
Release / Create Version PR or Publish Stable Release (push) Has been skipped
Release / Publish Prerelease to NPM (push) Has been skipped
Monitor Registries / Monitor registry health (push) Has been skipped
snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
2026-09-15 22:44:43 +05:00

32 lines
1.1 KiB
JSON

{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "example-target-aliases",
"type": "registry:component",
"files": [
{
"path": "registry/example-target-aliases/ui/target-button.tsx",
"type": "registry:ui",
"content": "export function TargetButton() {\n return <button>Target Button</button>\n}\n",
"target": "@ui/target-button.tsx"
},
{
"path": "registry/example-target-aliases/components/target-panel.tsx",
"type": "registry:component",
"content": "export function TargetPanel() {\n return <div>Target Panel</div>\n}\n",
"target": "@components/target-panel.tsx"
},
{
"path": "registry/example-target-aliases/lib/target-helper.ts",
"type": "registry:lib",
"content": "export function targetHelper() {\n return \"target-helper\"\n}\n",
"target": "@lib/target-helper.ts"
},
{
"path": "registry/example-target-aliases/hooks/use-target.ts",
"type": "registry:hook",
"content": "export function useTarget() {\n return \"target\"\n}\n",
"target": "@hooks/use-target.ts"
}
]
}