Showcase for issue npm/cli#4323
This package has a dependency to @ui5/cli in version ^3.0.0-alpha.1. A known devDependency of @ui5/cli is ava. This, as well as other devDependencies are unexpectedly installed, even though they are marked as "dev": true in the npm-shrinkwrap.json of @ui5/cli.
git clone git@github.com:RandomByte/npm-shrinkwrap-test.git && cd npm-shrinkwrap-testnpm install- Check for a known devDependency and notice that it has been installed:
npm ls -a | grep 'ava' > ├─┬ ava@3.15.0 extraneous npm prune --productionremoves theavapackage. But a followingnpm installwill install it again