mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-12-24 07:56:24 +01:00
MediaManager) use npm install (#10228)
* 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) * . * Change npm command from ci to install
This commit is contained in:
committed by
GitHub
parent
73b2dbb3b7
commit
ebb8b098dd
@ -44,7 +44,7 @@ function update_script() {
|
||||
export PUBLIC_API_URL=""
|
||||
export BASE_PATH="/web"
|
||||
cd /opt/mediamanager/web
|
||||
$STD npm ci --no-fund --no-audit
|
||||
$STD npm install --no-fund --no-audit
|
||||
$STD npm run build
|
||||
rm -rf "$FRONTEND_FILES_DIR"/build
|
||||
cp -r build "$FRONTEND_FILES_DIR"
|
||||
|
||||
@ -49,7 +49,7 @@ export PUBLIC_VERSION=""
|
||||
export PUBLIC_API_URL=""
|
||||
export BASE_PATH="/web"
|
||||
cd /opt/mediamanager/web
|
||||
$STD npm ci --no-fund --no-audit
|
||||
$STD npm install --no-fund --no-audit
|
||||
$STD npm run build
|
||||
mkdir -p {"$MM_DIR"/web,"$MEDIA_DIR","$CONFIG_DIR"}
|
||||
cp -r build "$FRONTEND_FILES_DIR"
|
||||
|
||||
Reference in New Issue
Block a user