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