Skip to content

docs(pm): note that yarn and bun keep existing entries for --save-prod - #3517

Merged
fengmk2 merged 3 commits into
voidzero-dev:mainfrom
liangmiQwQ:liang/docs-add-save-prod-yarn-bun
Nov 21, 2026
Merged

fengmk2 merged 3 commits into
voidzero-dev:mainfrom
liangmiQwQ:liang/docs-add-save-prod-yarn-bun

Conversation

@liangmiQwQ

Copy link
Copy Markdown
Collaborator

Yarn and Bun have no flag for saving to `dependencies`, so `vp add -P` runs a plain `yarn add` or `bun add`. For a new package, the result is the same as with npm or pnpm.

It differs when the package is already listed in another section. pnpm's `--save-prod` moves it into `dependencies`, and npm's does too once #3515 lands. Yarn Classic, Yarn Modern, and Bun leave it where it is. The compatibility table currently lists `-P` as fully supported on all of them with no caveat.

This PR adds a note to that row.

🤖 Generated with Claude Code

@liangmiQwQ
liangmiQwQ marked this pull request as ready for review November 21, 2026 05:42
@liangmiQwQ

Copy link
Copy Markdown
Collaborator Author

✅ Passed review in the Codex app using GPT-6.2 Astra Max.

@fengmk2 fengmk2 self-assigned this Nov 21, 2026
@fengmk2
fengmk2 merged commit 0cbe3fa into voidzero-dev:main Nov 21, 2026
42 checks passed
@fengmk2 fengmk2 mentioned this pull request Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants