Skip to content

fix(release): add changelog preset as a root dep - #13

Merged
Kikobeats merged 2 commits into
masterfrom
fix/lerna-changelog-preset
Aug 20, 2026
Merged

fix(release): add changelog preset as a root dep#13
Kikobeats merged 2 commits into
masterfrom
fix/lerna-changelog-preset

Conversation

@Kikobeats

Copy link
Copy Markdown
Member

Summary

  • Local lerna publish fails with EPRESET because conventional-changelog-conventionalcommits is only a commitlint transitive dep. Lerna import()s it from @lerna-lite/version, so pnpm isolation cannot see it.
  • CI got further: it resolved 10.4.0, then threw inside lerna-lite’s Handlebars changelog fallback.
  • Add the preset as a root dep and pin 10.3.0. lerna version --changelog-preset conventionalcommits then loads and writes the changelog.

Test plan

  • pnpm exec lerna version --conventional-commits --changelog-preset conventionalcommits --no-git-tag-version --no-push succeeds locally
  • After merge, pnpm run release locally and on master

Made with Cursor

Lerna imports it from its own pnpm folder. A transitive
commitlint install is not visible, so local publish hits EPRESET.
Pin 10.3.0 so 10.4 does not throw in the Handlebars fallback.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@Kikobeats, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 39 minutes

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

Wait for the limit to reset, then comment @coderabbitai review or push new commits to the PR.

An organization admin can change what happens after included review limits in Billing.

How do review limits work?

CodeRabbit enforces per-developer PR review limits within each organization.

For paid Pro and Pro+ reviews, CodeRabbit uses a developer's included PR review attempts over the past 7 days to set the current hourly allowance. At typical activity levels, the full plan allowance applies. Higher sustained activity can lower the allowance until earlier attempts leave the 7-day window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 916ae1d7-0772-44b9-9fbb-ec5d6dda6e46

📥 Commits

Reviewing files that changed from the base of the PR and between 243e676 and 42bb2ce.

📒 Files selected for processing (1)
  • package.json

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.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Kikobeats
Kikobeats merged commit 02f3a27 into master Aug 20, 2026
4 checks passed
@Kikobeats
Kikobeats deleted the fix/lerna-changelog-preset branch August 20, 2026 06:58
@coveralls

coveralls commented Aug 20, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 32341878365

Warning

Build has drifted: This PR's base is out of sync with its target branch, so coverage data may include unrelated changes.
Quick fix: rebase this PR. Learn more →

Coverage increased (+0.2%) to 77.034%

Details

  • Coverage increased (+0.2%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 3934
Covered Lines: 3059
Line Coverage: 77.76%
Relevant Branches: 638
Covered Branches: 463
Branch Coverage: 72.57%
Branches in Coverage %: Yes
Coverage Strength: 11.46 hits per line

💛 - Coveralls

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 42bb2ce. Configure here.

Comment thread package.json
"@lerna-lite/cli": "latest",
"@lerna-lite/publish": "latest",
"c8": "latest",
"conventional-changelog-conventionalcommits": "latest",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changelog preset not actually pinned

Medium Severity

The changelog preset is added as latest even though the change is meant to pin conventional-changelog-conventionalcommits to 10.3.0. With lockfile: false, installs can still pick a newer release such as 10.4.0, which already failed in CI inside lerna-lite’s Handlebars changelog fallback, so pnpm run release can keep breaking.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 42bb2ce. Configure here.

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.

2 participants