From 568bd3215b4fed428966aef8a3f21cbefe02b36d Mon Sep 17 00:00:00 2001 From: lapineige Date: Thu, 2 Feb 2023 01:13:16 +0100 Subject: [PATCH] pnpm --- scripts/restore | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/restore b/scripts/restore index 50a0ea5..a6cf46f 100755 --- a/scripts/restore +++ b/scripts/restore @@ -75,6 +75,13 @@ ynh_install_nodejs --nodejs_version=$NODEJS_VERSION ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg" +# enable pnpm again +pushd "$final_path" + ynh_use_nodejs + corepack enable + corepack prepare pnpm@latest --activate +popd + #================================================= # RESTORE THE NGINX CONFIGURATION #=================================================