Skip to content

[rush] Support pnpm's minimumReleaseAge setting #5372

Closed

Description

Summary

I'd like to request adding support for pnpm's new minimumReleaseAge setting.

Details

There have been at least two high profile supply chain attacks on npm recently and this setting is designed to mitigate these attacks by requiring a minimum age on the installed versions. Most attacks are discovered and removed within 24 hours and having access to this setting will help prevent supply chain attacks in my project and others.

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/rush globally installed version? 5.149.1
rushVersion from rush.json? 5.149.1
useWorkspaces from rush.json? true
Operating system? Linux
Would you consider contributing a PR? Yes
Node.js version (node -v)? 22.14.0

Activity

  1. marcin-kazmierczak commented on Sep 23, 2025

    @marcin-kazmierczak

    Maybe as alternative could be handled by updateConfig hook https://pnpm.io/pnpmfile#hooksupdateconfigconfig-config--promiseconfig but from I can see it's not supported by rush at this moment.

  2. wtuminski commented on Oct 6, 2025

    @wtuminski

    Hi Ian Clanton-Thuon (@iclanton)!

    Are there any plans to support it?

  3. iclanton commented on Oct 6, 2025

    @iclanton
    Member

    This should be added as an option to common/config/rush/pnpm-config.json. It shouldn't be too difficult to implement. We don't have immediate plans to implement this, but we would welcome a community contribution.

  4. moved this from Needs triage to High priority in Bug Triageon Oct 6, 2025
  5. added
    help wanted
    effort: easy
    on Oct 6, 2025
  6. PrzemyslawMikos commented on Oct 7, 2025

    @PrzemyslawMikos

    Hi Ian Clanton-Thuon (@iclanton) I'm also looking for that feature. Could you please give some hints on where to start/look at initially to start implementation?

  7. mrzepinski commented on Oct 7, 2025

    @mrzepinski
    Contributor
  8. added 2 commits that reference this issue on Oct 7, 2025
    c760b75
    eaee160
  9. moved this from High priority to Closed in Bug Triageon Oct 8, 2025
  10. added a commit that references this issue on Oct 8, 2025
    569e2f4
  11. briancmpbll commented on Oct 15, 2025

    @briancmpbll
    Author

    When will this be available in a released version of rush? I don't see it in the most recently released version tag.

  12. arnklint commented on Dec 1, 2025

    @arnklint

    Hmm, it's in the 5.161.0 changelog but the schema nor the docs are up to date?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort: easyhelp wanted

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions