Change account portal to packages
This commit is contained in:
parent
9838c368eb
commit
eef34bdfb8
|
@ -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
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
"workspaces": {
|
||||
"packages": [
|
||||
"packages/*",
|
||||
"apps/account-portal/packages/*"
|
||||
"packages/account-portal/packages/*"
|
||||
]
|
||||
},
|
||||
"resolutions": {
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue