From a4381a09061be5cba1c444a6984fcd311ab9acba Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 31 Oct 2023 14:17:19 +0000 Subject: [PATCH 1/4] Auto-update README --- README.md | 1 + README_fr.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index afd7ef1..c15b0ed 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ Jellyfin Vue is the next step of Jellyfin's development. It's a new frontend, ba ## Documentation and resources * Upstream app code repository: +* YunoHost Store: * Report a bug: ## Developer info diff --git a/README_fr.md b/README_fr.md index c5ecc7a..9af4de8 100644 --- a/README_fr.md +++ b/README_fr.md @@ -28,6 +28,7 @@ Jellyfin Vue est la prochaine étape du développement de Jellyfin. C'est une no ## Documentations et ressources * Dépôt de code officiel de l’app : +* YunoHost Store: * Signaler un bug : ## Informations pour les développeurs From 5fc50d735af4b63f48ecd4ee0ef2e79ceb799a7b Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 3 Nov 2023 11:57:04 +0100 Subject: [PATCH 2/4] Bump nodejs to 20 --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 6823675..51b5be6 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -nodejs_version=18 +nodejs_version=20 #================================================= # PERSONAL HELPERS From b916b64bf9d40d5d8c7c3ad307d1e474a5cd00df Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 3 Nov 2023 13:05:06 +0100 Subject: [PATCH 3/4] Update _common.sh --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 51b5be6..d9659f0 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -27,7 +27,7 @@ _npm_build_install() { pushd "$sourcedir" || ynh_die "Could not pushd $sourcedir" ynh_use_nodejs ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" \ - "$ynh_npm" install + "$ynh_npm" ci --no-audit --ignore-scripts ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" \ "$ynh_npm" run build -- --base="$subpath/" popd || ynh_die "Could not popd" From 8cc2e3d3e521ee53af3fbc21d3629868566a45d0 Mon Sep 17 00:00:00 2001 From: Mateusz <2871798+orhtej2@users.noreply.github.com> Date: Fri, 3 Nov 2023 13:11:43 +0100 Subject: [PATCH 4/4] Update _common.sh --- scripts/_common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index d9659f0..d12e606 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -24,12 +24,12 @@ _npm_build_install() { targetdir=$2 subpath=$3 - pushd "$sourcedir" || ynh_die "Could not pushd $sourcedir" - ynh_use_nodejs + ynh_use_nodejs + pushd "$sourcedir/frontend" || ynh_die "Could not pushd $sourcedir/frontend" ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" \ "$ynh_npm" ci --no-audit --ignore-scripts ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" \ - "$ynh_npm" run build -- --base="$subpath/" + "$ynh_npm" run build popd || ynh_die "Could not popd" mv "$sourcedir/frontend/dist" "$targetdir"