Skip to content

docs: clarify yarn dlx version and bin resolution behavior#7100

Open
jarvisz8 wants to merge 2 commits intoyarnpkg:masterfrom
jarvisz8:docs/dlx-behavior-clarify
Open

docs: clarify yarn dlx version and bin resolution behavior#7100
jarvisz8 wants to merge 2 commits intoyarnpkg:masterfrom
jarvisz8:docs/dlx-behavior-clarify

Conversation

@jarvisz8
Copy link
Copy Markdown

Summary

  • document that yarn dlx accepts package versions in both the command and -p,--package forms
  • clarify the single-package fallback behavior when the requested command does not match an exposed binary
  • add focused examples for both cases

Why

Issue #7072 appears partially addressed in code already, but the generated command documentation still omits a couple of practical behaviors that matter in real use: version-qualified packages and the single-package fallback to the sole exposed binary. This keeps the change docs-only and source-backed from the current command implementation.

Testing

  • docs-only change to command metadata and examples
  • source-reviewed against packages/plugin-dlx/sources/commands/dlx.ts behavior

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.

1 participant