mapbox / node-cpp-skel

Skeleton for bindings to C++ libraries for Node.js using node-addon-api
Creative Commons Zero v1.0 Universal
72 stars 10 forks source link

stop bundling node-pre-gyp #148

Closed springmeyer closed 6 years ago

springmeyer commented 6 years ago

We no longer want to bundle node-pre-gyp. Bundling has the drawbacks of:

Note: prepublishOnly: npm ls is no longer valuable since its intention was simply to check that bundling looked correct before publishing.

So far this has been working in node-sqlite3 and a bunch of other modules I've released recently without any errors. So, its time to land it here as best practice.

/cc @mapbox/core-tech

refs https://github.com/mapbox/node-pre-gyp/pull/403