fix: pin conventional-changelog-conventionalcommits to avoid writer conflict - #33
Merged
Merged
Conversation
…onflict The preset floats to 10.x, which requires conventional-changelog-writer@9. cycjimmy/semantic-release-action@v6.0.0 runs semantic-release@25, whose @semantic-release/release-notes-generator@14 still resolves writer@8, so releases die with `Missing helper: "..."`. Holds it at 9.3.1, matching freckle/parser-js#268. Templates especially, since every repo generated from one inherits the bare entry. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
cdmren
approved these changes
Aug 26, 2026
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.
Templates seed every new repo, so an unpinned preset here keeps planting the failure freckle/maybe-js#162 hit:
Cause
Listed bare, the preset is not a tracked dependency — npm resolves it fresh on every workflow run.
10.0.0published 2026-06-26 and requiresconventional-changelog-writer@9, which the action does not supply:Nothing on our side bumps that writer — it moves when
release-notes-generatormoves.Why major 9, not 8
The monorepo moves preset and writer in lock-step, so the matched pair for
writer@8is preset 9:Preset 9 shipped into the writer-8 line, so it is the newest major compatible with what we actually run; 8 would just be older for no benefit. Pinned major-only so 9.x fixes keep flowing.
Evidence it works:
@9resolves to9.3.1today, and freckle/parser-js#268 has been on that since 2026-08-21 — publishingv3.0.0,v3.0.1andv4.0.0with fully rendered notes (compare links,⚠ BREAKING CHANGES,### Features). That markup comes from the preset via the writer, which is exactly whereMissing helperthrows, so this is the real code path exercised, not just a green exit code.The comment sits above
with:, not inside theextra_pluginsblock scalar where a#line would be read as a plugin name.Context
That one publish armed every freckle repo listing the preset bare. Fixed in the same pass: the repos currently failing on it (
maybe-js,aws-s3-lock-action,i18n-scripts-js,stack-lint-extra-deps) and the other two templates. ~13 repos still carry the bare entry but have not tripped it yet — those are being left until they actually fail.Durable follow-up
The lasting half belongs in
freckle/renovate-config, which every affected repo already extends: acustomManagersregex entry (renovate's github-actions manager only parsesuses:refs, so it cannot see a version inside awith:input) plusallowedVersions: "<10"— the same shape as the existingtypescript/!/^7\.0/rule. Renovate cannot retrofit the repos still listing the preset bare, though: with no version string there is nothing for it to match.🤖 Generated with Claude Code