Skip to content

chore: enforce pnpm minimumReleaseAge to align with renovate#116

Merged
wadackel merged 1 commit into
mainfrom
chore/sec-1
May 16, 2026
Merged

chore: enforce pnpm minimumReleaseAge to align with renovate#116
wadackel merged 1 commit into
mainfrom
chore/sec-1

Conversation

@wadackel
Copy link
Copy Markdown
Collaborator

Summary

Add pnpm's minimumReleaseAge: 10080 (7 days, in minutes) to pnpm-workspace.yaml so pnpm itself refuses to install package versions younger than the same 7-day window renovate.json5 already enforces for PR creation (minimumReleaseAge: '7 days').

This closes a gap where renovate gates PRs but local / CI pnpm install (e.g. lockfile regeneration or adding a new dependency) could still pull just-published versions, leaving supply-chain risk on the table.

  • pnpm is pinned to 11.0.9 via mise.toml, which supports minimumReleaseAge (introduced in pnpm 10.16).
  • The pnpm key is a numeric minute value (10080 = 7 × 24 × 60); the comment cross-references renovate.json5 to keep both values in sync if either is changed.
  • No effect on existing pnpm install --frozen-lockfile (verified locally).

References

  • n/a

Add minimumReleaseAge: 10080 (7 days in minutes) to pnpm-workspace.yaml
so pnpm itself refuses to install package versions younger than the same
7-day window renovate.json5 already enforces for PR creation.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@wadackel wadackel merged commit c33b8a3 into main May 16, 2026
3 checks passed
@wadackel wadackel deleted the chore/sec-1 branch May 16, 2026 07:09
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 2.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant