The new `npm-shrinkwrap.json` file contains unnecessary dependencies
benjamin-v-stax opened this issue · 1 comments
Describe the bug
npm install @oclif/plugin-help@^6.0.17
installs 1294 dependencies WHEREAS @oclif/plugin-help@<=6.0.16
only installs 91 dependencies.
I have compared this repo's code between those two versions (6.0.16...6.0.17) and the code is not importing nor depending on any additional dependencies.
The bug is that too many packages are being installed and the package do not appear to be needed.
To Reproduce
- Create an empty node project using
npm init --yes
and install@oclif/plugin-help
npm install @oclif/plugin-help@^6.0.17
Expected behavior
@oclif/plugin-help
should only need 91 dependencies.
Perhaps the npm-shrinkwrap.json
file needs to be cleaned up. Perhaps the npm-shrinkwrap.json
file contains devDependencies that should not be in it?
Environment (please complete the following information):
- OS & version:
MacOS Sonoma 14.2.1
- Shell/terminal:
zsh 5.9 (x86_64-apple-darwin23.0)
- Node:
v20.11.1
Additional context
Add any other context about the problem here.
Take a look at this comment: oclif/plugin-warn-if-update-available#553 (comment)