From 6588adf748bd5d3e09f9977b16d9a5ea4cab4538 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Wed, 12 Jun 2024 12:13:23 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 9523198..9272c9a 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -18,12 +18,6 @@ ynh_script_progression --message="Upgrading dependencies..." --weight=5 ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version -# Install Yarn -ynh_npm install --global yarn - -# Install vite -ynh_npm install --global vite - #================================================= # STANDARD UPGRADE STEPS #================================================= @@ -63,6 +57,8 @@ ynh_script_progression --message="Building __APP__..." pushd $install_dir ynh_use_nodejs + ynh_npm install yarn + ynh_npm install vite ynh_script_progression --message="npm install... This can be very long, be patient !" --weight=18 ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install --network-timeout=100000