From fa8e6d5bb77436ace5f6997bd3c5ff24182ccd19 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Sun, 16 Aug 2026 20:28:36 +0200 Subject: [PATCH] tracktor: build with pnpm using upstream's frozen lockfile (#16530) --- ct/tracktor.sh | 7 +++---- install/tracktor-install.sh | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/ct/tracktor.sh b/ct/tracktor.sh index 5c8b3991b..25a8b5950 100644 --- a/ct/tracktor.sh +++ b/ct/tracktor.sh @@ -41,7 +41,6 @@ function update_script() { if ! grep -qxF 'BODY_SIZE_LIMIT=Infinity' /opt/tracktor.env; then rm /opt/tracktor.env cat </opt/tracktor.env -cat </opt/tracktor.env NODE_ENV=production # Set this to the path of the database file. Default - ./tracktor.db DB_PATH=/opt/tracktor-data/tracktor.db @@ -67,13 +66,13 @@ EOF fi msg_ok "Corrected Services" - NODE_VERSION="24" setup_nodejs + NODE_VERSION="22" NODE_MODULE="pnpm" setup_nodejs CLEAN_INSTALL=1 fetch_and_deploy_gh_release "tracktor" "javedh-dev/tracktor" "tarball" "latest" "/opt/tracktor" msg_info "Updating tracktor" cd /opt/tracktor - $STD npm install - $STD npm run build + $STD pnpm install --frozen-lockfile + $STD pnpm run build msg_ok "Updated tracktor" msg_info "Starting Service" diff --git a/install/tracktor-install.sh b/install/tracktor-install.sh index e0fdf274c..9096812fa 100644 --- a/install/tracktor-install.sh +++ b/install/tracktor-install.sh @@ -13,13 +13,13 @@ setting_up_container network_check update_os -NODE_VERSION="24" setup_nodejs +NODE_VERSION="22" NODE_MODULE="pnpm" setup_nodejs fetch_and_deploy_gh_release "tracktor" "javedh-dev/tracktor" "tarball" "latest" "/opt/tracktor" msg_info "Configuring Tracktor" cd /opt/tracktor -$STD npm install -$STD npm run build +$STD pnpm install --frozen-lockfile +$STD pnpm run build mkdir -p /opt/tracktor-data/{uploads,logs} cat </opt/tracktor.env NODE_ENV=production