Skip to content

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

Merged
malept merged 15 commits into
masterfrom
malept/refactor/rebuild-types
Aug 27, 2021
Merged

malept merged 15 commits into
masterfrom
malept/refactor/rebuild-types

Conversation

@malept

@malept malept commented Aug 25, 2021

Copy link
Copy Markdown
Member

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
Copy Markdown

🎉 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