conventional-changelog / conventional-changelog/commitlint
fix: conventional-changelog-conventionalcommits version not updated to 10.2.0
- Dominant language
- TypeScript
- Stars
- 18.7k
- Forks
- 970
- Avg merge
- 7h 33m
- Merged PRs (30d)
- 49
Description
### Steps to Reproduce
```bash
@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
- [ ] cli
- [ ] core
- [ ] prompt
- [ ] config-angular
### Possible Solution
_No response_
### Context
_No response_
### commitlint --version
@commitlint/cli@21.2.0
### git --version
v21.2.0
### node --version
24.18.0
Contributor guide
Research direction
Reproduce the failure with @commitlint/cli@21.2.0 and @commitlint/config-conventional upgraded from 21.1.0, then inspect the dependency resolution around conventional-changelog-conventionalcommits and the reported node_modules/@commitlint/cli/lib/cli.js entry point. Done means committing with the affected configuration no longer raises ERR_PACKAGE_PATH_NOT_EXPORTED and the required conventional-changelog-conventionalcommits version is present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100