Skip to content

chore: add minimum release age to .npmrc#1152

Merged
jdalton merged 1 commit intomainfrom
chore/min-release-age
Apr 2, 2026
Merged

chore: add minimum release age to .npmrc#1152
jdalton merged 1 commit intomainfrom
chore/min-release-age

Conversation

@jdalton
Copy link
Copy Markdown
Contributor

@jdalton jdalton commented Apr 2, 2026

Summary

  • Add minimum-release-age=10080 (pnpm, minutes) and min-release-age=7 (npm v11+, days) to .npmrc
  • Enforces a 7-day waiting period before installing newly published packages, reducing supply chain attack risk
  • pnpm reads minimum-release-age from .npmrc; npm v11+ reads min-release-age; each ignores the other's key

Test plan

  • Verified pnpm config list shows minimum-release-age=10080
  • CI passes

Note

Medium Risk
Config changes affect dependency installation behavior by delaying newly published packages, which could cause unexpected install resolution differences or failures in CI/local environments. The remainder is documentation-only guidance updates.

Overview
Adds a 7-day minimum package release age to .npmrc via minimum-release-age (pnpm, minutes) and min-release-age (npm v11+, days) to reduce exposure to freshly published supply-chain threats.

Updates CLAUDE.md with additional process guidance (completion protocol, using the filesystem for working state, self-improvement rules, and context-awareness notes).

Written by Cursor Bugbot for commit 3708c4b. Configure here.

@jdalton jdalton enabled auto-merge (squash) April 2, 2026 12:13
Add minimum-release-age=10080 (pnpm, minutes) and min-release-age=7
(npm v11+, days) to enforce a 7-day waiting period before installing
newly published packages, reducing supply chain attack risk.
@jdalton jdalton force-pushed the chore/min-release-age branch from 3708c4b to b2acaf1 Compare April 2, 2026 12:13
@jdalton jdalton merged commit f40cd67 into main Apr 2, 2026
5 checks passed
@jdalton jdalton deleted the chore/min-release-age branch April 2, 2026 13:06
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.

2 participants