diff --git a/scripts/_common.sh b/scripts/_common.sh index 1a757bb..a0d2a8c 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -7,6 +7,8 @@ # dependencies used by the app pkg_dependencies="python3-pip libffi-dev" +nodejs_version=10 + #================================================= # PERSONAL HELPERS #================================================= diff --git a/scripts/install b/scripts/install index 3a907b4..d84d915 100644 --- a/scripts/install +++ b/scripts/install @@ -80,7 +80,7 @@ ynh_script_progression --message="Installing dependencies..." --weight=23 ynh_install_app_dependencies $pkg_dependencies -ynh_exec_warn_less ynh_install_nodejs --nodejs_version=8 +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version python3 -m pip install pipenv diff --git a/scripts/restore b/scripts/restore index 815b937..c523967 100644 --- a/scripts/restore +++ b/scripts/restore @@ -75,7 +75,7 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=75 # Define and install dependencies ynh_install_app_dependencies $pkg_dependencies -ynh_exec_warn_less ynh_install_nodejs --nodejs_version=8 +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version python3 -m pip install pipenv diff --git a/scripts/upgrade b/scripts/upgrade index d36b487..826461e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -95,7 +95,7 @@ ynh_script_progression --message="Upgrading dependencies..." --weight=83 ynh_install_app_dependencies $pkg_dependencies -ynh_exec_warn_less ynh_install_nodejs --nodejs_version=8 +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version npm install -g configurable-http-proxy