markdownlint-cli2: v0.9.0: shinkwrap causes all dev dependencies to be installed
When I run npm install markdownlint-cli2@0.8.1, I get markdownlint-cli2 and all its dependencies.
When I run npm install markdownlint-cli2@0.9.0, I get this and all of the dev dependencies.
I don’t recommend using a shrinkwrap, but if you must, you will want to run npm prune --production before generating it.
About this issue
- Original URL
- State: closed
- Created 10 months ago
- Reactions: 2
- Comments: 24 (23 by maintainers)
Commits related to this issue
- chore: downgrade markdownlint-cli2 See https://github.com/DavidAnson/markdownlint-cli2/issues/198 — committed to boneskull/midnight-smoker by boneskull 10 months ago
- Add midnight-smoker to smoke-test.yml to validate correct behavior of "npm pack" output, sort npm scripts (refs #198). — committed to DavidAnson/markdownlint-cli2 by DavidAnson 10 months ago
- Add midnight-smoker to smoke-test.yml to validate correct behavior of "npm pack" output, sort npm scripts (refs #198). — committed to DavidAnson/markdownlint-cli2 by DavidAnson 10 months ago
- Add midnight-smoker to smoke-test.yml to validate correct behavior of "npm pack" output, sort npm scripts (refs #198). — committed to DavidAnson/markdownlint-cli2 by DavidAnson 10 months ago
This should be fixed in
v0.9.2; I deletednpm-shrinkwrap.jsonentirely. I could not find a way to use it without cross-platform problems.v0.9.0:v0.9.2:FWIW this is exactly how to reproduce the problem: