Depending on @commitlint/prompt or @commitlint/cli results in peer dependency warnings because the @types/node peer dependency of cosmiconfig-typescript-loader is not satisfied in @commitlint/load
Depending on @commitlint/prompt or @commitlint/cli should not result in any peer dependency warnings.
Depending on @commitlint/prompt or @commitlint/cli results in peer dependency warnings.

Affected packages
Possible Solution
Either expose @types/node as a peer dependency of @commitlint/load and then of @commitlint/cli and @commitlint/prompt, or add @types/node as a dependency of @commitlint/load.
I'd be happy to open a pull request for this, but am curious if there's a preference as to how we resolve this (see above).
Steps to Reproduce (for bugs)
yarn init
yarn add @commitlint/cli

Context
Consolidate all JavaScript tooling into a single package https://github.com/hoverinc/hover-javascript/
Your Environment
| Executable |
Version |
commitlint --version |
16.1.0 |
git --version |
1.33.0 |
node --version |
16.13.0 |
Depending on @commitlint/prompt or @commitlint/cli results in peer dependency warnings because the @types/node peer dependency of cosmiconfig-typescript-loader is not satisfied in @commitlint/load
Depending on @commitlint/prompt or @commitlint/cli should not result in any peer dependency warnings.
Depending on @commitlint/prompt or @commitlint/cli results in peer dependency warnings.
Affected packages
Possible Solution
Either expose @types/node as a peer dependency of @commitlint/load and then of @commitlint/cli and @commitlint/prompt, or add @types/node as a dependency of @commitlint/load.
I'd be happy to open a pull request for this, but am curious if there's a preference as to how we resolve this (see above).
Steps to Reproduce (for bugs)
yarn inityarn add @commitlint/cliContext
Consolidate all JavaScript tooling into a single package https://github.com/hoverinc/hover-javascript/
Your Environment
commitlint --versiongit --versionnode --version