Skip to content

Commit 1bb783b

Browse files
committed
fix(FR-2857): make pnpm install reliable under the minimumReleaseAge policy
- Enable `prefer-full-metadata=true` in `.npmrc` so pnpm fetches the registry `time` field. Without this, the existing `minimumReleaseAge` policy aborts `pnpm install` with `ERR_PNPM_MISSING_TIME` whenever a package's metadata is fetched fresh (abbreviated metadata omits `time`). - Add `minimumReleaseAgeExclude` entries for `react@19.2.6` and `react-dom@19.2.6` (published 2026-05-06, less than 7 days before this change) so the recent React bump (#7330) is installable. Remove these entries once they age out on or after 2026-05-13.
1 parent 8d7fe21 commit 1bb783b

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.npmrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
# auth/registry overrides only — pnpm-specific settings live in pnpm-workspace.yaml
2+
3+
# Request full registry metadata so the `time` field is available. pnpm v11's
4+
# `minimumReleaseAge` policy (set in pnpm-workspace.yaml) needs this field to
5+
# compute each version's age; without it `pnpm install` aborts with
6+
# ERR_PNPM_MISSING_TIME whenever a package's metadata is fetched fresh.
7+
prefer-full-metadata=true

pnpm-workspace.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ gitBranchLockfile: true
7676

7777
minimumReleaseAge: 10080
7878

79+
# Exclude packages that must be installable before they age out of the
80+
# `minimumReleaseAge` quarantine. Remove entries once they exceed 7 days.
81+
minimumReleaseAgeExclude:
82+
- react@19.2.6
83+
- react-dom@19.2.6
84+
7985
allowBuilds:
8086
bufferutil: true
8187
core-js: true

0 commit comments

Comments
 (0)