Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"devDependencies": {
"@commitlint/cli": "^21.2.0",
"@commitlint/config-conventional": "^21.0.2",
"@commitlint/config-conventional": "^21.2.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Bump commitlint CLI with the preset

When the hook runs after pnpm install --frozen-lockfile, the lockfile still installs @commitlint/cli 21.0.2 / @commitlint/resolve-extends 21.0.1 while this bump pulls conventional-changelog-conventionalcommits 10.2.0 through the preset; that preset version exposes only an ESM import export, and the old resolver uses require.resolve, so loading extends: ["@commitlint/config-conventional"] fails before any commit can be linted. Please bump the commitlint CLI/resolver alongside the preset, or keep the preset on a version that still uses the v9 parser preset, so the lefthook.yml commit-msg hook continues to work.

Useful? React with 👍 / 👎.

"ajv": "8.20.0",
"ajv-formats": "3.0.1",
"js-yaml": "5.2.1",
Expand Down
58 changes: 3 additions & 55 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading