From d65281bfa56040c7994b043f8cdc352ea49ede94 Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Sun, 9 Mar 2025 09:50:05 +0100 Subject: [PATCH] build(copy-trilium): use npm ci --- bin/copy-trilium.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.sh index f62b180a0..05bb4dee9 100755 --- a/bin/copy-trilium.sh +++ b/bin/copy-trilium.sh @@ -44,7 +44,7 @@ cp -R "$script_dir/../build/src" "$DIR" cp "$script_dir/../build/electron-main.js" "$DIR" # run in subshell (so we return to original dir) -(cd $DIR && npm install --omit=dev --legacy-peer-deps) +(cd $DIR && npm ci --omit=dev) if [[ -d "$DIR"/node_modules ]]; then # cleanup of useless files in dependencies