From 667efeab5e77a9031e0006cf036c9741a75c71f2 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Thu, 12 Mar 2026 09:16:59 +0100 Subject: [PATCH] SparkyFitness: install pnpm dependencies from workspace root (#12792) --- ct/sparkyfitness.sh | 3 ++- install/sparkyfitness-install.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ct/sparkyfitness.sh b/ct/sparkyfitness.sh index 5ef6c7609..014c89b36 100644 --- a/ct/sparkyfitness.sh +++ b/ct/sparkyfitness.sh @@ -55,8 +55,9 @@ function update_script() { msg_ok "Updated Sparky Fitness Backend" msg_info "Updating Sparky Fitness Frontend (Patience)" - cd /opt/sparkyfitness/SparkyFitnessFrontend + cd /opt/sparkyfitness $STD pnpm install + cd /opt/sparkyfitness/SparkyFitnessFrontend $STD pnpm run build cp -a /opt/sparkyfitness/SparkyFitnessFrontend/dist/. /var/www/sparkyfitness/ msg_ok "Updated Sparky Fitness Frontend" diff --git a/install/sparkyfitness-install.sh b/install/sparkyfitness-install.sh index f7bad8760..68a62c654 100644 --- a/install/sparkyfitness-install.sh +++ b/install/sparkyfitness-install.sh @@ -51,8 +51,9 @@ $STD npm install msg_ok "Built Backend" msg_info "Building Frontend (Patience)" -cd /opt/sparkyfitness/SparkyFitnessFrontend +cd /opt/sparkyfitness $STD pnpm install +cd /opt/sparkyfitness/SparkyFitnessFrontend $STD pnpm run build cp -a /opt/sparkyfitness/SparkyFitnessFrontend/dist/. /var/www/sparkyfitness/ msg_ok "Built Frontend"