mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-12-23 15:36:25 +01:00
fix(mediamanager): use npm install and remove unused yq dependency
- Use npm install instead of npm ci because upstream package-lock.json is out of sync with package.json (missing esbuild@0.27.2) - Remove setup_yq call as yq is not used anywhere in the script (config is handled via sed)
This commit is contained in:
@ -18,7 +18,6 @@ if [[ "$admin_email" ]]; then
|
|||||||
EMAIL="$admin_email"
|
EMAIL="$admin_email"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
setup_yq
|
|
||||||
NODE_VERSION="24" setup_nodejs
|
NODE_VERSION="24" setup_nodejs
|
||||||
setup_uv
|
setup_uv
|
||||||
PG_VERSION="17" setup_postgresql
|
PG_VERSION="17" setup_postgresql
|
||||||
@ -49,7 +48,7 @@ export PUBLIC_VERSION=""
|
|||||||
export PUBLIC_API_URL=""
|
export PUBLIC_API_URL=""
|
||||||
export BASE_PATH="/web"
|
export BASE_PATH="/web"
|
||||||
cd /opt/mediamanager/web
|
cd /opt/mediamanager/web
|
||||||
$STD npm ci --no-fund --no-audit
|
$STD npm install --no-fund --no-audit
|
||||||
$STD npm run build
|
$STD npm run build
|
||||||
mkdir -p {"$MM_DIR"/web,"$MEDIA_DIR","$CONFIG_DIR"}
|
mkdir -p {"$MM_DIR"/web,"$MEDIA_DIR","$CONFIG_DIR"}
|
||||||
cp -r build "$FRONTEND_FILES_DIR"
|
cp -r build "$FRONTEND_FILES_DIR"
|
||||||
|
|||||||
Reference in New Issue
Block a user