From 914c316f42331ec187f72817a8c1ced859c83ae1 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Wed, 21 Jan 2026 12:00:46 +0100 Subject: [PATCH] Joplin-Server: use yarn workspaces focus for faster builds (#11027) --- ct/joplin-server.sh | 4 +++- frontend/public/json/joplin-server.json | 1 - install/joplin-server-install.sh | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ct/joplin-server.sh b/ct/joplin-server.sh index 5990b121a..317856bb9 100644 --- a/ct/joplin-server.sh +++ b/ct/joplin-server.sh @@ -44,7 +44,9 @@ function update_script() { sed -i "/onenote-converter/d" packages/lib/package.json $STD yarn config set --home enableTelemetry 0 export BUILD_SEQUENCIAL=1 - $STD yarn install --inline-builds + $STD yarn workspaces focus @joplin/server + cd packages/server + $STD yarn run build msg_ok "Updated Joplin-Server" msg_info "Starting Services" diff --git a/frontend/public/json/joplin-server.json b/frontend/public/json/joplin-server.json index 46b71fdfb..67bbdbd92 100644 --- a/frontend/public/json/joplin-server.json +++ b/frontend/public/json/joplin-server.json @@ -14,7 +14,6 @@ "website": "https://joplinapp.org/", "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/joplin.webp", "description": "Joplin - the privacy-focused note taking app with sync capabilities for Windows, macOS, Linux, Android and iOS.", - "disable": true, "install_methods": [ { "type": "default", diff --git a/install/joplin-server-install.sh b/install/joplin-server-install.sh index a1fe71f34..1d671c62a 100644 --- a/install/joplin-server-install.sh +++ b/install/joplin-server-install.sh @@ -36,7 +36,9 @@ cd /opt/joplin-server sed -i "/onenote-converter/d" packages/lib/package.json $STD yarn config set --home enableTelemetry 0 export BUILD_SEQUENCIAL=1 -$STD yarn install --inline-builds +$STD yarn workspaces focus @joplin/server +cd packages/server +$STD yarn run build cat </opt/joplin-server/.env PM2_HOME=/opt/pm2