This commit is contained in:
熊潇 2025-05-18 02:36:18 +08:00
parent 54a486427b
commit 9a0e22ff8a
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{
"metadata": {
"share": "public"
},
"syncDirectory": [
{
"files": [
"src/components/a/**/*",
"src/lib/**/*",
"src/hooks/**/*"
],
"registry": "https://kevisual.xiongxiao.me/root/ai/code/registry",
"replace": {
"src/": ""
}
},
{
"files": [
"registry/**/*"
],
"registry": "https://kevisual.xiongxiao.me/root/ai/code/registry",
"replace": {
"registry/": "components/b/"
}
}
]
}

View File

@ -16,6 +16,9 @@
"registry", "registry",
"dist" "dist"
], ],
"publishConfig": {
"access": "public"
},
"keywords": [], "keywords": [],
"author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)", "author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)",
"license": "MIT", "license": "MIT",
@ -47,5 +50,14 @@
"react-i18next": "^15.5.1", "react-i18next": "^15.5.1",
"react-toastify": "^11.0.5", "react-toastify": "^11.0.5",
"tailwind-merge": "^3.2.0" "tailwind-merge": "^3.2.0"
},
"exports": {
".": "./registry/index.js",
"./components/*": "./registry/components/*",
"./hooks/*": "./registry/hooks/*",
"./lib/*": "./registry/lib/*",
"./pages/*": "./registry/pages/*",
"./styles/*": "./registry/styles/*",
"./types/*": "./registry/types/*"
} }
} }