mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-06-23 07:44:58 +02:00
fix(invoiceshelf): use pnpm instead of yarn for frontend build
InvoiceShelf pins pnpm via packageManager; yarn install fails during install and update with a Corepack package manager mismatch.
This commit is contained in:
+4
-5
@@ -53,12 +53,11 @@ function update_script() {
|
||||
cd /opt/invoiceshelf
|
||||
$STD composer install --no-dev --optimize-autoloader
|
||||
if command -v corepack >/dev/null 2>&1; then
|
||||
|
||||
$STD corepack yarn install
|
||||
$STD corepack yarn build
|
||||
$STD corepack pnpm install
|
||||
$STD corepack pnpm run build
|
||||
else
|
||||
$STD yarn install
|
||||
$STD yarn build
|
||||
$STD pnpm install
|
||||
$STD pnpm run build
|
||||
fi
|
||||
$STD php artisan migrate --force
|
||||
$STD php artisan optimize:clear
|
||||
|
||||
Reference in New Issue
Block a user