Kaynağa Gözat

Suppress npm ci deprecation warnings and audit noise

Use --loglevel=error to hide warn-level deprecation notices
and vulnerability reports during install/update.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
tuanchris 4 ay önce
ebeveyn
işleme
de5d5bd0ac
2 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 2 2
      dw
  2. 1 1
      setup-pi.sh

+ 2 - 2
dw

@@ -124,7 +124,7 @@ cmd_update() {
 
     echo "Rebuilding frontend..."
     cd "$INSTALL_DIR/frontend"
-    npm ci
+    npm ci --loglevel=error
     npm run build
     cd "$INSTALL_DIR"
 
@@ -312,7 +312,7 @@ cmd_checkout() {
     # Rebuild frontend
     echo "Rebuilding frontend..."
     cd "$INSTALL_DIR/frontend"
-    npm ci
+    npm ci --loglevel=error
     npm run build
     cd "$INSTALL_DIR"
 

+ 1 - 1
setup-pi.sh

@@ -285,7 +285,7 @@ deploy_native() {
     # Build frontend
     print_step "Building frontend..."
     cd "$INSTALL_DIR/frontend"
-    npm ci
+    npm ci --loglevel=error
     npm run build
     cd "$INSTALL_DIR"