Joplin-Server: use yarn workspaces focus for faster builds (#11027)

This commit is contained in:
CanbiZ (MickLesk)
2026-01-21 12:00:46 +01:00
committed by GitHub
parent 49d92afb98
commit 914c316f42
3 changed files with 6 additions and 3 deletions

View File

@@ -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"

View File

@@ -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",

View File

@@ -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 <<EOF >/opt/joplin-server/.env
PM2_HOME=/opt/pm2