Skip to content

chore: enforce the 10-day release age with pnpm 11 - #89

Merged
cardmagic merged 3 commits into
mainfrom
chore/pnpm-release-age
Oct 22, 2026
Merged

cardmagic merged 3 commits into
mainfrom
chore/pnpm-release-age

Conversation

@cardmagic

Copy link
Copy Markdown
Owner

Summary

  • pnpm 11 does not read minimumReleaseAge from .npmrc. pnpm config get minimumReleaseAge returned undefined, so the 10-day hold on new dependency versions was off.
  • The setting moves to pnpm-workspace.yaml as minimumReleaseAge: 14400 (minutes, 10 days), next to the existing minimumReleaseAgeExclude list. cf-services sets it the same way.
  • The ignored .npmrc line is removed.

Checks

  • pnpm config get minimumReleaseAge reports 14400.
  • pnpm install --frozen-lockfile passes with the current lockfile.
  • In solid-objects-js, pnpm add -D vite@8.3.5 now fails with ERR_PNPM_NO_MATURE_MATCHING_VERSION, because that release is one day old.

pnpm 11 no longer reads minimumReleaseAge from .npmrc: pnpm config get
minimumReleaseAge returned undefined, so new dependency versions were
not held back. The setting now lives in pnpm-workspace.yaml, in
minutes (14400 is 10 days), next to the existing exclusion list, the
same way cf-services sets it. pnpm config now reports 14400, a frozen
install still passes, and pnpm refuses a version that is less than 10
days old.
@greptile-apps

greptile-apps Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] This PR appears safe to merge.

Summary

Moves the intended ten-day dependency release delay into pnpm-workspace.yaml for pnpm 11.

  • Dependency installs now wait ten days before using new versions.

Reviews (1) · Last reviewed commit: "chore: enforce the 10-day release age wi..." · Reviewed by Greptile

@context7

context7 Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Docs7 for cardmagic/solid-objects-js

Result Status Action
Deployment ➖ Not used —
Content review ➖ Did not run. This site has no agent runs available this month. Wait for the monthly reset or check your Docs7 plan. —

Commit eb578bb

The vite advisory fix (#88) ran pnpm add while pnpm ignored the release
age, so the lockfile took rolldown 1.2.15, postcss 8.5.31, and
@oxc-project/types 0.155.0, published one to three days earlier. With
the release age on, a frozen install rejects these 18 entries.

The lockfile now starts again from the one before #88 and resolves
vite ^8.3.4 under the release age: vite 8.3.4, rolldown 1.2.13, and
postcss 8.5.29. A frozen install, pnpm audit at the high level, pnpm
test, and test:cloudflare pass.
@cardmagic

Copy link
Copy Markdown
Owner Author

CI failed on the frozen install after the branch update: the release age rejected 18 lockfile entries that #88 added while the guard was off (rolldown 1.2.15, postcss 8.5.31, @oxc-project/types 0.155.0). The new commit resolves vite ^8.3.4 again under the release age (vite 8.3.4, rolldown 1.2.13, postcss 8.5.29). A frozen install, the high-level audit, pnpm test, and test:cloudflare pass locally.

@cardmagic
cardmagic merged commit 8d21de6 into main Oct 22, 2026
19 checks passed
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