mirror of
https://github.com/YunoHost-Apps/mongo-express_ynh.git
synced 2024-09-03 19:46:04 +02:00
Update upgrade
This commit is contained in:
parent
2c800e51af
commit
264546c815
1 changed files with 1 additions and 3 deletions
|
@ -46,15 +46,13 @@ ynh_script_progression "Installing Yarn and Buuilding application..."
|
|||
# Build using Yarn
|
||||
pushd "$install_dir"
|
||||
|
||||
# We must use npm to install yarn but without installing other dependencies as npm fails with them
|
||||
# We must use npm to install yarn but without installing other dependencies as npm fails with them
|
||||
if [ -f "package.json" ]; then
|
||||
mv package.json package.json.mov
|
||||
|
||||
fi
|
||||
_install_yarn
|
||||
if [ -f "package.json.mov" ]; then
|
||||
mv package.json.mov package.json
|
||||
|
||||
fi
|
||||
ynh_exec_as_app "$ynh_yarn" install
|
||||
ynh_exec_as_app npm run build
|
||||
|
|
Loading…
Add table
Reference in a new issue