chore: lower safe-chain / pnpm minimum package age to 48h - #3900
Merged
Conversation
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UU5kLLy4kkNVRzC2bVsDGH
|
@kubb/adapter-oas
@kubb/ast
@kubb/cli
@kubb/core
@kubb/kit
kubb
@kubb/mcp
@kubb/parser-md
@kubb/parser-ts
@kubb/plugin-barrel
@kubb/renderer-jsx
unplugin-kubb
commit: |
Contributor
|
Size Change: 0 B Total Size: 422 kB ℹ️ View Unchanged
|
Bumps @changesets/cli to v3.0.0 (v2 rejected by our own 48h minimumReleaseAge policy) and sets changeset config's format to oxfmt, matching the repo's formatter. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UU5kLLy4kkNVRzC2bVsDGH
Contributor
|
| 📦 Package | 📏 Size |
|---|---|
| jsonc-parser@3.3.1 | 212.8 kB |
| node-fetch@2.7.0 | -162.3 kB |
| import-meta-resolve@4.2.0 | 79.2 kB |
| jju@1.4.0 | 70.4 kB |
| @changesets/cli@2.31.0 → @changesets/cli@3.0.0 | -62.4 kB |
| dataloader@2.2.3 | 62.4 kB |
| @manypkg/tools@2.1.2 | 59.6 kB |
| shell-quote@1.10.0 | 43.3 kB |
| @changesets/get-github-info@0.8.0 → @changesets/get-github-info@1.0.0 | -42.6 kB |
| @changesets/config@4.0.0 | 42.3 kB |
| launch-editor@2.14.1 | 27.9 kB |
| @changesets/changelog-github@0.7.0 → @changesets/changelog-github@1.0.0 | -25.7 kB |
| @manypkg/get-packages@3.1.0 | 24.3 kB |
| dotenv@8.6.0 | -23.9 kB |
| @manypkg/find-root@3.1.0 | 23.6 kB |
| @changesets/assemble-release-plan@7.0.0 | 19.5 kB |
| @changesets/apply-release-plan@8.0.0 | 19.2 kB |
| @changesets/format@0.1.2 | 11.5 kB |
| @changesets/git@4.0.0 | 11.2 kB |
| @changesets/types@7.0.0 | 8.3 kB |
| @pnpm/deps.graph-sequencer@1100.0.1 | 7.4 kB |
| @changesets/get-dependents-graph@3.0.0 | 7.3 kB |
| @changesets/parse@1.0.0 | 5.9 kB |
| @changesets/pre@3.0.0 | 5.7 kB |
| @changesets/read@1.0.0 | 4.5 kB |
| @changesets/write@1.0.0 | 4.4 kB |
| @changesets/errors@1.0.0 | 3.3 kB |
| @changesets/changelog-git@1.0.0 | 2.7 kB |
| @changesets/should-skip-package@1.0.0 | 2.2 kB |
| dataloader@1.4.0 | Unknown |
| whatwg-url@5.0.0 | Unknown |
| tr46@0.0.3 | Unknown |
| webidl-conversions@3.0.1 | Unknown |
Total size change: 442 kB
…rsioning The v2.1.1 pin used the annotated tag object SHA, which does not resolve as a commit-ish. Repin to the commit the tag points at. changesets/action v2 hard-throws on the renamed createGithubReleases input, and both create-github-releases and push-git-tags now default to true, so the staged-release flow has to disable them explicitly. Drop setupGitUser, which v2 removed. Migrate platform and template off action v1: v1 detects releases by scraping "New tag:" from the publish script, a string changesets v3 no longer emits (it writes CHANGESETS_OUTPUT and prints "Created git tags:"), so v1 paired with the v3 CLI would silently create no releases. changesets v3 also flips the privatePackages default from version:true to version:false. Pin the previous default in platform and plugins, which both version private packages today. Also trim verbose workflow comments. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UU5kLLy4kkNVRzC2bVsDGH
pnpm version refuses to run when the working tree is dirty, and the first package it bumps dirties it, so every package after the first failed and pnpm -r exec aborted the whole sweep. The step has been broken since it moved from npm to pnpm, which also dropped the || true that had been swallowing the equivalent npm check. Pass --no-git-checks rather than restoring || true, which would skip the failing packages silently and leave them on their real version while the canary tag was published. Verified with changesets v3: the sweep now stamps every package, publish selects the 12 public ones and skips the private and test packages, and --tag canary is honored. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UU5kLLy4kkNVRzC2bVsDGH
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UU5kLLy4kkNVRzC2bVsDGH
Picks up the changesets/action v2 migration in the shared release and promote actions, which the v3 CLI in this repo needs. The previous pin still ran action v1, which cannot read v3 output. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UU5kLLy4kkNVRzC2bVsDGH
Verified changeset version still generates changelogs in every repo, including kubb's custom wrapper, which calls getReleaseLine off the default export. That export shape is unchanged in 1.0.0. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UU5kLLy4kkNVRzC2bVsDGH
The $schema still referenced @changesets/config@3.1.1, which predates both the format key and the v3 privatePackages shape, so an editor would flag the config as invalid. useCalculatedVersion moved under a snapshot object in v3, so the top-level key was silently ignored. Neither repo that set it runs changeset version --snapshot, so removing it changes nothing. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UU5kLLy4kkNVRzC2bVsDGH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pnpm-workspace.yaml'sminimumReleaseAgefrom 4320 to 2880 minutes (72h -> 48h) and update the matching.npmrccomment referencingSAFE_CHAIN_MINIMUM_PACKAGE_AGE_HOURS.Generated by Claude Code