Run pro bootstrap if submodule exists
This commit is contained in:
parent
77a96b41a0
commit
181d0ee236
|
@ -23,7 +23,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"setup": "node ./hosting/scripts/setup.js && yarn && yarn bootstrap && yarn build && yarn dev",
|
||||
"bootstrap": "lerna bootstrap && cd packages/pro && lerna bootstrap && yarn setup",
|
||||
"bootstrap": "./scripts/bootstrap.sh",
|
||||
"postbootstrap": "lerna link && ./scripts/link-dependencies.sh",
|
||||
"build": "lerna run --stream build",
|
||||
"build:dev": "lerna run --stream prebuild && tsc --build --watch --preserveWatchOutput",
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
lerna bootstrap
|
||||
|
||||
if [ -d "packages/pro/src" ]; then
|
||||
cd packages/pro
|
||||
lerna bootstrap
|
||||
yarn setup
|
||||
fi
|
Loading…
Reference in New Issue