Skip to content

fix: install conventionalcommits preset for semantic-release - #28

Merged
dawsontoth merged 1 commit into
mainfrom
claude/release-fix-conventionalcommits-preset
Jul 23, 2026
Merged

fix: install conventionalcommits preset for semantic-release#28
dawsontoth merged 1 commit into
mainfrom
claude/release-fix-conventionalcommits-preset

Conversation

@dawsontoth

Copy link
Copy Markdown
Contributor

Preemptive fix mirroring HarperFast/nextjs#56.

.releaserc.json configures @semantic-release/release-notes-generator with preset: "conventionalcommits", but that preset ships in the separate conventional-changelog-conventionalcommits package — release-notes-generator depends only on conventional-changelog-angular. cycjimmy/semantic-release-action installs only what's in extra_plugins, which didn't include the preset, so a release fails at the Semantic Release step with:

Error: Cannot find module 'conventional-changelog-conventionalcommits'

nextjs hit this on its first real release run after adopting this exact workflow; vite has the identical gap and would fail the same way on its next release. Adding conventional-changelog-conventionalcommits to extra_plugins fixes it (unpinned, matching the workflow's existing "track latest" posture).

Workflow-only change; no build/test impact.

🤖 Generated with Claude Code

.releaserc.json configures @semantic-release/release-notes-generator with
`preset: "conventionalcommits"`, but that preset package is not a dependency of
release-notes-generator (it ships only conventional-changelog-angular), and the
action only installs the plugins listed in `extra_plugins`. Without it the
Release workflow fails with "Cannot find module
'conventional-changelog-conventionalcommits'". Add it so the preset resolves.

Mirrors the same fix in @harperfast/nextjs, which hit this on its first release.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@dawsontoth
dawsontoth merged commit 7d8956c into main Jul 23, 2026
7 checks passed
@dawsontoth
dawsontoth deleted the claude/release-fix-conventionalcommits-preset branch July 23, 2026 18:16
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.1.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant