Steps to Reproduce
@commitlint/config-conventional:"21.1.0", 升级到 21.2.0 后,conventional-changelog-conventionalcommits的版本没有升级
Current Behavior
No response
Expected Behavior
提交的时候会报错:
node_modules/.pnpm/@commitlint+cli@21.2.0_@types+node@22.20.0_typescript@5.9.3/node_modules/@commitlint/cli/lib/cli.js:142
throw err;
^
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined
Affected packages
Possible Solution
No response
Context
No response
commitlint --version
@commitlint/cli@21.2.0
git --version
v21.2.0
node --version
24.18.0
Steps to Reproduce
@commitlint/config-conventional:"21.1.0", 升级到 21.2.0 后,conventional-changelog-conventionalcommits的版本没有升级Current Behavior
No response
Expected Behavior
提交的时候会报错:
node_modules/.pnpm/@commitlint+cli@21.2.0_@types+node@22.20.0_typescript@5.9.3/node_modules/@commitlint/cli/lib/cli.js:142
throw err;
^
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined
Affected packages
Possible Solution
No response
Context
No response
commitlint --version
@commitlint/cli@21.2.0
git --version
v21.2.0
node --version
24.18.0