Skip to content

Consume release scripts from kubb-labs/config - #715

Merged
stijnvanhulle merged 1 commit into
mainfrom
claude/move-script-kubb-labs-config-tq7erw
Jul 15, 2026
Merged

Consume release scripts from kubb-labs/config#715
stijnvanhulle merged 1 commit into
mainfrom
claude/move-script-kubb-labs-config-tq7erw

Conversation

@stijnvanhulle

Copy link
Copy Markdown
Contributor

🎯 Changes

scripts/release.mjs, scripts/createReleases.mjs, and scripts/verifyRegistry.mjs were byte-for-byte identical to kubb-labs/kubb's copies of the same files. This PR removes them here and delegates to two new composite actions in kubb-labs/config (kubb-labs/config#20):

  • The release job's changesets/action step is replaced with kubb-labs/config/.github/actions/release@<sha>, which wraps the same changesets/action call internally (version + stage-publish), using a bundled copy of release.mjs.
  • The promote job's verify/tag/create-release steps collapse into kubb-labs/config/.github/actions/promote@<sha> (omitting release-mode, so it defaults to per-package — unchanged behavior, since packages here version and changelog independently).
  • internals/changelog/format.mjs is also removed: its only consumer here was createReleases.mjs (unlike kubb-labs/kubb, this repo has no custom changelog-writing hook, it uses @changesets/changelog-github), and createReleases.mjs now bundles its own copy of format.mjs inside the config action.
  • CONTRIBUTING.md updated to describe the new action-based flow instead of the local scripts.

This is a pure "where does the logic live" change: no job structure, permissions, build/test/coverage/deploy-platform steps changed.

Note: this currently pins to kubb-labs/config's PR branch commit SHA. Once kubb-labs/config#20 merges, please confirm the pinned SHA here still matches main (it will if merged via a merge commit; it won't if squashed or rebased, in which case this PR's SHA needs a quick update before merging).

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested this code locally with pnpm run test.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is for the docs (no release). (CI/tooling only, no published package code touched.)

Generated by Claude Code

The scripts/release.mjs, scripts/createReleases.mjs, and
scripts/verifyRegistry.mjs trio was byte-identical to kubb-labs/kubb's copy.
Both now delegate to the release and promote composite actions in
kubb-labs/config, which bundle these scripts, so the release/promote jobs
here shrink to a single step each.

