From 6466873bd91e9e5b79401f49345f10bd8d93a84e Mon Sep 17 00:00:00 2001 From: lapineige Date: Sun, 29 Jan 2023 10:48:28 +0100 Subject: [PATCH] =?UTF-8?q?Another=20pnpm=20try=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From https://github.com/YunoHost-Apps/misskey_ynh/pull/145/files --- scripts/install | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/scripts/install b/scripts/install index 9b43c00..0f2613b 100755 --- a/scripts/install +++ b/scripts/install @@ -132,14 +132,11 @@ ynh_script_progression --message="Building app..." --weight=15 pushd "$final_path" ynh_use_nodejs - ynh_exec_warn_less corepack enable - ynh_exec_warn_less corepack prepare pnpm@latest --activate - ynh_exec_warn_less pnpm run clean-all - ynh_exec_warn_less pnpm set version berry - ynh_exec_warn_less pnpm plugin import workspace-tools - ynh_exec_warn_less pnpm install - ynh_exec_warn_less pnpm run rebuild - ynh_exec_warn_less pnpm run migrate + corepack enable + corepack prepare pnpm@latest --activate + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install --frozen-lockfile + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm run init popd #=================================================