We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typescript@latest @commitlint/cli@19.3.0 conventional-commits-parser@6.0.0
When Installing @commitlint/cli@19.3.0 @commitlint/types@19.0.3 is also installed
@commitlint/cli@19.3.0
@commitlint/types@19.0.3
https://github.com/conventional-changelog/commitlint/blob/master/%40commitlint/cli/package.json#L55C6-L55C23
Which breaks typing when conventional-commits-parser@6.0.0 is installed.
conventional-commits-parser@6.0.0
typescript will complain about commit parser having no exported member 'CommitParser' import { CommitParser } from "conventional-commits-parser";
https://github.com/conventional-changelog/conventional-changelog/blob/d3b8aaa16337993bbad4d91db1ffac5a7568756b/packages/conventional-commits-parser/src/CommitParser.ts#L42
Installing @commitlint/cli & conventional-commits-parser should result in the correct typings
@commitlint/cli
conventional-commits-parser
No response
2.41.0
22.4.0
The text was updated successfully, but these errors were encountered:
The workaround I'm using is to add the below entry to the tsconfig file
"paths": { "conventional-commits-parser": [ "node_modules/conventional-commits-parser/dist" ] },
Sorry, something went wrong.
The PR to support v6 is still open: #4064 Happy for help
No branches or pull requests
Steps to Reproduce
Current Behavior
When Installing
@commitlint/cli@19.3.0
@commitlint/types@19.0.3
is also installedhttps://github.com/conventional-changelog/commitlint/blob/master/%40commitlint/cli/package.json#L55C6-L55C23
Which breaks typing when
conventional-commits-parser@6.0.0
is installed.https://github.com/conventional-changelog/conventional-changelog/blob/d3b8aaa16337993bbad4d91db1ffac5a7568756b/packages/conventional-commits-parser/src/CommitParser.ts#L42
Expected Behavior
Installing
@commitlint/cli
&conventional-commits-parser
should result in the correct typingsAffected packages
Possible Solution
No response
Context
No response
commitlint --version
@commitlint/cli@19.3.0
git --version
2.41.0
node --version
22.4.0
The text was updated successfully, but these errors were encountered: