From a411d780eaa5ca0e7c224b0c8abf2f84a1761342 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Sat, 13 Dec 2025 23:05:07 +0100 Subject: [PATCH] Switch to pnpm (#9937) --- ct/umami.sh | 4 ++-- install/umami-install.sh | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ct/umami.sh b/ct/umami.sh index 967fcdc36..fcc6d295a 100644 --- a/ct/umami.sh +++ b/ct/umami.sh @@ -37,8 +37,8 @@ function update_script() { msg_info "Updating Umami" cd /opt/umami - $STD yarn install - $STD yarn run build + $STD pnpm install + $STD pnpm run build msg_ok "Updated Umami" msg_info "Starting Service" diff --git a/install/umami-install.sh b/install/umami-install.sh index d0de77205..5a83e5336 100644 --- a/install/umami-install.sh +++ b/install/umami-install.sh @@ -13,16 +13,16 @@ setting_up_container network_check update_os -NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs +NODE_VERSION="22" NODE_MODULE="pnpm@latest" setup_nodejs PG_VERSION="17" setup_postgresql PG_DB_NAME="umamidb" PG_DB_USER="umami" setup_postgresql_db fetch_and_deploy_gh_release "umami" "umami-software/umami" "tarball" msg_info "Configuring Umami" cd /opt/umami -$STD yarn install +$STD pnpm install echo -e "DATABASE_URL=postgresql://$PG_DB_USER:$PG_DB_PASS@localhost:5432/$PG_DB_NAME" >>/opt/umami/.env -$STD yarn run build +$STD pnpm run build msg_ok "Configured Umami" msg_info "Creating Service" @@ -35,7 +35,7 @@ Type=simple Restart=always User=root WorkingDirectory=/opt/umami -ExecStart=/usr/bin/yarn run start +ExecStart=/usr/bin/pnpm run start [Install] WantedBy=multi-user.target