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
The issue is that we're globbing each of these entries in parallel, but not maintaining the order when they come back. Bug in npm-packlist that I missed because the sync version used by the npm-packlist bin script doesn't suffer from this problem.
Current Behavior:
Negated patterns in the
files
array ofpackage.json
have no effect.Expected Behavior:
Negated patterns should cause the matching files to be excluded from the published package.
Steps To Reproduce:
Add the following
files
array inpackage.json
:Create a
foo.js
file.Run
npm publish --dry-run
.See how the output incorrectly contains
foo.js
.Environment:
The text was updated successfully, but these errors were encountered: