Skip to content

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented Sep 22, 2025

What's the problem this PR addresses?

The npmMinimalAgeGate feature was favouring prerelease installs when running yarn add; it should instead remain on stable tracks until the final release passes the gate.

Fixes #6914

How did you fix it?

Added a check to only allow prereleases to be used if the initial tag version is also a prerelease.

Checklist

  • 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.

@arcanis arcanis merged commit a2973cc into master Sep 22, 2025
25 of 26 checks passed
@arcanis arcanis deleted the mael/npmMinimalAgeGate-beta branch September 22, 2025 15:22
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.

[Bug]: npmMinimalAgeGate feature install pre-release versions of packages
1 participant