From 1c2703e681ea40d7954c0382050e98b2e68a1c77 Mon Sep 17 00:00:00 2001 From: liufumingren Date: Sat, 25 Jul 2026 02:18:29 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20npm=20install=20=E6=B7=BB=E5=8A=A0=20--?= =?UTF-8?q?prefer-offline=20--no-audit=20--no-fund=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=EF=BC=8C20=E7=A7=92=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/deploy-remote.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/deploy-remote.cjs b/script/deploy-remote.cjs index 875114c..963ef91 100644 --- a/script/deploy-remote.cjs +++ b/script/deploy-remote.cjs @@ -192,7 +192,7 @@ function main() { ' echo "node_modules 复制完成"', 'fi', // 增量更新依赖(node_modules 已存在,仅校验变更) - 'npm install --production', + 'npm install --production --prefer-offline --no-audit --no-fund', ].join('\n'); console.log('[5/8] 正在远端清理、解压、安装依赖...');