This commit is contained in:
2025-05-06 02:13:23 +08:00
commit 22baba9e7b
52 changed files with 13258 additions and 0 deletions

View File

View File

@@ -0,0 +1,20 @@
{
"name": "registry",
"version": "0.0.1",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"init": "shadcn init",
"registry:build": "shadcn registry:build"
},
"keywords": [],
"author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)",
"license": "MIT",
"packageManager": "pnpm@10.6.2",
"type": "module",
"dependencies": {
"shadcn": "2.6.0-canary.2"
}
}

2335
registry-test/pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,19 @@
{
"$schema": "https://ui.shadcn.com/schema/registry.json",
"name": "xiongxiao",
"homepage": "https://xiongxiao.me",
"items": [
{
"name": "hello-world",
"type": "registry:block",
"title": "Hello World",
"description": "A simple hello world component.",
"files": [
{
"path": "registry/test/hello-world/hello-world.tsx",
"type": "registry:component"
}
]
}
]
}

View File

@@ -0,0 +1,5 @@
import { Button } from "@/components/ui/button"
export function HelloWorld() {
return <Button>Hello World</Button>
}