Skip to content

Commit c45fd00

Browse files
committed
build(config): enforce 7-day minimum release age for npm and pnpm
Add .npmrc and .pnpmrc to enforce a 7-day minimum release age across all environments (local development, CI, and Dependabot). This aligns with the global protection configured in ~/.npmrc and ~/Library/Preferences/pnpm/rc, ensuring consistency and preventing accidental adoption of packages published within the last week. - .npmrc: min-release-age=7d - .pnpmrc: min-release-age=10080m (7 days in minutes)
1 parent f124abd commit c45fd00

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
min-release-age=7d

.pnpmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
min-release-age=10080m

0 commit comments

Comments
 (0)