mirror of
https://github.com/YunoHost-Apps/jellyfin-vue_ynh.git
synced 2024-09-03 19:26:31 +02:00
commit
959d758846
3 changed files with 7 additions and 5 deletions
|
@ -28,6 +28,7 @@ Jellyfin Vue is the next step of Jellyfin's development. It's a new frontend, ba
|
||||||
## Documentation and resources
|
## Documentation and resources
|
||||||
|
|
||||||
* Upstream app code repository: <https://github.com/jellyfin/jellyfin-vue>
|
* Upstream app code repository: <https://github.com/jellyfin/jellyfin-vue>
|
||||||
|
* YunoHost Store: <https://apps.yunohost.org/app/jellyfin-vue>
|
||||||
* Report a bug: <https://github.com/YunoHost-Apps/jellyfin-vue_ynh/issues>
|
* Report a bug: <https://github.com/YunoHost-Apps/jellyfin-vue_ynh/issues>
|
||||||
|
|
||||||
## Developer info
|
## Developer info
|
||||||
|
|
|
@ -28,6 +28,7 @@ Jellyfin Vue est la prochaine étape du développement de Jellyfin. C'est une no
|
||||||
## Documentations et ressources
|
## Documentations et ressources
|
||||||
|
|
||||||
* Dépôt de code officiel de l’app : <https://github.com/jellyfin/jellyfin-vue>
|
* Dépôt de code officiel de l’app : <https://github.com/jellyfin/jellyfin-vue>
|
||||||
|
* YunoHost Store: <https://apps.yunohost.org/app/jellyfin-vue>
|
||||||
* Signaler un bug : <https://github.com/YunoHost-Apps/jellyfin-vue_ynh/issues>
|
* Signaler un bug : <https://github.com/YunoHost-Apps/jellyfin-vue_ynh/issues>
|
||||||
|
|
||||||
## Informations pour les développeurs
|
## Informations pour les développeurs
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# COMMON VARIABLES
|
# COMMON VARIABLES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
nodejs_version=18
|
nodejs_version=20
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
|
@ -24,12 +24,12 @@ _npm_build_install() {
|
||||||
targetdir=$2
|
targetdir=$2
|
||||||
subpath=$3
|
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_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_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"
|
popd || ynh_die "Could not popd"
|
||||||
|
|
||||||
mv "$sourcedir/frontend/dist" "$targetdir"
|
mv "$sourcedir/frontend/dist" "$targetdir"
|
||||||
|
|
Loading…
Reference in a new issue