isaacs/npm — Issue #1862: Rename .gitignore to .npmignore in package if no .npmignore found
Author: isaacs
Created: 2011-12-09 17:29:02+00:00
State: open

When packaging up a folder, if there's a gitignore file and no .npmignore file, add it to the tarball as .npmignore.

Always exclude .gitignore files from packages.

This is to better support the "check node_modules into git" approach.