From 5bbc06718099f65a3421283a1dde46a64e300dc6 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 21 Apr 2020 13:28:13 +0200 Subject: [PATCH 1/6] update node to 12 --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 606feee..73c1602 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=12 python3 -m pip install pipenv From 250a10f4f080a60e295ab8ca0b42cdbbbf9d918e Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 21 Apr 2020 21:09:18 +0200 Subject: [PATCH 2/6] update upgrade to nodejs v.12 --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 8187b58..76feb9c 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=12 npm install -g configurable-http-proxy From f38707fd1d79ee2a41b5b96eebf184946386be29 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 21 Apr 2020 21:10:44 +0200 Subject: [PATCH 3/6] update restore to nodejs v.12 --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 81c2f9f..84b828e 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=12 python3 -m pip install pipenv From 2f9da9a22a90fb765e2d42fb12728d55eb744e90 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 22 Apr 2020 16:14:53 +0200 Subject: [PATCH 4/6] revert to nodejs 10 --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 73c1602..5243596 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=12 +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=10 python3 -m pip install pipenv diff --git a/scripts/restore b/scripts/restore index 84b828e..fa5a800 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=12 +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=10 python3 -m pip install pipenv diff --git a/scripts/upgrade b/scripts/upgrade index 76feb9c..8767b76 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=12 +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=10 npm install -g configurable-http-proxy From d9832a8f533b9021006c1d67cf62fc1a017722e3 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 24 Apr 2020 11:15:29 +0200 Subject: [PATCH 5/6] creat nodejs variable in common.sh --- scripts/_common.sh | 2 ++ scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) 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 5243596..a404732 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=10 +ynh_exec_warn_less ynh_install_nodejs $nodejs_version python3 -m pip install pipenv diff --git a/scripts/restore b/scripts/restore index fa5a800..726b9ad 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=10 +ynh_exec_warn_less ynh_install_nodejs $nodejs_version python3 -m pip install pipenv diff --git a/scripts/upgrade b/scripts/upgrade index 8767b76..65597ec 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=10 +ynh_exec_warn_less ynh_install_nodejs $nodejs_version npm install -g configurable-http-proxy From 5680f773128d5b6a076e41e466e4dd60994a4bcc Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 27 Apr 2020 13:22:30 +0200 Subject: [PATCH 6/6] add getopts --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index a404732..a5157d5 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 +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 726b9ad..e468a0b 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 +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 65597ec..1fba3d8 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 +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version npm install -g configurable-http-proxy