Change account portal to packages

This commit is contained in:
Adria Navarro 2023-10-17 16:19:28 +02:00
parent 9838c368eb
commit eef34bdfb8
5 changed files with 6 additions and 6 deletions

4
.gitmodules vendored
View File

@ -1,6 +1,6 @@
[submodule "packages/pro"]
path = packages/pro
url = git@github.com:Budibase/budibase-pro.git
[submodule "apps/account-portal"]
path = apps/account-portal
[submodule "packages/account-portal"]
path = packages/account-portal
url = git@github.com:Budibase/account-portal.git

View File

@ -1,7 +1,7 @@
{
"version": "2.11.36",
"npmClient": "yarn",
"packages": ["packages/*", "apps/account-portal/packages/*"],
"packages": ["packages/*", "packages/account-portal/packages/*"],
"useNx": true,
"command": {
"publish": {

View File

@ -88,7 +88,7 @@
"workspaces": {
"packages": [
"packages/*",
"apps/account-portal/packages/*"
"packages/account-portal/packages/*"
]
},
"resolutions": {

View File

@ -5,12 +5,12 @@ domain=$2
if [ "$enable" = "enable" ]; then
lerna run env:localdomain:enable -- "$domain"
cd apps/account-portal
cd packages/account-portal
yarn env:localdomain:enable "$domain"
cd -
else
lerna run env:localdomain:disable
cd apps/account-portal
cd packages/account-portal
yarn env:localdomain:disable
cd -
fi