File tree Expand file tree Collapse file tree 3 files changed +1589
-1392
lines changed
Expand file tree Collapse file tree 3 files changed +1589
-1392
lines changed Original file line number Diff line number Diff line change 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 ] ,
Original file line number Diff line number Diff line change 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:*" ,
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" ,
You can’t perform that action at this time.
0 commit comments