mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 16:25:53 +00:00
test
This commit is contained in:
@@ -50,12 +50,10 @@ function update_script() {
|
||||
sed -i "s|\"version\": \"0.0.0\"|\"version\": \"$RELEASE\"|" backend/package.json
|
||||
sed -i "s|\"version\": \"0.0.0\"|\"version\": \"$RELEASE\"|" frontend/package.json
|
||||
cd ./frontend || exit
|
||||
# Remove yarn.lock to force fresh dependency resolution
|
||||
rm -f yarn.lock
|
||||
# Replace node-sass with sass (Dart Sass) for Node.js compatibility
|
||||
$STD yarn remove node-sass 2>/dev/null || true
|
||||
$STD yarn add -D sass
|
||||
# First install to generate yarn.lock, then swap node-sass for sass
|
||||
$STD yarn install --network-timeout 600000
|
||||
$STD yarn remove node-sass
|
||||
$STD yarn add -D sass
|
||||
$STD yarn build
|
||||
)
|
||||
msg_ok "Built Frontend"
|
||||
|
||||
Reference in New Issue
Block a user