File tree 8 files changed +1430
-10
lines changed
8 files changed +1430
-10
lines changed Original file line number Diff line number Diff line change 5
5
"comment-directive": "off"
6
6
}
7
7
}
8
- }
8
+ }
Original file line number Diff line number Diff line change 1
1
node_modules
2
- /node_modules
3
2
dist
4
-
5
- npm-debug.log *
6
- yarn-debug.log *
7
- yarn-error.log *
8
- pnpm-debug.log *
9
- pnpm-debug.log
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ . " $( dirname " $0 " ) /_/husky.sh"
3
+
4
+ npx --no-install commitlint --edit $1
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ . " $( dirname " $0 " ) /_/husky.sh"
3
+
4
+ npm exec lint-staged
5
+ npm exec pretty-quick --staged
Original file line number Diff line number Diff line change
1
+ const Configuration = {
2
+ extends : [ '@commitlint/config-conventional' ] as const
3
+ } as const
4
+
5
+ export default Configuration
Original file line number Diff line number Diff line change 4
4
< head >
5
5
< meta charset ="UTF-8 " />
6
6
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7
- < title > Web Component </ title >
7
+ < title > Web Components </ title >
8
8
</ head >
9
9
10
10
< body >
Original file line number Diff line number Diff line change 7
7
"dev" : " vite" ,
8
8
"build" : " vite build" ,
9
9
"lint" : " eslint ." ,
10
- "lint:fix" : " eslint . --fix"
10
+ "lint:fix" : " eslint . --fix" ,
11
+ "commit" : " cz"
11
12
},
12
13
"keywords" : [],
13
14
"author" : " " ,
14
15
"license" : " MIT" ,
15
16
"devDependencies" : {
17
+ "@commitlint/cli" : " ^17.1.2" ,
18
+ "@commitlint/config-conventional" : " ^17.1.0" ,
16
19
"@fighting-design/eslint-config" : " ^0.1.1" ,
17
20
"@types/node" : " ^18.11.4" ,
21
+ "commitizen" : " ^4.2.5" ,
22
+ "cz-conventional-changelog" : " ^3.3.0" ,
18
23
"eslint" : " ^8.26.0" ,
24
+ "husky" : " ^8.0.1" ,
19
25
"typescript" : " ^4.8.4" ,
20
26
"vite" : " ^3.1.8"
27
+ },
28
+ "config" : {
29
+ "commitizen" : {
30
+ "path" : " ./node_modules/cz-conventional-changelog"
31
+ }
21
32
}
22
33
}
You can’t perform that action at this time.
0 commit comments