Skip to content

Commit 3c5acf5

Browse files
committed
feat: add support for commitlint v14
1 parent b78c518 commit 3c5acf5

File tree

3 files changed

+295
-7
lines changed

3 files changed

+295
-7
lines changed

package-lock.json

+289-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,22 @@
4848
"node": ">=12"
4949
},
5050
"peerDependencies": {
51-
"@commitlint/lint": ">=9.1.2 || 10.x || 11.x || 12.x || 13.x"
51+
"@commitlint/lint": ">=9.1.2 <15"
5252
},
5353
"devDependencies": {
5454
"@commitlint/cli": "14.1.0",
5555
"@commitlint/config-conventional": "14.1.0",
5656
"@commitlint/lint-10.x": "npm:@commitlint/[email protected]",
5757
"@commitlint/lint-11.x": "npm:@commitlint/[email protected]",
5858
"@commitlint/lint-12.x": "npm:@commitlint/[email protected]",
59-
"@commitlint/lint-13.x": "npm:@commitlint/[email protected]",
59+
"@commitlint/lint-13.x": "npm:@commitlint/[email protected]",
60+
"@commitlint/lint-14.x": "npm:@commitlint/[email protected]",
6061
"@commitlint/lint-9.x": "npm:@commitlint/[email protected]",
6162
"@commitlint/load-10.x": "npm:@commitlint/[email protected]",
6263
"@commitlint/load-11.x": "npm:@commitlint/[email protected]",
6364
"@commitlint/load-12.x": "npm:@commitlint/[email protected]",
64-
"@commitlint/load-13.x": "npm:@commitlint/[email protected]",
65+
"@commitlint/load-13.x": "npm:@commitlint/[email protected]",
66+
"@commitlint/load-14.x": "npm:@commitlint/[email protected]",
6567
"@commitlint/load-9.x": "npm:@commitlint/[email protected]",
6668
"@commitlint/rules": "14.1.0",
6769
"@commitlint/types": "14.0.0",

test/end-to-end.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { beforeAll, describe, expect, it } from '@jest/globals';
33
import { RuleOutcome } from '@commitlint/types';
44

55
describe('commitlint plugin function rules', () => {
6-
describe.each(['9.x', '10.x', '11.x', '12.x', '13.x'])(
6+
describe.each(['9.x', '10.x', '11.x', '12.x', '13.x', '14.x'])(
77
'commitlint v%s',
88
(version: string) => {
99
/* eslint-disable @typescript-eslint/no-explicit-any */

0 commit comments

Comments
 (0)