File tree Expand file tree Collapse file tree 4 files changed +16
-5
lines changed Expand file tree Collapse file tree 4 files changed +16
-5
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ . " $( dirname " $0 " ) /_/husky.sh"
3
+
4
+ yarn commit
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ module.exports = {
31
31
prompt : {
32
32
questions : {
33
33
type : {
34
- description : "Select the type of change that you're committing" ,
34
+ description : "Select the TYPE of change that you're committing" ,
35
35
enum : {
36
36
'✨' : {
37
37
description : 'A new feature' ,
@@ -69,11 +69,11 @@ module.exports = {
69
69
} ,
70
70
scope : {
71
71
description :
72
- 'What is the scope of this change (e.g. component or file name)' ,
72
+ 'What is the SCOPE of this change (e.g. component or file name)' ,
73
73
} ,
74
74
subject : {
75
75
description :
76
- 'Write a short, imperative tense description of the change' ,
76
+ 'Write a short, imperative tense DESCRIPTION of the change' ,
77
77
} ,
78
78
body : {
79
79
description : 'Provide a longer description of the change' ,
Original file line number Diff line number Diff line change 15
15
"main" : " post-init.script.js" ,
16
16
"scripts" : {
17
17
"test" : " echo \" Error: no test specified\" && exit 1" ,
18
- "commit" : " cz"
18
+ "commit" : " cz" ,
19
+ "prepare" : " husky install"
19
20
},
20
21
"keywords" : [
21
22
" react" ,
36
37
"@commitlint/cz-commitlint" : " ^16.0.0" ,
37
38
"@commitlint/prompt-cli" : " ^16.0.0" ,
38
39
"commitizen" : " ^4.2.4" ,
39
- "cz-conventional-changelog" : " ^3.3.0"
40
+ "cz-conventional-changelog" : " ^3.3.0" ,
41
+ "husky" : " ^7.0.4"
40
42
},
41
43
"config" : {
42
44
"commitizen" : {
Original file line number Diff line number Diff line change @@ -875,6 +875,11 @@ human-signals@^2.1.0:
875
875
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
876
876
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
877
877
878
+ husky@^7.0.4 :
879
+ version "7.0.4"
880
+ resolved "https://registry.yarnpkg.com/husky/-/husky-7.0.4.tgz#242048245dc49c8fb1bf0cc7cfb98dd722531535"
881
+ integrity sha512-vbaCKN2QLtP/vD4yvs6iz6hBEo6wkSzs8HpRah1Z6aGmF2KW5PdYuAd7uX5a+OyBZHBhd+TFLqgjUgytQr4RvQ==
882
+
878
883
iconv-lite@^0.4.24 :
879
884
version "0.4.24"
880
885
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
You can’t perform that action at this time.
0 commit comments