Clean scripts

This commit is contained in:
adrinr 2023-04-21 18:16:12 +01:00
parent f993a7a6b2
commit 1b8a780cb2
2 changed files with 4 additions and 4 deletions

View File

@ -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",

View File

@ -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