diff --git a/README.md b/README.md index 15628a4..49163e3 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ You can use it to easily collaborate on notes, graphs and even presentations in - Easy to use permission system - Low system requirements -**Shipped version:** 1.9.8~ynh1 +**Shipped version:** 1.9.8~ynh2 **Demo:** https://demo.hedgedoc.org/ diff --git a/README_fr.md b/README_fr.md index 1ed5ab4..f45dc84 100644 --- a/README_fr.md +++ b/README_fr.md @@ -29,7 +29,7 @@ You can use it to easily collaborate on notes, graphs and even presentations in - Easy to use permission system - Low system requirements -**Version incluse :** 1.9.8~ynh1 +**Version incluse :** 1.9.8~ynh2 **Démo :** https://demo.hedgedoc.org/ diff --git a/config_panel.toml b/config_panel.toml index df31d1a..3c374e5 100644 --- a/config_panel.toml +++ b/config_panel.toml @@ -2,6 +2,7 @@ version = "1.0" [main] name = "HedgeDoc configuration" +services = ["__APP__"] [main.config] name = "Configuration Options" diff --git a/manifest.toml b/manifest.toml index 14fddb0..750997c 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "HedgeDoc" description.en = "Collaborative editor to work on notes written in Markdown" description.fr = "Éditeur collaboratif pour travailler sur des notes en Markdown" -version = "1.9.8~ynh1" +version = "1.9.8~ynh2" maintainers = ["eric_G"] @@ -17,13 +17,13 @@ admindoc = "https://docs.hedgedoc.org/" code = "https://github.com/hedgedoc/hedgedoc" [integration] -yunohost = ">= 11.1.19" +yunohost = ">= 11.1.21" architectures = "all" multi_instance = true ldap = true sso = true disk = "50M" -ram.build = "2500M" +ram.build = "900M" ram.runtime = "50M" [install] diff --git a/scripts/install b/scripts/install index a48110b..8f60b36 100644 --- a/scripts/install +++ b/scripts/install @@ -68,8 +68,7 @@ ynh_script_progression --message="Building HedgeDoc... (this will take some time pushd "$install_dir" ynh_use_nodejs - ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --frozen-lockfile - ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn build + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn workspaces focus --production popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index b67cf3e..986d06a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -93,8 +93,7 @@ then pushd "$install_dir" ynh_secure_remove /usr/local/share/.cache/yarn ynh_use_nodejs - ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --frozen-lockfile - ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn build + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn workspaces focus --production popd fi