node-gyp-build icon indicating copy to clipboard operation
node-gyp-build copied to clipboard

Build tool and bindings loader for node-gyp that supports prebuilds

Results 30 node-gyp-build issues
Sort by recently updated
recently updated
newest added

- allow injecting a prebuild using an env var - support prebuild.test for test script setup - preinstall and postinstall arguments

See https://github.com/prebuild/prebuild-install/pull/99 for an example.

enhancement

I wrote https://github.com/juliangruber/prebuildify-load as a replacement for this module which isn't build system dependant (my module uses cmake-js). I propose to advice to use `prebuildify-load` as the main module. This...

I've started bundling my code with [esbuild](https://github.com/evanw/esbuild), but some of my dependencies use `node-gyp-build`. These two don't seem to play well together at the moment. I can successfully bundle the...

* https://github.com/actions/setup-node#supported-version-syntax -- Currently `latest` is `v21.7.1`. * https://github.com/actions/checkout/releases * https://github.com/actions/setup-node/releases

It looks like `prebuildify` will try to strip binary if option `PREBUILD_STRIP` specified. will this feature be ported to `node-gyp-build`? see: https://github.com/prebuild/prebuildify/blob/5b2c60620daae74c8d1deb6e838d1ac7cceeac16/index.js#L242

Reading `bin.js`, when building from source, I discovered a `preinstall` function executes `process.argv[2]` if it exists. Passing a command to run only when rebuilding from source is great to fetch...

I'm trying to install a library for an electron app I am writing In the library they use ``` const lib = require('node-gyp-build')(__dirname); ``` to load the module. This seems...

Packages that use `node-gyp-build` fail to install on node v20 when using yarn in the case where they don't bundle prebuilds for the platform already (i.e. when building is needed)....

It simplifies the preinstall logic to call the load function and report errors in case of not finding a prebuild. It then falls back to the build. Fixes #54 Test...