Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove use of prepublish in recommended setup
The recommendation of `prepublish` here was to help ensure the bundled deps tree is correct. But `prepublish` also runs during install per npm/npm#10074. So, let's avoid the confusion and potential gochas of different npm versions by not recommending this hook.
- Loading branch information
71e6411
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just hit
with npm v5, seems like the
prepublish
field is still in this project's readmehttps://github.com/mapbox/node-pre-gyp/blob/master/README.md#1-add-new-entries-to-your-packagejson (search for prepublish) - should we remove it from there, too?
71e6411
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 818568b