mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-05 18:13:50 +00:00
Use npm install --no-audit --progress=false
Replace npm install --legacy-peer-deps with npm install --no-audit --progress=false in frontend build scripts (ct/dispatcharr.sh and install/dispatcharr-install.sh). This disables npm audit and progress output during automated builds while keeping the subsequent npm run build step unchanged.
This commit is contained in:
@@ -110,7 +110,7 @@ function update_script() {
|
|||||||
|
|
||||||
msg_info "Building Frontend"
|
msg_info "Building Frontend"
|
||||||
cd /opt/dispatcharr/frontend
|
cd /opt/dispatcharr/frontend
|
||||||
$STD npm install --legacy-peer-deps
|
$STD npm install --no-audit --progress=false
|
||||||
$STD npm run build
|
$STD npm run build
|
||||||
msg_ok "Built Frontend"
|
msg_ok "Built Frontend"
|
||||||
|
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ CELERY_BROKER_URL=redis://localhost:6379/0
|
|||||||
DJANGO_SECRET_KEY=$DJANGO_SECRET
|
DJANGO_SECRET_KEY=$DJANGO_SECRET
|
||||||
EOF
|
EOF
|
||||||
cd /opt/dispatcharr/frontend
|
cd /opt/dispatcharr/frontend
|
||||||
$STD npm install --legacy-peer-deps
|
$STD npm install --no-audit --progress=false
|
||||||
$STD npm run build
|
$STD npm run build
|
||||||
msg_ok "Configured Dispatcharr"
|
msg_ok "Configured Dispatcharr"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user