Repository navigation
Exempt git-fi from pnpm's release-age delay - #30
Merged
Merged
Conversation
pnpm 11 turns on minimumReleaseAge by default at one day, and under it `pnpm add -g @gettyimages/git-fi@latest` resolves to the newest version older than that. For a day after each release, `git fi --update` would reinstall the previous version and skip the very release the update notice named (UPDATE-01). Pass --config.minimumReleaseAgeExclude=<package> on that one install (UPDATE-05). It names git-fi alone and is never written to the user's config, so the cool-down still governs everything else, including anything the same install resolves. Older pnpm ignores the setting. The pnpm install command on the docs site carries the same exemption.
chris-peterson
marked this pull request as ready for review
November 21, 2026 19:45
chris-peterson
requested review from
andyalm
and removed request for
andyalm
November 21, 2026 19:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
pnpm 11 won't install a version until it's a day old (
minimumReleaseAge, on by default), so a pnpm user who runsgit fi --updateon release day gets the previous version, the one the update notice just told them to move off. This passes--config.minimumReleaseAgeExclude=<package>on that one install (UPDATE-05): only git-fi skips the wait, and nothing is written to the user's pnpm config.Review guide
src/package-manager.ts: the change itself, one extra arg on the pnpm installdocs/index.html: the docs' pnpm install command carries the same exemption; this strips a pinned version (@gettyimages/git-fi@1.2.2on the troubleshooting page) so the exemption names just the packageSPEC.md: UPDATE-05's wording for it