mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-03-11 00:14:58 +00:00
test
This commit is contained in:
@@ -50,10 +50,9 @@ 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
|
||||
# First install to generate yarn.lock, then swap node-sass for sass
|
||||
# Replace node-sass with sass in package.json before installation
|
||||
sed -i 's/"node-sass".*$/"sass": "^1.92.1",/g' package.json
|
||||
$STD yarn install --network-timeout 600000
|
||||
$STD yarn remove node-sass
|
||||
$STD yarn add -D sass
|
||||
$STD yarn build
|
||||
)
|
||||
msg_ok "Built Frontend"
|
||||
|
||||
@@ -116,10 +116,9 @@ msg_ok "Set up Environment"
|
||||
msg_info "Building Frontend"
|
||||
cd ./frontend
|
||||
export NODE_OPTIONS="--openssl-legacy-provider"
|
||||
# First install to generate yarn.lock, then swap node-sass for sass
|
||||
# Replace node-sass with sass in package.json before installation
|
||||
sed -i 's/"node-sass".*$/"sass": "^1.92.1",/g' package.json
|
||||
$STD yarn install --network-timeout 600000
|
||||
$STD yarn remove node-sass
|
||||
$STD yarn add -D sass
|
||||
$STD yarn build
|
||||
cp -r dist/* /app/frontend
|
||||
cp -r app-images/* /app/frontend/images
|
||||
|
||||
Reference in New Issue
Block a user