Skip to content

docs: Update README to include devEngines.packageManager#273

Open
nemchik wants to merge 1 commit into
pnpm:masterfrom
nemchik:patch-1
Open

docs: Update README to include devEngines.packageManager#273
nemchik wants to merge 1 commit into
pnpm:masterfrom
nemchik:patch-1

Conversation

@nemchik

@nemchik nemchik commented Jul 8, 2026

Copy link
Copy Markdown

Support added in #211 and #256

Summary by CodeRabbit

  • Documentation
    • Clarified setup instructions for package manager detection.
    • Updated examples to cover cases where package manager metadata is missing or present.
    • Refined guidance on when to omit the version setting so existing package manager settings are used.

Copilot AI review requested due to automatic review settings July 8, 2026 19:19
@nemchik nemchik requested a review from zkochan as a code owner July 8, 2026 19:19
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@coderabbitai

coderabbitai Bot commented Jul 8, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: e5ca2b14-8c1a-4322-b325-267232fe29a9

📥 Commits

Reviewing files that changed from the base of the PR and between 0ebf471 and e7d1ac1.

📒 Files selected for processing (1)
  • README.md
📜 Recent review details
🔇 Additional comments (1)
README.md (1)

15-15: LGTM!

Also applies to: 55-55, 77-77, 96-96


📝 Walkthrough

Walkthrough

The README's documentation was updated to reference devEngines.packageManager alongside packageManager in four places: the version input description, the package_json_file description, and two usage examples describing optional/omitted packageManager behavior.

Changes

README documentation update

Layer / File(s) Summary
Update Inputs and examples documentation
README.md
Version input, package_json_file description, and two usage examples updated to reference devEngines.packageManager in addition to packageManager.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Poem

Four little lines, hop hop hooray,
devEngines joins packageManager's way,
A rabbit's edit, small and neat,
Docs now clearer, quite the treat! 🐰📘

🚥 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 clearly matches the README documentation update for devEngines.packageManager.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

Copilot AI 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.

Pull request overview

Updates the action’s README to document that pnpm version resolution can also come from devEngines.packageManager in package.json, aligning the docs with functionality added in prior PRs (#211, #256).

Changes:

  • Document devEngines.packageManager as an additional source for pnpm version selection when version input is omitted.
  • Update package_json_file input description to mention devEngines.packageManager.
  • Update usage guidance text to reference devEngines.packageManager alongside packageManager.

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

Comment thread README.md
Comment thread README.md
### `package_json_file`

**Optional** (_type:_ `string`, _default:_ `package.json`) File path to the `package.json`/[`package.yaml`](https://github.com/pnpm/pnpm/pull/1799) to read "packageManager" configuration.
**Optional** (_type:_ `string`, _default:_ `package.json`) File path to the `package.json`/[`package.yaml`](https://github.com/pnpm/pnpm/pull/1799) to read `packageManager` or `devEngines.packageManager` configuration.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Not sure if this is desired. Explicit vs implicit. Nothing wrong with having it.

Comment thread README.md
### Install only pnpm without `packageManager`

This works when the repo either doesn't have a `package.json` or has a `package.json` but it doesn't specify `packageManager`.
This works when the repo either doesn't have a `package.json` or has a `package.json` but it doesn't specify `packageManager` or `devEngines.packageManager`.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

As with the above comment, this is a matter of explicit vs implicit. Nothing wrong with this change if it's desired.

Comment thread README.md
### Install only pnpm with `packageManager`

Omit `version` input to use the version in the [`packageManager` field in the `package.json`](https://nodejs.org/api/corepack.html).
Omit `version` input to use the version in the [`packageManager` or `devEngines.packageManager` field in the `package.json`](https://nodejs.org/api/corepack.html).

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

More explicit vs implicit. Same as above comments.

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