test
This commit is contained in:
0
registry-test/components.json
Normal file
0
registry-test/components.json
Normal file
20
registry-test/package.json
Normal file
20
registry-test/package.json
Normal 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
2335
registry-test/pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
19
registry-test/registry.json
Normal file
19
registry-test/registry.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
5
registry-test/registry/test/hello-wrold/hello-world.tsx
Normal file
5
registry-test/registry/test/hello-wrold/hello-world.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Button } from "@/components/ui/button"
|
||||
|
||||
export function HelloWorld() {
|
||||
return <Button>Hello World</Button>
|
||||
}
|
||||
Reference in New Issue
Block a user