mirror of
https://github.com/YunoHost-Apps/jupyterlab_ynh.git
synced 2024-09-03 19:26:35 +02:00
Merge pull request #40 from ericgaspar/update-to-node-12
Update to nodejs 10
This commit is contained in:
commit
5106d25bb2
4 changed files with 5 additions and 3 deletions
|
@ -7,6 +7,8 @@
|
||||||
# dependencies used by the app
|
# dependencies used by the app
|
||||||
pkg_dependencies="python3-pip libffi-dev"
|
pkg_dependencies="python3-pip libffi-dev"
|
||||||
|
|
||||||
|
nodejs_version=10
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -80,7 +80,7 @@ ynh_script_progression --message="Installing dependencies..." --weight=23
|
||||||
|
|
||||||
ynh_install_app_dependencies $pkg_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
|
python3 -m pip install pipenv
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,7 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=75
|
||||||
# Define and install dependencies
|
# Define and install dependencies
|
||||||
ynh_install_app_dependencies $pkg_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
|
python3 -m pip install pipenv
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,7 @@ ynh_script_progression --message="Upgrading dependencies..." --weight=83
|
||||||
|
|
||||||
ynh_install_app_dependencies $pkg_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
|
||||||
|
|
||||||
npm install -g configurable-http-proxy
|
npm install -g configurable-http-proxy
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue