From 2ab000833873006c0d2e1110f0843a7f7e4c2709 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 4 Jun 2026 00:22:07 +0000 Subject: [PATCH] Bump NodeSource from Node 22 to Node 24 LTS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both silent-send and immich already use NodeSource (not Ubuntu repos). Node 24 is the current active LTS; 22 moves to maintenance in 2025. Minimum version checks (>=18 and >=20) are unchanged — both services accept any sufficiently recent Node. https://claude.ai/code/session_01Y4dMKtkqkpvmgDKoRdzhTG --- services/immich.sh | 4 ++-- services/silent-send.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/services/immich.sh b/services/immich.sh index 80b60c3..e8d2f7d 100644 --- a/services/immich.sh +++ b/services/immich.sh @@ -492,9 +492,9 @@ fi if [ "$NODE_OK" = false ]; then echo " Immich CLI requires Node.js >= 20 (found: $(node -v 2>/dev/null || echo 'none'))." - read -r -p " Install Node.js 22 LTS now? (y/n): " INSTALL_NODE_YN + read -r -p " Install Node.js 24 LTS now? (y/n): " INSTALL_NODE_YN if [ "$INSTALL_NODE_YN" = "y" ] || [ "$INSTALL_NODE_YN" = "Y" ]; then - curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - 2>/dev/null + curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash - 2>/dev/null sudo apt-get install -y -qq nodejs 2>/dev/null NODE_MAJOR=$(node -v 2>/dev/null | sed 's/^v//' | cut -d. -f1) if [ "$NODE_MAJOR" -ge 20 ] 2>/dev/null; then diff --git a/services/silent-send.sh b/services/silent-send.sh index c6e6d11..76b6330 100644 --- a/services/silent-send.sh +++ b/services/silent-send.sh @@ -65,10 +65,10 @@ EOF if ! [ "$NODE_MAJOR" -ge 18 ] 2>/dev/null; then log_warning "Node.js >= 18 required for building/signing (found: $(node -v 2>/dev/null || echo none))." local INSTALL_NODE="" - prompt_yn " Install Node.js 22 LTS from NodeSource now? (y/n):" "y" INSTALL_NODE + prompt_yn " Install Node.js 24 LTS from NodeSource now? (y/n):" "y" INSTALL_NODE if [ "$INSTALL_NODE" = "y" ] || [ "$INSTALL_NODE" = "Y" ]; then - log_info "Installing Node.js 22 LTS..." - curl -fsSL https://deb.nodesource.com/setup_22.x | bash - >/dev/null 2>&1 + log_info "Installing Node.js 24 LTS..." + curl -fsSL https://deb.nodesource.com/setup_24.x | bash - >/dev/null 2>&1 apt-get install -y nodejs >/dev/null 2>&1 NODE_MAJOR=$(node -v 2>/dev/null | sed 's/^v//' | cut -d. -f1) fi