Merge pull request #11618 from Budibase/chore/update-bootstrap

Update bootstrap to link all dependencies between budibase and account-portal
This commit is contained in:
Rory Powell 2023-08-30 11:36:37 +01:00 committed by GitHub
commit ec11ca4eeb
1 changed files with 18 additions and 6 deletions

View File

@ -54,24 +54,36 @@ if [ -d "../account-portal" ]; then
yarn bootstrap
cd packages/server
echo "Linking backend-core to account-portal"
echo "Linking backend-core to account-portal (server)"
yarn link "@budibase/backend-core"
echo "Linking string-templates to account-portal"
echo "Linking string-templates to account-portal (server)"
yarn link "@budibase/string-templates"
echo "Linking types to account-portal"
echo "Linking types to account-portal (server)"
yarn link "@budibase/types"
echo "Linking shared-core to account-portal (server)"
yarn link "@budibase/shared-core"
if [ $pro_loaded_locally = true ]; then
echo "Linking pro to account-portal"
echo "Linking pro to account-portal (server)"
yarn link "@budibase/pro"
fi
cd ../ui
echo "Linking bbui to account-portal"
echo "Linking bbui to account-portal (ui)"
yarn link "@budibase/bbui"
echo "Linking frontend-core to account-portal"
echo "Linking shared-core to account-portal (ui)"
yarn link "@budibase/shared-core"
echo "Linking string-templates to account-portal (ui)"
yarn link "@budibase/string-templates"
echo "Linking types to account-portal (ui)"
yarn link "@budibase/types"
echo "Linking frontend-core to account-portal (ui)"
yarn link "@budibase/frontend-core"
fi