Clean scripts
This commit is contained in:
parent
f993a7a6b2
commit
1b8a780cb2
|
@ -22,7 +22,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"setup": "git config submodule.recurse true && git submodule update && node ./hosting/scripts/setup.js && yarn && yarn bootstrap && yarn build && yarn dev",
|
||||
"bootstrap": "node scripts/syncProPackage.js && yarn && ./scripts/bootstrap.sh && lerna link && ./scripts/link-dependencies.sh",
|
||||
"bootstrap": "./scripts/bootstrap.sh && lerna link && ./scripts/link-dependencies.sh",
|
||||
"build": "lerna run --stream build",
|
||||
"build:dev": "lerna run --stream prebuild && yarn nx run-many --target=build --output-style=dynamic --watch --preserveWatchOutput",
|
||||
"backend:bootstrap": "./scripts/scopeBackend.sh && yarn run bootstrap",
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
node scripts/syncProPackage.js
|
||||
yarn
|
||||
|
||||
if [ -d "packages/pro/packages" ]; then
|
||||
cd packages/pro
|
||||
|
||||
yarn
|
||||
lerna bootstrap
|
||||
yarn setup
|
||||
else
|
||||
node scripts/updateLocalPro.js
|
||||
yarn
|
||||
fi
|
Loading…
Reference in New Issue