From 85dd5d039b8d5d1a1a4cf2638f2f3e912588a42d Mon Sep 17 00:00:00 2001 From: MickLesk <47820557+MickLesk@users.noreply.github.com> Date: Fri, 4 Sep 2026 15:02:31 +0200 Subject: [PATCH] cryptpad: allow git-based npm dependencies for drawio and json.sortify under npm v12 --- ct/cryptpad.sh | 2 +- install/cryptpad-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/cryptpad.sh b/ct/cryptpad.sh index 097a78b0d..cd420c9ff 100644 --- a/ct/cryptpad.sh +++ b/ct/cryptpad.sh @@ -51,7 +51,7 @@ function update_script() { msg_info "Updating CryptPad" cd /opt/cryptpad - $STD npm ci + $STD npm ci --allow-git=all $STD npm run install:components if [ -f "/opt/cryptpad/install-onlyoffice.sh" ]; then $STD bash /opt/cryptpad/install-onlyoffice.sh --accept-license diff --git a/install/cryptpad-install.sh b/install/cryptpad-install.sh index 43809a34c..ed9e61b42 100644 --- a/install/cryptpad-install.sh +++ b/install/cryptpad-install.sh @@ -24,7 +24,7 @@ fetch_and_deploy_gh_release "cryptpad" "cryptpad/cryptpad" "tarball" msg_info "Setup CryptPad" cd /opt/cryptpad -$STD npm ci +$STD npm ci --allow-git=all $STD npm run install:components if [[ "$onlyoffice" =~ ^[Yy]$ ]]; then $STD bash -c "./install-onlyoffice.sh --accept-license"