Repository navigation
chore(release): format the generated CHANGELOGs - #32
Merged
Merged
Conversation
changesets writes CHANGELOG.md in a shape oxfmt rewrites, so the release PR and main after it failed CI's format check. Format the two CHANGELOGs on main, and run oxfmt after `changeset version` in the release workflow so the release PR is formatted from now on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 tasks done
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
CI on
mainhas failed its format check since the release PR (#18) was merged, because of the CHANGELOGs that changesets generated. This formats them and makes the release workflow format its own output from now on.Motivation
changeset versionputs a blank line between a bullet and its nested list.oxfmtremoves that blank line. As a result:mainfailed onCHANGELOG.mdandpackages/editor/CHANGELOG.md(run 37571744421).Every future release PR would fail the same way. There is no linked issue; the maintainer reported the failure.
Changes
CHANGELOG.mdandpackages/editor/CHANGELOG.md: formatted withoxfmt. Only the blank lines before nested lists are removed; the text is unchanged.version-packagesscript (changeset version && oxfmt). The release workflow now uses it as changesets/action'sversioncommand, so the release PR is formatted when it is opened.No changeset: nothing user-visible changes.
Testing
pnpm format:checkreports no issues in tracked files. The only findings are local untracked.claude/worktreesfiles.oxfmtcommand that CI checks with.Breaking changes
None
Checklist
🤖 Generated with Claude Code