nodejs / nodejs/corepack

corepack installs pnpm pre-releases if there exists any with a version superior than latest

Open
#473 8 comments 10 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

When running corepack up on a project that uses pnpm v9, it seems to update to a pre-release version, 9.1.0-0

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 reproducing corepack up in a project using pnpm v9 and observe why it selects 9.1.0-0. Trace the package-manager version selection entry point and verify the fix by confirming that a stable latest version is chosen instead of a pre-release.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.