Repository navigation
docs(pm): clarify dependency section flags for vp remove - #3527
Merged
fengmk2 merged 8 commits intoNov 22, 2026
Merged
Conversation
Keep workspace selection guidance for a separate change. Use explicit member paths from the workspace root to show how npm removes a dependency declared in different sections.
SaKaNa-Y
marked this pull request as ready for review
November 22, 2026 07:40
jong-kyung
approved these changes
Nov 22, 2026
fengmk2
approved these changes
Nov 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
vp removereference describes-Das removing a package fromdevDependencies. A maintainer cleaning up development dependencies in an npm project can also delete a production dependency with that flag.The options table now lists the section each flag targets on pnpm. The compatibility table shows which entries npm removes with
-D,-O, and-P.Evidence
viteon npm 7.14.0 and 11.19.0. On both versions,vp remove -D viteandvp remove -O viteeach removed a production-only entry.vp remove -P viteremoved a development-only entry.vp remove -D vitekept the production-only entry.Merge Danger
Door: Two-way. A documentation edit can revert this change.
Blast Radius: Documentation. The change affects one command reference.