Skip to content

DENG-215: pin + 7-day dependency cooldown (.npmrc)#5

Open
m242 wants to merge 1 commit into
mainfrom
deng-215-dependency-cooldown
Open

DENG-215: pin + 7-day dependency cooldown (.npmrc)#5
m242 wants to merge 1 commit into
mainfrom
deng-215-dependency-cooldown

Conversation

@m242

@m242 m242 commented Jun 9, 2026

Copy link
Copy Markdown

DENG-215 — dependency supply-chain hardening (Tier 1: config)

This PR adds .npmrc to enforce dependency policy at install time.

save-exact=true     # pin: future `npm install <pkg>` writes exact versions
save-prefix=        # no range prefix
min-release-age=7   # 7-day cooldown: only versions published >7 days ago resolve

Requires npm ≥ 11 (Node 24 ships it) for min-release-age to take effect. CI/dev on older npm will ignore the cooldown line (safe no-op).

  • Cooldown applies to new/updated deps; npm ci from the committed lockfile is unaffected.
  • A follow-up PR will pin existing floating ranges (0 found) and regenerate the lockfile.

Ref: https://fenderdigital.atlassian.net/browse/DENG-215

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