cli
cli copied to clipboard
[BUG] The .gitignore file is renamed to .npmignore when npm install
Is there an existing issue for this?
- [X] I have searched the existing issues
This issue exists in the latest npm version
- [X] I am using the latest npm
Current Behavior
The tgz package I uploaded to npm contains the .gitignore file, but the npm install package becomes .npmignore
Expected Behavior
npm installs the package as it is
Steps To Reproduce
- In this environment...
- With this config...
- Run '...'
- See error...
Environment
- npm: 10.8.1
- Node.js: 20.16.0
- OS Name:
- System Model Name:
- npm config:
; copy and paste output from `npm config ls` here
@qiufeihong2018 Please provide all the details mentioned in the issue template like config and reproduction steps, logs etc.
Closing. If this is still a problem please feel free to reopen this issue, or create a new issue w/ steps to reproduce.