mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-27 06:37:16 +02:00
Hold @lobehub/ui at 5.49 while LobeHub's stable release needs it (#17531)
@lobehub/ui 5.50.0 dropped NeuralNetworkLoading, and LobeHub 2.2.18 still imports it through a ^5.47.0 range with lockfile: false, so every fresh build now fails. Upstream moved off it on main; the pin only applies while package.json still asks for a 5.4x range, so it stops on its own with the next stable release.
This commit is contained in:
committed by
GitHub
parent
8a3d372171
commit
9db16c2073
@@ -46,6 +46,9 @@ function update_script() {
|
||||
msg_info "Building Application"
|
||||
cd /opt/lobehub
|
||||
export NODE_OPTIONS="--max-old-space-size=8192"
|
||||
if grep -qE '"@lobehub/ui": "\^5\.4[0-9]\.' package.json; then
|
||||
sed -i "/^overrides:/a\ '@lobehub/ui': ~5.49.1" pnpm-workspace.yaml
|
||||
fi
|
||||
$STD pnpm install
|
||||
$STD pnpm run build:docker
|
||||
unset NODE_OPTIONS
|
||||
|
||||
@@ -41,6 +41,9 @@ export DATABASE_DRIVER="node"
|
||||
export KEY_VAULTS_SECRET="$(openssl rand -base64 32)"
|
||||
export AUTH_SECRET="$(openssl rand -base64 32)"
|
||||
export APP_URL="http://localhost:3210"
|
||||
if grep -qE '"@lobehub/ui": "\^5\.4[0-9]\.' package.json; then
|
||||
sed -i "/^overrides:/a\ '@lobehub/ui': ~5.49.1" pnpm-workspace.yaml
|
||||
fi
|
||||
$STD pnpm install
|
||||
$STD pnpm run build:docker
|
||||
msg_ok "Built Application"
|
||||
|
||||
Reference in New Issue
Block a user