2022-04-13 13:41:14 +02:00
|
|
|
echo "Linking backend-core"
|
|
|
|
cd packages/backend-core
|
|
|
|
yarn link
|
|
|
|
cd -
|
|
|
|
|
|
|
|
echo "Linking string-templates"
|
|
|
|
cd packages/string-templates
|
|
|
|
yarn link
|
|
|
|
cd -
|
|
|
|
|
2022-05-28 22:38:22 +02:00
|
|
|
echo "Linking types"
|
|
|
|
cd packages/types
|
|
|
|
yarn link
|
|
|
|
cd -
|
|
|
|
|
2022-06-13 11:51:29 +02:00
|
|
|
echo "Linking bbui"
|
|
|
|
cd packages/bbui
|
|
|
|
yarn link
|
|
|
|
cd -
|
2022-05-28 22:38:22 +02:00
|
|
|
|
2022-04-13 13:41:14 +02:00
|
|
|
if [ -d "../budibase-pro" ]; then
|
2022-04-25 16:38:37 +02:00
|
|
|
cd ../budibase-pro
|
|
|
|
yarn bootstrap
|
|
|
|
|
|
|
|
cd packages/pro
|
2022-04-13 13:41:14 +02:00
|
|
|
echo "Linking pro"
|
|
|
|
yarn link
|
|
|
|
|
|
|
|
echo "Linking backend-core to pro"
|
|
|
|
yarn link '@budibase/backend-core'
|
2022-04-25 16:38:37 +02:00
|
|
|
|
|
|
|
cd ../../../budibase
|
2022-04-13 13:41:14 +02:00
|
|
|
|
|
|
|
echo "Linking pro to worker"
|
|
|
|
cd packages/worker && yarn link '@budibase/pro'
|
|
|
|
cd -
|
|
|
|
|
|
|
|
echo "Linking pro to server"
|
|
|
|
cd packages/server && yarn link '@budibase/pro'
|
|
|
|
cd -
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -d "../account-portal" ]; then
|
|
|
|
cd ../account-portal/packages/server
|
|
|
|
echo "Linking backend-core to account-portal"
|
|
|
|
yarn link "@budibase/backend-core"
|
|
|
|
|
|
|
|
echo "Linking string-templates to account-portal"
|
2022-04-22 10:43:51 +02:00
|
|
|
yarn link "@budibase/string-templates"
|
|
|
|
|
2022-05-28 22:38:22 +02:00
|
|
|
echo "Linking types to account-portal"
|
|
|
|
yarn link "@budibase/types"
|
|
|
|
|
2022-04-22 10:43:51 +02:00
|
|
|
if [ -d "../../../budibase-pro" ]; then
|
|
|
|
echo "Linking pro to account-portal"
|
|
|
|
yarn link "@budibase/pro"
|
|
|
|
fi
|
2022-04-13 13:41:14 +02:00
|
|
|
|
2022-06-13 11:51:29 +02:00
|
|
|
cd ../ui
|
|
|
|
echo "Linking bbui to account-portal"
|
|
|
|
yarn link "@budibase/bbui"
|
2022-04-13 13:41:14 +02:00
|
|
|
fi
|