Skip to content

Document patch-package codemod#19

Open
karlhorky wants to merge 2 commits into
mainfrom
document-codemod-patch
Open

Document patch-package codemod#19
karlhorky wants to merge 2 commits into
mainfrom
document-codemod-patch

Conversation

@karlhorky

@karlhorky karlhorky commented Jun 17, 2026

Copy link
Copy Markdown
Member

Document patch-package codemod, from @btea's PR here:

Summary by CodeRabbit

  • Documentation
    • Updated README with instructions for migrating patches to pnpm's patch format, including a reference link to additional documentation.

Copilot AI review requested due to automatic review settings June 17, 2026 11:48
@karlhorky

karlhorky commented Jun 17, 2026

Copy link
Copy Markdown
Member Author

@zkochan Also, sorry but I accidentally committed this first to main (and then reverted right away):

Maybe branch protection should be enabled for the main branch?

@coderabbitai

coderabbitai Bot commented Jun 17, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@karlhorky, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 27 minutes and 39 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 5767f011-1047-4c78-8484-faea87b42f91

📥 Commits

Reviewing files that changed from the base of the PR and between 987284b and 4b54eb5.

📒 Files selected for processing (1)
  • README.md
📝 Walkthrough

Walkthrough

README.md gains a new section documenting the pnpm/patch-convert codemod, including the pnpx codemod pnpm/patch-convert run command and a link to ./patch/README.md.

Changes

pnpm/patch-convert codemod documentation

Layer / File(s) Summary
pnpm/patch-convert section in README
README.md
Adds a new section with the pnpx codemod pnpm/patch-convert command and a link to ./patch/README.md.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

A rabbit hops in with a patch to share,
Six lines of docs added with flair,
"Run pnpx codemod!" the README now cries,
From patch-package to pnpm — watch old patches fly!
🐇✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Document patch-package codemod' directly and clearly describes the main change: adding documentation for the patch-package codemod to the README.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch document-codemod-patch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Summary by Qodo

Document pnpm patch conversion codemod (patch-package �1 pnpm patch)
📝 Documentation 🕐 Less than 5 minutes

Grey Divider

Description

• Add top-level README section for patch-package �1 pnpm patch migration codemod.
• Include the pnpx codemod pnpm/patch-convert command and link to patch docs.
High-Level Assessment

Current approach is appropriate: documenting the codemod entrypoint in the root README improves discoverability while delegating details to the patch README. Alternatives (e.g., only documenting under ./patch) reduce visibility and were not pursued.

Files changed (1) +6 / -0

Documentation (1) +6 / -0
README.mdAdd README entry for patch-package �1 pnpm patch conversion codemod +6/-0

Add README entry for patch-package �1 pnpm patch conversion codemod

• Adds a new section describing how to migrate patches from 'patch-package' to pnpm's patch format. Includes the 'pnpx codemod pnpm/patch-convert' invocation and links to the detailed patch README.

README.md

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Documents the new patch-package → pnpm patch conversion codemod in the main README so users can discover and run it from the project’s entrypoint.

Changes:

  • Added a new README section describing how to migrate from patch-package to pnpm patch format
  • Included the pnpx codemod pnpm/patch-convert invocation and a link to the detailed patch README

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
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