Open
Description
Steps to Reproduce
- In a new typescript project install the following:
typescript@latest @commitlint/[email protected] [email protected]
- import conventional-commits-parser and notice how the types are missing
Current Behavior
When Installing @commitlint/[email protected]
@commitlint/[email protected]
is also installed
Which breaks typing when [email protected]
is installed.
typescript will complain about commit parser having no exported member 'CommitParser'
import { CommitParser } from "conventional-commits-parser";
Expected Behavior
Installing @commitlint/cli
& conventional-commits-parser
should result in the correct typings
Affected packages
- cli
- core
- prompt
- config-angular
Possible Solution
No response
Context
No response
commitlint --version
@commitlint/[email protected]
git --version
2.41.0
node --version
22.4.0