From e5972ba9869e54ba3b2f21e799d1a20c13aea109 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Mon, 14 Aug 2023 13:12:44 +0200 Subject: [PATCH] test --- scripts/install | 2 +- scripts/upgrade | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index a57870b..30e4d55 100755 --- a/scripts/install +++ b/scripts/install @@ -57,7 +57,7 @@ pushd $install_dir ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --network-timeout=30000 # fix issue "Type error: Cannot find module 'pulltorefreshjs' or its corresponding type declarations." - ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install pulltorefreshjs + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install pulltorefreshjs ynh_script_progression --message="Building Yarn dev dependencies... This can be very long, be patient !" --weight=25 ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn run build diff --git a/scripts/upgrade b/scripts/upgrade index a84d1eb..8e6a7a4 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -55,9 +55,9 @@ pushd $install_dir ynh_script_progression --message="Fetching Yarn dev dependencies... This can be very long, be patient !" --weight=18 ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --network-timeout=30000 - + # fix issue "Type error: Cannot find module 'pulltorefreshjs' or its corresponding type declarations." - ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install pulltorefreshjs + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install pulltorefreshjs ynh_script_progression --message="Building Yarn dev dependencies... This can be very long, be patient !" --weight=25 ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn run build