Skip to content

up: Add example for undocumented no-argument usage - #7254

Open
fulldecent wants to merge 1 commit into
yarnpkg:masterfrom
fulldecent:patch-5
Open

up: Add example for undocumented no-argument usage#7254
fulldecent wants to merge 1 commit into
yarnpkg:masterfrom
fulldecent:patch-5

Conversation

@fulldecent

Copy link
Copy Markdown
Contributor

What's the problem this PR addresses?

Currently, the yarn up specifies that it may be run without arguments (i.e. yarn up ...).

However this zero-argument form has no behavior document. Does it update no packages? All packages?

How did you fix it?

I added an example of the zero-argument invocation to the examples section and specified that it shall update all packages.

Checklist

  • I have read the Contributing Guide.
  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

Copilot AI lite review requested due to automatic review settings August 10, 2026 15:05
@fulldecent fulldecent changed the title Add example for undocumented no-argument usage up: Add example for undocumented no-argument usage Aug 10, 2026

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

This PR updates the yarn up command help text to include a zero-argument example intended to clarify what happens when yarn up is run without any package patterns.

Changes:

  • Added an “Upgrade all packages” example using a zero-argument invocation ($0 up) in the yarn up usage examples.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +43 to +45
`Upgrade all packages`,
`$0 up`,
], [
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