corepack fixes (sha value)

This commit is contained in:
CanbiZ (MickLesk)
2026-01-23 10:51:48 +01:00
parent cef934fff0
commit cede4720ee
2 changed files with 14 additions and 4 deletions

View File

@@ -17,10 +17,16 @@ msg_info "Installing Dependencies"
$STD apt install -y redis-server
msg_ok "Installed Dependencies"
PNPM_VERSION="$(curl -fsSL "https://raw.githubusercontent.com/connorgallopo/Tracearr/refs/heads/main/package.json" | jq -r '.packageManager | split("@")[1]')"
NODE_VERSION="22" NODE_MODULE="pnpm@${PNPM_VERSION}" setup_nodejs
NODE_VERSION="22" setup_nodejs
PG_VERSION="18" setup_postgresql
msg_info "Installing pnpm"
PNPM_VERSION="$(curl -fsSL "https://raw.githubusercontent.com/connorgallopo/Tracearr/refs/heads/main/package.json" | jq -r '.packageManager | split("@")[1]' | cut -d'+' -f1)"
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
$STD corepack enable pnpm
$STD corepack prepare pnpm@${PNPM_VERSION} --activate
msg_ok "Installed pnpm"
msg_info "Installing TimescaleDB"
setup_deb822_repo \
"timescaledb" \