mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-13 12:15:03 +00:00
Joplin-Server: use yarn workspaces focus for faster builds (#11027)
This commit is contained in:
committed by
GitHub
parent
49d92afb98
commit
914c316f42
+3
-1
@@ -44,7 +44,9 @@ function update_script() {
|
|||||||
sed -i "/onenote-converter/d" packages/lib/package.json
|
sed -i "/onenote-converter/d" packages/lib/package.json
|
||||||
$STD yarn config set --home enableTelemetry 0
|
$STD yarn config set --home enableTelemetry 0
|
||||||
export BUILD_SEQUENCIAL=1
|
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_ok "Updated Joplin-Server"
|
||||||
|
|
||||||
msg_info "Starting Services"
|
msg_info "Starting Services"
|
||||||
|
|||||||
@@ -14,7 +14,6 @@
|
|||||||
"website": "https://joplinapp.org/",
|
"website": "https://joplinapp.org/",
|
||||||
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/joplin.webp",
|
"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.",
|
"description": "Joplin - the privacy-focused note taking app with sync capabilities for Windows, macOS, Linux, Android and iOS.",
|
||||||
"disable": true,
|
|
||||||
"install_methods": [
|
"install_methods": [
|
||||||
{
|
{
|
||||||
"type": "default",
|
"type": "default",
|
||||||
|
|||||||
@@ -36,7 +36,9 @@ cd /opt/joplin-server
|
|||||||
sed -i "/onenote-converter/d" packages/lib/package.json
|
sed -i "/onenote-converter/d" packages/lib/package.json
|
||||||
$STD yarn config set --home enableTelemetry 0
|
$STD yarn config set --home enableTelemetry 0
|
||||||
export BUILD_SEQUENCIAL=1
|
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
|
cat <<EOF >/opt/joplin-server/.env
|
||||||
PM2_HOME=/opt/pm2
|
PM2_HOME=/opt/pm2
|
||||||
|
|||||||
Reference in New Issue
Block a user