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

Another pnpm try…

From https://github.com/YunoHost-Apps/misskey_ynh/pull/145/files
This commit is contained in:
lapineige 2023-01-29 10:48:28 +01:00 committed by GitHub
parent 88b7ac2fd5
commit 6466873bd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
#=================================================