- Notifications
You must be signed in to change notification settings - Fork 949
Open
Labels
Description
Steps to Reproduce
1. Update `@commitlint/cli`, `@commitlint/config-conventional` and `@commitlint/types` to `20.0.0` 2. Observe the error when commiting Running `if [ -z "$CI" ]; then bun commitlint --edit $1; fi` as `commit-msg` hook.Current Behavior
file:///Users/typeofweb/…/node_modules/@commitlint/parse/lib/index.js:1 import { sync } from "conventional-commits-parser"; ^^^^ SyntaxError: The requested module 'conventional-commits-parser' does not provide an export named 'sync' at ModuleJob._instantiate (node:internal/modules/esm/module_job:220:21) at async ModuleJob.run (node:internal/modules/esm/module_job:321:5) at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:644:26) at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5) Expected Behavior
No errors like in 19.8.1
Affected packages
- cli
- core
- prompt
- config-angular
Possible Solution
No response
Context
No response
commitlint --version
@commitlint/cli@20.0.0
git --version
v2.50.1
node --version
v22.17.1