From 339b2919ebd85156953ad7611a0bf0108259c56e Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Thu, 20 Aug 2026 08:57:28 +0200 Subject: [PATCH 1/2] fix(release): add changelog preset as a root dep 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 --- package.json | 1 + pnpm-workspace.yaml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/package.json b/package.json index 15851ba..b38beff 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "@lerna-lite/cli": "latest", "@lerna-lite/publish": "latest", "c8": "latest", + "conventional-changelog-conventionalcommits": "10.3.0", "finepack": "latest", "git-authors-cli": "latest", "nano-staged": "latest", diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 6283793..a7a98e0 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -3,6 +3,10 @@ lockfile: false packages: - 'packages/*' +# 10.4+ throws when lerna-lite compiles the preset through Handlebars. +overrides: + conventional-changelog-conventionalcommits: 10.3.0 + allowBuilds: simple-git-hooks: true spawn-sync: false From 42bb2ce875dddbbf63afbea0d47d2e8285cd0c90 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Thu, 20 Aug 2026 08:58:25 +0200 Subject: [PATCH 2/2] fix(release): keep changelog preset on latest Co-authored-by: Cursor --- package.json | 2 +- pnpm-workspace.yaml | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/package.json b/package.json index b38beff..b525cc6 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "@lerna-lite/cli": "latest", "@lerna-lite/publish": "latest", "c8": "latest", - "conventional-changelog-conventionalcommits": "10.3.0", + "conventional-changelog-conventionalcommits": "latest", "finepack": "latest", "git-authors-cli": "latest", "nano-staged": "latest", diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index a7a98e0..6283793 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -3,10 +3,6 @@ lockfile: false packages: - 'packages/*' -# 10.4+ throws when lerna-lite compiles the preset through Handlebars. -overrides: - conventional-changelog-conventionalcommits: 10.3.0 - allowBuilds: simple-git-hooks: true spawn-sync: false