Skip to content

fix: honor node-gyp config in dependency lifecycle scripts - #9830

Draft
happykawayigt wants to merge 1 commit into
npm:latestfrom
happykawayigt:codex/honor-node-gyp-config
Draft

fix: honor node-gyp config in dependency lifecycle scripts#9830
happykawayigt wants to merge 1 commit into
npm:latestfrom
happykawayigt:codex/honor-node-gyp-config

Conversation

@happykawayigt

Copy link
Copy Markdown

Summary

  • pass Arborist's configured nodeGyp path to @npmcli/run-script
  • preserve custom node-gyp selection for dependency lifecycle scripts, including synthetic node-gyp rebuild installs
  • add regression coverage to the existing synthetic node-gyp rebuild test

Closes #9826

Test plan

  • tap test/arborist/rebuild.js --no-coverage --no-check-coverage from workspaces/arborist (32 subtests passed)
  • eslint workspaces/arborist/lib/arborist/rebuild.js workspaces/arborist/test/arborist/rebuild.js
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] npm ignores node-gyp config setting

1 participant