Skip to content

ci: release through changesets and drop the npm shim - #233

Merged
evenstensberg merged 1 commit into
mainfrom
changests
Oct 13, 2026
Merged

evenstensberg merged 1 commit into
mainfrom
changests

Conversation

@evenstensberg

@evenstensberg evenstensberg commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Summary

Finishes moving releases onto changesets so new versions are cut automatically by the GitHub release workflow:

  • Removes .github/shims/npm (the wrapper that rewrote npm publish to npm stage publish) and the workflow step that put it on PATH.
  • Replaces the standard-version based release script with changeset publish, and adds changeset and version-packages (changeset version) scripts. standard-version is removed from devDependencies.
  • release.yml now calls npm run version-packages / npm run release through changesets/action, still authenticating via the npm trusted publisher (OIDC).

Release flow: PRs include a changeset (npx changeset) → on merge to main the workflow opens/updates the "chore(release): new release" PR → merging that publishes to npm and creates the tag and GitHub release.

Note: without the shim, releases publish directly instead of being staged. 5.0.1 (#230) is not on npm or tagged yet, so the first run after this merges will publish it.

What kind of change does this PR introduce?

ci

Did you add tests for your changes?

No, release tooling only. npm run lint passes.

Does this PR introduce a breaking change?

No.

If relevant, what needs to be documented once your changes are merged or what have you already documented?

Contributors should add a changeset (npx changeset) to PRs that need a release.

Use of AI

Changes were made with Claude Code (Claude Opus 5.5) under my direction and reviewed by me; it edited the workflow, package.json, and lockfile, and ran lint locally.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the package release process to use Changesets for versioning and publishing. The automated release workflow now uses the updated release commands, and the previous release tooling has been removed.
    • Simplified the spell-check word list by removing an entry.

Remove the `.github/shims/npm` wrapper that rewrote `npm publish` to
`npm stage publish`, and replace the `standard-version` based `release`
script with changesets so the release workflow publishes via
`npm run release`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Oct 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (7965995) to head (ec2d85b).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #233   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines           18        18           
  Branches         2         2           
=========================================
  Hits            18        18           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@coderabbitai

coderabbitai Bot commented Oct 13, 2026

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: dd4bf698-aef0-489a-bcc4-3a0193d02cf7
📥 Commits

Reviewing files that changed from the base of the PR and between 7965995 and ec2d85b.

⛔ Files ignored due to path filters: 1
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing: 4
  • .cspell.json
  • .github/shims/npm
  • .github/workflows/release.yml
  • package.json
💤 Files with no reviewable changes: 1
  • .github/shims/npm

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review.

Walkthrough

The release configuration now uses Changesets scripts for package versioning and publishing. The workflow calls those scripts. The npm publish shim and its GITHUB_PATH setup are removed. The package manifest adds the Changesets CLI and removes standard-version. The spell-check word list is reformatted and no longer includes pipefail.

Priority: ➖ Normal

Merge Risk: ⚪ Minimal · up to ec2d8

The reviewed changes show no actionable merge-blocking issue. The release workflow is configured for Changesets and OIDC publishing.

Pre-merge checks: Passed 5
Passed Passed checks: 5 passed
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main changes: moving CI releases to Changesets and removing the npm shim.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install timed out. The project may have too many dependencies for the sandbox.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@evenstensberg
evenstensberg merged commit abf545d into main Oct 13, 2026
19 checks passed
@evenstensberg
evenstensberg deleted the changests branch October 13, 2026 21:30
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