nodejs / nodejs/corepack

Correct output for corepack install

Open
#678 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3.8k
Forks
279
Avg merge
1h 47m
Merged PRs (30d)
2

Description

corepack install --global says "Installing yarn@4.7.0..." even if nothing was changed. It should say "yarn@4.7.0 is the current version" so setup scripts can tell the difference when a change was made.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the implementation and tests for the corepack install --global command. Reproduce the command when Yarn 4.7.0 is already current, then update the behavior so unchanged installs report that yarn@4.7.0 is current while changed installs retain an installation message; verify both cases in the relevant test coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.