Skip to content

Commit 1087e0a

Browse files
committed
feat: add support for shadcn
1 parent f216b38 commit 1087e0a

File tree

6 files changed

+1625
-38
lines changed

6 files changed

+1625
-38
lines changed

.cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"nanoevents",
1111
"rolldown",
1212
"rspress",
13+
"shadcn",
1314
"tsdown",
1415
"unbundle",
1516
"xlink"

.github/workflows/docs-deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
- name: Build with Rspress
4040
run: |
4141
pnpm docs:build
42+
- name: Build Shadcn
43+
run: pnpm registry:build
4244
- name: Upload artifact
4345
uses: actions/upload-pages-artifact@v3
4446
with:

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@matechat/react",
33
"version": "0.1.0-rc.0",
4-
"packageManager": "pnpm@10.13.1",
4+
"packageManager": "pnpm@10.14.0",
55
"description": "Front-end AI scenario solution UI library based on Huawei DevUI Design.",
66
"type": "module",
77
"license": "MIT",
@@ -42,6 +42,7 @@
4242
"test": "vitest",
4343
"typecheck": "tsc --noEmit",
4444
"format": "biome format . --write",
45+
"registry:build": "shadcn build --output docs/doc_build/r",
4546
"prepublishOnly": "pnpm run build"
4647
},
4748
"peerDependencies": {
@@ -77,6 +78,7 @@
7778
"lucide-react": "^0.536.0",
7879
"react": "^19.1.1",
7980
"react-dom": "^19.1.1",
81+
"shadcn": "2.9.3-canary.0",
8082
"tailwindcss": "^4.1.11",
8183
"tsdown": "^0.13.3",
8284
"tsx": "^4.20.3",

0 commit comments

Comments
 (0)