fixed build/deploy for management

This commit is contained in:
DmitrySychugov 2023-10-04 21:11:46 +05:00
parent 519dcd65db
commit 223034dfc5
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
"yarn": ">=3"
},
"scripts": {
"build": "yarn workspaces foreach -vptiR --from '{@docspace/client,@docspace/login,@docspace/editor}' run build",
"build": "yarn workspaces foreach -vptiR --from '{@docspace/client,@docspace/login,@docspace/editor,@docspace/management}' run build",
"bump": "yarn version apply --all",
"clean": "yarn workspaces foreach -vptiR run clean",
"deploy": "shx rm -rf ../publish/web && yarn workspaces foreach -ptR --from '{@docspace/client,@docspace/login,@docspace/editor,@docspace/management}' run deploy && shx cp -r public ../publish/web/ && node common/scripts/minify-common-locales.js",

View File

@ -7,7 +7,7 @@
"build": "yarn build:translations && NODE_OPTIONS=--openssl-legacy-provider webpack --mode production",
"build:translations": "node scripts/buildTranslations.js",
"clean": "shx rm -rf dist",
"deploy": "shx --silent mkdir -p ../../build/deploy/management && shx cp -r dist/* ../../build/deploy/management",
"deploy": "shx --silent mkdir -p ../../publish/web/management && shx cp -r dist/* ../../publish/web/management",
"start": "yarn build && yarn build:translations && NODE_OPTIONS=--openssl-legacy-provider webpack-cli serve",
"start-prod": "ws --port 5015 --directory dist --spa index.html"
},