You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm v6 is no longer in active development; We will continue to push security releases to v6 at our team's discretion as-per our Support Policy.
If your bug is preproducible on v7, please re-file this issue using our new issue template.
If your issue was a feature request, please consider opening a new RRFC or RFC. If your issue was a question or other idea that was not CLI-specific, consider opening a discussion on our feedback repo
Current Behavior:
npm pack
does not ignore patterns like "dir/" in subdirectories, no matter if it was included in.gitignore
or.npmignore
.Expected Behavior:
The npm documentation says:
And the git documentation says:
build/
"Steps To Reproduce:
The file .gitignore is ignored by npm as expected, but npm wrongly includes two files inside an internal
src
directory that git ignores as expected.Environment:
The text was updated successfully, but these errors were encountered: