mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 10:22:29 +08:00
build(copy-trilium): use npm ci
This commit is contained in:
parent
607f9096aa
commit
d65281bfa5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user