mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-21 10:44:59 +00:00
Run TypeScript compilation in Joplin Server scripts
Added 'yarn run tsc' to both update and install scripts for Joplin Server to ensure TypeScript sources are compiled. Also removed an unused variable from build.func for code cleanup.
This commit is contained in:
1 parent
fe2384a2fa
commit
7395a44277
3 files changed
+2
-1
No files matched your search
@@ -47,6 +47,7 @@ function update_script() {
|
||||
$STD yarn workspaces focus @joplin/server
|
||||
cd packages/server
|
||||
$STD yarn run build
|
||||
$STD yarn run tsc
|
||||
msg_ok "Updated Joplin-Server"
|
||||
|
||||
msg_info "Starting Services"
|
||||
|
||||
@@ -39,6 +39,7 @@ export BUILD_SEQUENCIAL=1
|
||||
$STD yarn workspaces focus @joplin/server
|
||||
cd packages/server
|
||||
$STD yarn run build
|
||||
$STD yarn run tsc
|
||||
|
||||
cat <<EOF >/opt/joplin-server/.env
|
||||
PM2_HOME=/opt/pm2
|
||||
|
||||
@@ -4508,7 +4508,6 @@ create_lxc_container() {
|
||||
fi
|
||||
|
||||
ONLINE_TEMPLATES=()
|
||||
ONLINE_TEMPLATE=""
|
||||
mapfile -t ONLINE_TEMPLATES < <(pveam available -section system 2>/dev/null | grep -E '\.(tar\.zst|tar\.xz|tar\.gz)$' | awk '{print $2}' | grep -E "^${TEMPLATE_SEARCH}.*${TEMPLATE_PATTERN}" | sort -t - -k 2 -V 2>/dev/null || true)
|
||||
[[ ${#ONLINE_TEMPLATES[@]} -gt 0 ]] && ONLINE_TEMPLATE="${ONLINE_TEMPLATES[-1]}"
|
||||
|
||||
|
||||
Reference in new issue
Block a user