Skip to content
This repository was archived by the owner on Mar 7, 2023. It is now read-only.
This repository was archived by the owner on Mar 7, 2023. It is now read-only.

Move prebuild system to prebuildify and node-gyp-build #154

@mcous

Description

@mcous

The prebuild-install dependency now advocates against its own use:

Instead of prebuild paired with prebuild-install, we recommend prebuildify paired with node-gyp-build.

The benefits touted by prebuildify and node-gyp-build seem like useful upgrades to the build system that could meaningfully reduce the number of issues faced by Electron users of this library (e.g. #153). I'm not sure, but it looks like there's a chance it could also make it easier / possible to start shipping a universal macOS prebuilt binary to resolve #141.

With prebuildify, all prebuilt binaries are shipped inside the package that is published to npm, which means there's no need for a separate download step like you find in prebuild. The irony of this approach is that it is faster to download all prebuilt binaries for every platform when they are bundled than it is to download a single prebuilt binary as an install script.

(Aside: I'm about to go on several weeks of vacation, and I intend to look into this when I'm back. Until that time, though, if someone else picked this ticket up, I would not be disappointed!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementprebuildIssues related to missing and broken prebuilt binaries when installing (`prebuild` npm package)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions