Skip to content

fix: Replace version-pinned minimum-release-age excludes with a Nub name pattern - #1986

Merged
yamcodes merged 3 commits into
v1from
cursor/release-age-exclude-c446
Sep 25, 2026
Merged

yamcodes merged 3 commits into
v1from
cursor/release-age-exclude-c446

Conversation

@yamcodes

@yamcodes yamcodes commented Sep 25, 2026 •

Copy link
Copy Markdown
Owner

Fixes #1981

Nub’s 24-hour cooling window stays on. Standing exemptions and the temporary escape hatch both live in nub.jsonc install.minimumReleaseAgeExclude, because that field replaces the .npmrc spelling instead of merging with it. .npmrc no longer sets minimum-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-lockfile resolves [email protected]. That is the reinstall the Vite compatibility jobs run, which was failing with ERR_NUB_NO_MATURE_MATCHING_VERSION while the pins were only in .npmrc.

No changeset: this is root install config, not a published package.

Open in Web Open in Cursor 

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]>
@yamcodes yamcodes added enhancement New feature or improvement maintenance Routine tasks, tooling, and syncs dependencies Pull requests that update a dependency file labels Sep 25, 2026
@changeset-bot

changeset-bot Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: aafa856

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 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 — adds install.minimumReleaseAgeExclude: ["@nubjs/*"], leaving minimumReleaseAge unset so the default 24-hour window stays for every other package.
  • .npmrc — drops the 14-entry minimum-release-age-exclude list (five UnJS prereleases plus the nine @nubjs/nub* packages) and updates the header comment to point the setting at nub.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.

Pullfrog  | View workflow run | Using 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]>

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-entry minimum-release-age-exclude list ([email protected], @ark/[email protected], @ark/[email protected], [email protected]) under a new "Escape hatch" comment block, with a TODO to delete it after 2026-09-25T21:40:00Z.
  • nub.jsonc — extends the minimumReleaseAgeExclude comment to point at the .npmrc escape 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.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

Comment thread .npmrc Resolved
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]>

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 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]) into install.minimumReleaseAgeExclude beside the standing @nubjs/* pattern, with the escape-hatch comment block and the 2026-09-25T21:40:00Z TODO retained.
  • .npmrc — drops the minimum-release-age-exclude key entirely and rewrites the header comment so minimumReleaseAgeExclude is documented as living in nub.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).

Pullfrog  | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

@yamcodes
yamcodes merged commit fe9044c into v1 Sep 25, 2026
17 checks passed
@yamcodes
yamcodes deleted the cursor/release-age-exclude-c446 branch September 25, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement New feature or improvement maintenance Routine tasks, tooling, and syncs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace version-pinned minimum-release-age excludes with a Nub name pattern

2 participants