From 7e2eb781a80e1ee3b28492347ee018114297b833 Mon Sep 17 00:00:00 2001 From: Hadrien Date: Tue, 23 Jan 2024 15:13:40 +0100 Subject: [PATCH] `--omit=dev` rather than `--production` --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index de22843..fae4721 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -66,7 +66,7 @@ ynh_script_progression --message="Upgrading $app dependencies..." --weight=7 pushd "$install_dir" ynh_use_nodejs - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install --production + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install --omit=dev ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run download-dist ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm cache clean -f # Residue of old versions caching