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:
parent
88b7ac2fd5
commit
6466873bd9
1 changed files with 5 additions and 8 deletions
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue