Skip to content

fix(examples): apply the 24 h release-age cooldown to the pnpm examples - #58

Merged
rqbazan merged 1 commit into
mainfrom
fix/examples-release-age
Oct 18, 2026
Merged

rqbazan merged 1 commit into
mainfrom
fix/examples-release-age

Conversation

@rqbazan

@rqbazan rqbazan commented Oct 18, 2026

Copy link
Copy Markdown
Member

Summary

The 8 pnpm examples now use the same 24 h release-age cooldown as the repo root. They install with --ignore-workspace, which skips pnpm-workspace.yaml, so each one gets its own .npmrc:

 examples/<pnpm example>/
+└── .npmrc   # minimum-release-age=1440, excludes @variablelab/* and @rrlab/*

The contributing and development docs now tell a new pnpm example to copy it.

Evidence

  • Before: an example's pnpm has no cooldown (pnpm config get minimum-release-age --ignore-workspace prints undefined), so a typescript release from 9 h ago is accepted.
    After: it prints 1440, and adding that release fails with ERR_PNPM_NO_MATURE_MATCHING_VERSION. An @rrlab/cli release from 3 h ago, which pulls in @variablelab/* releases just as new, still installs.
  • mise run examples:check passes for all 12 examples, and e2e passes for all 8 pnpm examples.

Merge Danger

Door: two-way

Blast Radius: examples

A release less than 24 h old can no longer go into a pnpm example. The 4 bun and deno examples are unchanged: bun 1.2.4 has no release-age setting.

🤖 Generated with Claude Code

https://claude.ai/code/session_012xRhgX9oTNKCAhLoiC8vSX

The pnpm examples install with --ignore-workspace, which skips
pnpm-workspace.yaml and its cooldown. Each one now has an .npmrc with the
same minimum release age and the same @variablelab/* and @rrlab/* excludes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012xRhgX9oTNKCAhLoiC8vSX
@changeset-bot

changeset-bot Bot commented Oct 18, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a3ea739

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

@vland-bot

vland-bot Bot commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Preview release

Latest commit: a3ea739

No packages have been released.

@rqbazan
rqbazan merged commit 4253906 into main Oct 18, 2026
22 checks passed
@rqbazan
rqbazan deleted the fix/examples-release-age branch October 18, 2026 17:46
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