amilajack / amilajack/node-disk-utility

node-pre-gyp issues

Open
#74 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
30
Forks
4
PR merge metrics
No merged PRs in 30d

Description

`package.json` references a main branch version of `node-pre-gyp` than the modified `github:amilajack/node-pre-gyp#neon-compat` that has been previously used for neon package publishing.

Running `npm run package` on this example project only bundles the native directory. There installing the package fails with no access to `index.js`
![build](https://user-images.githubusercontent.com/15960212/126215678-f5fa916a-95fb-4e56-8484-111366f6b143.jpg)

Both `node-pre-gyp` and `@mapbox/node-pre-gyp` appear to ignore the `files` section of `package.json` for files to bundle in the package and I'm struggling to find some documentation for `node-pre-gyp` that details how to overcome this.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.