Skip to content

fix: respect disabled pnpm release age by minimumReleaseAge: 0#278

Open
elecmonkey wants to merge 2 commits into
antfu-collective:mainfrom
elecmonkey:fix/pnpm-minimum-release-age-zero
Open

fix: respect disabled pnpm release age by minimumReleaseAge: 0#278
elecmonkey wants to merge 2 commits into
antfu-collective:mainfrom
elecmonkey:fix/pnpm-minimum-release-age-zero

Conversation

@elecmonkey

Copy link
Copy Markdown

🧭 Context

pnpm v11 enables minimumReleaseAge as 1 day by default, but users can explicitly disable it with minimumReleaseAge: 0.

taze already detects pnpm v11 and applies the default maturity period, but it treated minimumReleaseAge: 0 as if the setting was absent. As a result, taze could be more restrictive than pnpm and skip valid updates that pnpm itself would install.

📚 Description

This PR fix the problem above.

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.

1 participant