internals/changelog/format.mjs is also removed: its only consumer here was
createReleases.mjs (this repo has no custom changelog-writing hook like
kubb's internals/changelog/index.mjs), and that script now bundles its own
copy of format.mjs inside the config action.
@codesandbox

codesandbox Bot commented Jul 15, 2026

Copy link
Copy Markdown

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@changeset-bot

changeset-bot Bot commented Jul 15, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: e9f2321

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

@github-actions

Copy link
Copy Markdown
Contributor

📊 Dependency Size Changes

Note

🎉 This PR removes 8.1 kB of dependencies.

📦 Package 📏 Size
@kubb/ast@5.0.0-beta.100 → @kubb/ast@5.0.0-beta.99 62.7 kB
@kubb/kit@5.0.0-beta.100 → @kubb/kit@5.0.0-beta.99 -57.3 kB
@kubb/renderer-jsx@5.0.0-beta.100 → @kubb/renderer-jsx@5.0.0-beta.99 -13.5 kB
@kubb/parser-md@5.0.0-beta.100 → @kubb/parser-md@5.0.0-beta.99 225 B
@kubb/adapter-oas@5.0.0-beta.100 → @kubb/adapter-oas@5.0.0-beta.99 -162 B
@kubb/core@5.0.0-beta.100 → @kubb/core@5.0.0-beta.99 -33 B
@kubb/parser-ts@5.0.0-beta.100 → @kubb/parser-ts@5.0.0-beta.99 -13 B
kubb@5.0.0-beta.100 → kubb@5.0.0-beta.99 -12 B
unplugin-kubb@5.0.0-beta.100 → unplugin-kubb@5.0.0-beta.99 -8 B
@kubb/cli@5.0.0-beta.100 → @kubb/cli@5.0.0-beta.99 -7 B
@kubb/mcp@5.0.0-beta.100 → @kubb/mcp@5.0.0-beta.99 -7 B
@kubb/plugin-barrel@5.0.0-beta.100 → @kubb/plugin-barrel@5.0.0-beta.99 -4 B

Total size change: -8.1 kB

@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jul 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Size Change: 0 B

Total Size: 294 kB

ℹ️ View Unchanged
Filename Size
packages/plugin-axios/dist/index.cjs 14.2 kB
packages/plugin-axios/dist/index.js 13.7 kB
packages/plugin-axios/dist/rolldown-runtime-C0LytTxp.js 168 B
packages/plugin-cypress/dist/index.cjs 5.06 kB
packages/plugin-cypress/dist/index.js 4.99 kB
packages/plugin-cypress/dist/rolldown-runtime-C0LytTxp.js 168 B
packages/plugin-faker/dist/index.cjs 13.6 kB
packages/plugin-faker/dist/index.js 13.5 kB
packages/plugin-faker/dist/rolldown-runtime-C0LytTxp.js 168 B
packages/plugin-fetch/dist/index.cjs 14.2 kB
packages/plugin-fetch/dist/index.js 13.7 kB
packages/plugin-fetch/dist/rolldown-runtime-C0LytTxp.js 168 B
packages/plugin-mcp/dist/index.cjs 9.43 kB
packages/plugin-mcp/dist/index.js 8.95 kB
packages/plugin-mcp/dist/rolldown-runtime-C0LytTxp.js 168 B
packages/plugin-msw/dist/index.cjs 5.33 kB
packages/plugin-msw/dist/index.js 5.24 kB
packages/plugin-msw/dist/rolldown-runtime-C0LytTxp.js 168 B
packages/plugin-react-query/dist/index.cjs 17 kB
packages/plugin-react-query/dist/index.js 16.4 kB
packages/plugin-react-query/dist/rolldown-runtime-C0LytTxp.js 168 B
packages/plugin-redoc/dist/index.cjs 2.21 kB
packages/plugin-redoc/dist/index.js 1.75 kB
packages/plugin-redoc/dist/rolldown-runtime-C0LytTxp.js 168 B
packages/plugin-swr/dist/index.cjs 11.3 kB
packages/plugin-swr/dist/index.js 10.8 kB
packages/plugin-swr/dist/rolldown-runtime-C0LytTxp.js 168 B
packages/plugin-ts/dist/index.cjs 23.4 kB
packages/plugin-ts/dist/index.js 22.7 kB
packages/plugin-ts/dist/rolldown-runtime-CNktS9qV.js 291 B
packages/plugin-vue-query/dist/index.cjs 14.1 kB
packages/plugin-vue-query/dist/index.js 13.6 kB
packages/plugin-vue-query/dist/rolldown-runtime-C0LytTxp.js 168 B
packages/plugin-zod/dist/index.cjs 18.3 kB
packages/plugin-zod/dist/index.js 18.1 kB
packages/plugin-zod/dist/rolldown-runtime-C0LytTxp.js 168 B

compressed-size-action

@pkg-pr-new

pkg-pr-new Bot commented Jul 15, 2026

Copy link
Copy Markdown
More templates

@kubb/plugin-axios

npm i https://pkg.pr.new/@kubb/plugin-axios@715

@kubb/plugin-cypress

npm i https://pkg.pr.new/@kubb/plugin-cypress@715

@kubb/plugin-faker

npm i https://pkg.pr.new/@kubb/plugin-faker@715

@kubb/plugin-fetch

npm i https://pkg.pr.new/@kubb/plugin-fetch@715

@kubb/plugin-mcp

npm i https://pkg.pr.new/@kubb/plugin-mcp@715

@kubb/plugin-msw

npm i https://pkg.pr.new/@kubb/plugin-msw@715

@kubb/plugin-react-query

npm i https://pkg.pr.new/@kubb/plugin-react-query@715

@kubb/plugin-redoc

npm i https://pkg.pr.new/@kubb/plugin-redoc@715

@kubb/plugin-swr

npm i https://pkg.pr.new/@kubb/plugin-swr@715

@kubb/plugin-ts

npm i https://pkg.pr.new/@kubb/plugin-ts@715

@kubb/plugin-vue-query

npm i https://pkg.pr.new/@kubb/plugin-vue-query@715

@kubb/plugin-zod

npm i https://pkg.pr.new/@kubb/plugin-zod@715

commit: e9f2321

@stijnvanhulle
stijnvanhulle merged commit d2de598 into main Jul 15, 2026
13 of 14 checks passed
@stijnvanhulle
stijnvanhulle deleted the claude/move-script-kubb-labs-config-tq7erw branch July 15, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants