mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-01 08:33:14 +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
|
||||
|
||||
Reference in New Issue
Block a user