Skip to content

Commit 46383a6

Browse files
committed
ci: upgrade commitlint
1 parent ff5cfb5 commit 46383a6

File tree

3 files changed

+1589
-1392
lines changed

3 files changed

+1589
-1392
lines changed
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
const lernaScopes = require('@commitlint/config-pnpm-scopes')
1+
import scopes from '@commitlint/config-pnpm-scopes'
22

3-
module.exports = {
3+
export default {
44
extends: ['@commitlint/config-conventional', '@commitlint/config-pnpm-scopes'],
55
rules: {
66
'body-max-line-length': [0],
7+
'header-max-length': [0],
78
'scope-enum': async (ctx) => {
8-
const scopeEnum = await lernaScopes.rules['scope-enum'](ctx)
9+
const scopeEnum = await scopes.rules['scope-enum'](ctx)
910

1011
return [
1112
scopeEnum[0],

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
"updateGitHooks": "simple-git-hooks"
3030
},
3131
"devDependencies": {
32-
"@commitlint/cli": "^18.0.0",
33-
"@commitlint/config-conventional": "^18.0.0",
34-
"@commitlint/config-pnpm-scopes": "^18.0.0",
35-
"@commitlint/cz-commitlint": "^18.0.0",
32+
"@commitlint/cli": "^19.8.1",
33+
"@commitlint/config-conventional": "^19.8.1",
34+
"@commitlint/config-pnpm-scopes": "^19.8.1",
35+
"@commitlint/cz-commitlint": "^19.8.1",
3636
"@swc/core": "^1.2.119",
3737
"@trigen/browserslist-config": "workspace:*",
3838
"@trigen/eslint-config": "workspace:*",
@@ -41,10 +41,10 @@
4141
"@trigen/scripts": "workspace:*",
4242
"@types/node": "^20.0.0",
4343
"clean-publish": "^4.0.0",
44-
"commitizen": "^4.2.4",
44+
"commitizen": "^4.3.1",
4545
"del-cli": "^6.0.0",
4646
"eslint": "^9.0.0",
47-
"inquirer": "^8.0.0",
47+
"inquirer": "^9.3.7",
4848
"lerna": "^4.0.0",
4949
"nano-staged": "^0.8.0",
5050
"npm-package-json-lint": "^7.0.0",

0 commit comments

Comments
 (0)