mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 14:14:55 +00:00
fix(ui): build scripts for the shui primitives
This commit is contained in:
4
.gitmodules
vendored
4
.gitmodules
vendored
@@ -1,4 +0,0 @@
|
||||
[submodule "packages/ui/primitives"]
|
||||
path = packages/ui/primitives
|
||||
url = https://github.com/xyhp915/primitives.git
|
||||
shallow = true
|
||||
@@ -75,7 +75,7 @@
|
||||
"android:dev": "cross-env PLATFORM=android gulp cap",
|
||||
"tldraw:build": "yarn --cwd packages/tldraw install",
|
||||
"amplify:build": "yarn --cwd packages/amplify install",
|
||||
"ui:build": "git submodule update --quiet --init --depth=1 && yarn --cwd packages/ui install",
|
||||
"ui:build": "yarn --cwd packages/ui install",
|
||||
"postinstall": "yarn tldraw:build && yarn amplify:build && yarn ui:build"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
"build:ui:only": "parcel build --target ui",
|
||||
"build:ui": "rm -rf .parcel-cache && yarn build:ui:only",
|
||||
"watch:storybook": "storybook dev -p 6006",
|
||||
"preinstall": "cd primitives/ && yarn install && yarn build",
|
||||
"install:primitives": "rm -rf primitives/ && git clone https://github.com/xyhp915/primitives.git --depth=1",
|
||||
"preinstall": "yarn install:primitives && cd primitives/ && yarn install && yarn build",
|
||||
"postinstall": "yarn build:ui"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user