Repository navigation
fix: Replace version-pinned minimum-release-age excludes with a Nub name pattern - #1986
Conversation
Version pins in .npmrc went stale on every publish and Renovate never rewrote them. Keep a name pattern in nub.jsonc so a packageManager bump can install the same day, and leave every other package on the default 24-hour window. Fixes #1981 Co-authored-by: Yam Borodetsky <[email protected]>
|
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — the whole 2-file diff, which moves the Nub release-age exemption from exact name@version pins to a name pattern. It matches issue #1981's acceptance criteria exactly.
nub.jsonc— addsinstall.minimumReleaseAgeExclude: ["@nubjs/*"], leavingminimumReleaseAgeunset so the default 24-hour window stays for every other package..npmrc— drops the 14-entryminimum-release-age-excludelist (five UnJS prereleases plus the nine@nubjs/nub*packages) and updates the header comment to point the setting atnub.jsonc.
Nub's config reference confirms both the field shape (["@company/*", "typescript"] is the documented example) and that the release-age fields apply only under a Nub-identity project, which this repo is (packageManager: [email protected]). The .npmrc project field is outranked by the nub.jsonc field, so deleting it is correct rather than lossy. I also confirmed every previously-exempted version is now older than 24 hours — the newest is @nubjs/[email protected] (2026-09-20) — so the frozen install holds and the timing race flagged in the plan is resolved.
No changeset is needed: this is root install config, not a published package.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
ArkType 2.2.5 and its @ark/* siblings are still inside Nub's 24-hour window, so the exact version pins stay in .npmrc with a TODO to delete them after 2026-09-25T21:40:00Z. Standing exemptions remain the @nubjs/* name pattern in nub.jsonc. Co-authored-by: Yam Borodetsky <[email protected]>
There was a problem hiding this comment.
Important
The .npmrc "escape hatch" added by the merge commit never takes effect: nub.jsonc's install.minimumReleaseAgeExclude outranks and fully replaces the .npmrc spelling, so the four ArkType pins are dead config.
Reviewed changes — the delta since the prior pullfrog review (d44c012 → 054aa71), i.e. the v1 merge resolution that re-adds the ArkType release-age pins as a documented .npmrc escape hatch.
.npmrc— reintroduces a four-entryminimum-release-age-excludelist ([email protected],@ark/[email protected],@ark/[email protected],[email protected]) under a new "Escape hatch" comment block, with a TODO to delete it after2026-09-25T21:40:00Z.nub.jsonc— extends theminimumReleaseAgeExcludecomment to point at the.npmrcescape hatch (field value unchanged at["@nubjs/*"]).
The merge also drops the 14 broad pins that were in the base .npmrc (h3, nitro, srvx, unstorage, db0, and the @nubjs/nub-* platform packages), which is consistent with #1981.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
Nub reads install.minimumReleaseAgeExclude from nub.jsonc and ignores the same key in .npmrc, so the ArkType pins never applied and --no-frozen-lockfile failed the cooling window. Keep the exact versions next to @nubjs/* and drop the .npmrc list. Co-authored-by: Yam Borodetsky <[email protected]>
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — the delta since the prior pullfrog review (054aa71 → aafa856b), which resolves the dead-config concern raised last run.
nub.jsonc— folds the four ArkType exact pins ([email protected],@ark/[email protected],@ark/[email protected],[email protected]) intoinstall.minimumReleaseAgeExcludebeside the standing@nubjs/*pattern, with the escape-hatch comment block and the2026-09-25T21:40:00ZTODO retained..npmrc— drops theminimum-release-age-excludekey entirely and rewrites the header comment sominimumReleaseAgeExcludeis documented as living innub.jsonc.
The previous review's concern was that the ArkType pins sat in .npmrc where nub.jsonc's field shadows them, making them dead config and leaving #1981 acceptance criterion 2 unmet. Both are now fixed: the pins live on the surface that wins, and .npmrc no longer sets the key. pnpm's dependency-resolution docs confirm exact name@version entries are valid in this field ([email protected], [email protected] || 5.102.1), and the author's nub install --lockfile-only --no-frozen-lockfile resolves [email protected] rather than erroring — the exact reinstall the Vite compatibility jobs run.
Prior pullfrog thread on this concern is resolved. No changeset needed (root install config).
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

Fixes #1981
Nub’s 24-hour cooling window stays on. Standing exemptions and the temporary escape hatch both live in
nub.jsoncinstall.minimumReleaseAgeExclude, because that field replaces the.npmrcspelling instead of merging with it..npmrcno longer setsminimum-release-age-exclude.The list is
@nubjs/*plus exact pins for[email protected],@ark/[email protected],@ark/[email protected], and[email protected]. A TODO says to delete those four after 2026-09-25T21:40:00Z. A bare package name is not an escape hatch: it would skip the window for every future publish.nub install --lockfile-only --no-frozen-lockfileresolves[email protected]. That is the reinstall the Vite compatibility jobs run, which was failing withERR_NUB_NO_MATURE_MATCHING_VERSIONwhile the pins were only in.npmrc.No changeset: this is root install config, not a published package.