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
Running npm pack includes the previous result of npm pack by default.
Expected Behavior
The result of npm pack is excluded. This probably means all .tgz files should be excluded. Users can choose to exclude it, but many don’t know about it.
Steps To Reproduce
Clone a repo that doesn’t use the files fields in package.json and doesn’t use .npmignore to exclude .tgz files. For example:
Is there an existing issue for this?
Current Behavior
Running
npm pack
includes the previous result ofnpm pack
by default.Expected Behavior
The result of
npm pack
is excluded. This probably means all.tgz
files should be excluded. Users can choose to exclude it, but many don’t know about it.Steps To Reproduce
files
fields inpackage.json
and doesn’t use.npmignore
to exclude.tgz
files. For example:Environment
The text was updated successfully, but these errors were encountered: