Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: extract native module type specific code into its own files #832

Merged
merged 15 commits into from
Aug 27, 2021

Conversation

malept
Copy link
Member

@malept malept commented Aug 25, 2021

This pull request is almost entirely a refactor of existing code, namely moving code relating to each native module type (node-gyp, prebuild-install, prebuildify) into their own files, which should make it easier to add new native module types, e.g., #367, #337, and #268.

This makes ModuleRebuilder a shell of its former self, so a future PR will refactor that class back into Rebuilder (and probably extract things like the node module walker out of Rebuilder).

There is one fix here, mostly because this PR caused the other one to have merge conflicts: fix: only set --verbose for node-gyp if DEBUG for rebuild is set

Note: this will 100% cause merge conflicts with #703.

Fixes #594.
Closes #689.

@malept malept requested a review from a team August 25, 2021 22:25
@malept malept merged commit 81fcd8a into master Aug 27, 2021
@malept malept deleted the malept/refactor/rebuild-types branch August 27, 2021 14:53
@electron-bot
Copy link

🎉 This PR is included in version 3.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

always verbose output.
2 participants