mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
nextExplorer: Update build for v2.2.0
This commit is contained in:
@@ -41,14 +41,14 @@ function update_script() {
|
||||
msg_info "Updating nextExplorer"
|
||||
APP_DIR="/opt/nextExplorer/app"
|
||||
mkdir -p "$APP_DIR"
|
||||
cd /opt/nextExplorer/backend
|
||||
cd /opt/nextExplorer
|
||||
export NODE_ENV=production
|
||||
$STD npm ci
|
||||
cd /opt/nextExplorer/frontend
|
||||
$STD npm ci --workspace backend
|
||||
cd /opt/nextExplorer
|
||||
unset NODE_ENV
|
||||
export NODE_ENV=development
|
||||
$STD npm ci
|
||||
$STD npm run build -- --sourcemap false
|
||||
$STD npm ci --workspace frontend
|
||||
$STD npm run -w frontend build -- --sourcemap false
|
||||
unset NODE_ENV
|
||||
cd /opt/nextExplorer/
|
||||
mv backend/{node_modules,src,package.json} "$APP_DIR"
|
||||
|
||||
Reference in New Issue
Block a user