fstream-npm icon indicating copy to clipboard operation
fstream-npm copied to clipboard

don't rename *.gyp files

Open mikemorris opened this issue 9 years ago • 0 comments
trafficstars

Fixes https://github.com/npm/npm/issues/10243, refs https://github.com/npm/read-package-json/pull/52

Currently, *.gyp files are all renamed to binding.gyp if a package.json file exists in the same directory (potentially clobbering each other if multiple *.gyp files exist). This can be problematic for packages which use a standalone gyp build system outside of just node-gyp. This patch removes the current behavior and adds a test case to ensure that main.gyp will not be renamed.

SEMVER MAJOR

/cc @othiym23

mikemorris avatar Dec 03 '15 21:12 mikemorris