enhance(ui): sync specific branch for the radix ui primitives

This commit is contained in:
charlie
2025-02-27 12:42:18 +08:00
parent 40f84e1dde
commit 9a95448014

View File

@@ -8,7 +8,7 @@
"build:ui:only": "parcel build --target ui",
"build:ui": "rm -rf .parcel-cache && yarn build:ui:only",
"watch:storybook": "storybook dev -p 6006",
"install:primitives": "rm -rf primitives/ && git clone https://github.com/xyhp915/primitives.git --depth=1",
"install:primitives": "rm -rf primitives/ && git clone -b x https://github.com/xyhp915/primitives.git --depth=1",
"build:primitives": "yarn install:primitives && cd primitives/ && yarn install && yarn build",
"preinstall": "test -f primitives/package.json || yarn build:primitives",
"postinstall": "yarn build:ui"