Skip to content

feat(pm): add patch and patch-commit commands - #2308

Merged
fengmk2 merged 9 commits into
voidzero-dev:mainfrom
jong-kyung:feat/pm-patch
Aug 3, 2026
Merged

feat(pm): add patch and patch-commit commands#2308
fengmk2 merged 9 commits into
voidzero-dev:mainfrom
jong-kyung:feat/pm-patch

Conversation

@jong-kyung

@jong-kyung jong-kyung commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds vp pm patch and vp pm patch-commit commands, resolved per package manager through the resolution/commands layer.

Package manager vp pm patch <pkg> vp pm patch-commit <dir>
pnpm pnpm patch <pkg> pnpm patch-commit <dir>
bun bun patch <pkg> bun patch --commit <dir>
Yarn Berry yarn patch <pkg> yarn patch-commit <dir>
npm / Yarn Classic warns and exits successfully (UnsupportedCommandNoop) same

Both commands forward -- <args> pass-through arguments and require a project (RequireProject manager policy).

Supersedes #2144, reimplemented on top of the package manager infrastructure consolidation in #2140.

@netlify

netlify Bot commented Aug 3, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview ready!

Name Link
🔨 Latest commit 719aed6
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a7090f620ff3f0008df0b95
😎 Deploy Preview https://deploy-preview-2308--viteplus-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@jong-kyung jong-kyung self-assigned this Aug 3, 2026
@jong-kyung

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d3b7862534

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/vite_pm_cli/src/resolution/commands/patch_commit.rs Outdated
@jong-kyung

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: 228e7fbf6e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@jong-kyung
jong-kyung marked this pull request as ready for review August 3, 2026 10:27
@jong-kyung
jong-kyung requested a review from fengmk2 August 3, 2026 10:27
@jong-kyung

Copy link
Copy Markdown
Collaborator Author

Dropped the bun and yarn berry snapshot cases:

  • bun: bun patch --help prints a platform specific --backend default (docs)
  • Yarn Berry: too complex to cover with snapshot tests

@fengmk2
fengmk2 merged commit 54f9cfc into voidzero-dev:main Aug 3, 2026
57 checks passed
@jong-kyung
jong-kyung deleted the feat/pm-patch branch August 3, 2026 13:23
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.

2 participants