fix(tools): only use corepack where scripts actually need it

Remove bulk corepack prefix from global pnpm/yarn installs and limit corepack enable in setup_nodejs to explicit corepack modules or Node 25+.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
MickLesk
2026-06-21 22:05:32 +02:00
parent 1363e5eab8
commit fb7ceab989
74 changed files with 73 additions and 75 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ WantedBy=multi-user.target
EOF
msg_ok "Built OpenResty"
NODE_VERSION="22" NODE_MODULE="corepack,yarn" setup_nodejs
NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs
RELEASE=$(get_latest_github_release "NginxProxyManager/nginx-proxy-manager")
fetch_and_deploy_gh_release "nginxproxymanager" "NginxProxyManager/nginx-proxy-manager" "tarball" "v${RELEASE}"