1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/discourse_ynh.git synced 2024-09-03 18:26:18 +02:00

Try to yarn add patch-package

This commit is contained in:
Salamandar 2024-07-26 15:17:42 +02:00 committed by Félix Piédallu
parent 3b82840d88
commit e7cdd615f3

View file

@ -141,6 +141,7 @@ pushd "$install_dir"
ynh_use_nodejs ynh_use_nodejs
ynh_npm install --location=global terser ynh_npm install --location=global terser
ynh_npm install --location=global uglify-js ynh_npm install --location=global uglify-js
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" yarn add patch-package
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" yarn install --production --frozen-lockfile ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" yarn install --production --frozen-lockfile
ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" yarn cache clean ynh_exec_warn_less ynh_exec_as "$app" "$ynh_node_load_PATH" yarn cache clean
popd popd