diff --git a/manifest.json b/manifest.json index a3da16c..0db016f 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "No-code platform that turns any database into a smart spreadsheet", "fr": "Plateform sans code qui transforme toute base de données en un tableur intelligent." }, - "version": "0.98.1~ynh1", + "version": "0.98.1~ynh2", "url": "https://www.nocodb.com", "upstream": { "license": "AGPL-3.0-only", diff --git a/scripts/install b/scripts/install index 9964748..7f84c04 100755 --- a/scripts/install +++ b/scripts/install @@ -126,14 +126,11 @@ pushd $final_path if [ $YNH_ARCH = "arm64" ]; then ynh_print_info --message="Retrieving and building OracleDB for ARM64..." ynh_exec_warn_less ynh_exec_as $app git clone --recursive https://github.com/oracle/node-oracledb.git oracledb - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install ./oracledb + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install ./oracledb ynh_print_info --message="...Done! Installing NocoDB now..." fi - # https://github.com/Marak/colors.js/issues/285 - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install colors@1.4.0 --save-exact - - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install --force popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index ec06d50..04ee26d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -114,11 +114,11 @@ pushd $final_path ynh_print_info --message="Retrieving and building OracleDB for ARM64..." ynh_secure_remove oracledb ynh_exec_warn_less ynh_exec_as $app git clone --recursive https://github.com/oracle/node-oracledb.git oracledb - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install ./oracledb + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install ./oracledb ynh_print_info --message="...Done! Installing NocoDB now..." fi - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install --force popd #=================================================