Skip to content

Commit f7acd13

Browse files
committed
feat(commitizen): feat(commitizen): introducing project support for commitizen
* commitizen helps developers keep commit style guide true
1 parent 1ad86fe commit f7acd13

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

server/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"async-to-gen": "^1.3.0",
7676
"ava": "^0.17.0",
7777
"coveralls": "~2.11.6",
78+
"cz-conventional-changelog": "^1.2.0",
7879
"del": "^2.2.2",
7980
"eslint": "~2.2.0",
8081
"eslint-config-airbnb": "~6.0.2",
@@ -100,5 +101,10 @@
100101
"require": [
101102
"async-to-gen/register"
102103
]
104+
},
105+
"config": {
106+
"commitizen": {
107+
"path": "./server/node_modules/cz-conventional-changelog"
108+
}
103109
}
104110
}

server/yarn.lock

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,6 +1484,10 @@ content-type@~1.0.1, content-type@~1.0.2:
14841484
version "1.0.2"
14851485
resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.2.tgz#b7d113aee7a8dd27bd21133c4dc2529df1721eed"
14861486

1487+
conventional-commit-types@^2.0.0:
1488+
version "2.1.0"
1489+
resolved "https://registry.yarnpkg.com/conventional-commit-types/-/conventional-commit-types-2.1.0.tgz#45d860386c9a2e6537ee91d8a1b61bd0411b3d04"
1490+
14871491
convert-source-map@^1.1.0, convert-source-map@^1.1.1, convert-source-map@^1.2.0:
14881492
version "1.3.0"
14891493
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.3.0.tgz#e9f3e9c6e2728efc2676696a70eb382f73106a67"
@@ -1582,6 +1586,17 @@ cycle@1.0.x:
15821586
version "1.0.3"
15831587
resolved "https://registry.yarnpkg.com/cycle/-/cycle-1.0.3.tgz#21e80b2be8580f98b468f379430662b046c34ad2"
15841588

1589+
cz-conventional-changelog@^1.2.0:
1590+
version "1.2.0"
1591+
resolved "https://registry.yarnpkg.com/cz-conventional-changelog/-/cz-conventional-changelog-1.2.0.tgz#2bca04964c8919b23f3fd6a89ef5e6008b31b3f8"
1592+
dependencies:
1593+
conventional-commit-types "^2.0.0"
1594+
lodash.map "^4.5.1"
1595+
longest "^1.0.1"
1596+
pad-right "^0.2.2"
1597+
right-pad "^1.0.1"
1598+
word-wrap "^1.0.3"
1599+
15851600
d@^0.1.1, d@~0.1.1:
15861601
version "0.1.1"
15871602
resolved "https://registry.yarnpkg.com/d/-/d-0.1.1.tgz#da184c535d18d8ee7ba2aa229b914009fae11309"
@@ -3733,6 +3748,10 @@ lodash.keys@^3.0.0:
37333748
lodash.isarguments "^3.0.0"
37343749
lodash.isarray "^3.0.0"
37353750

3751+
lodash.map@^4.5.1:
3752+
version "4.6.0"
3753+
resolved "https://registry.yarnpkg.com/lodash.map/-/lodash.map-4.6.0.tgz#771ec7839e3473d9c4cde28b19394c3562f4f6d3"
3754+
37363755
lodash.mapvalues@^4.4.0:
37373756
version "4.6.0"
37383757
resolved "https://registry.yarnpkg.com/lodash.mapvalues/-/lodash.mapvalues-4.6.0.tgz#1bafa5005de9dd6f4f26668c30ca37230cc9689c"
@@ -4471,6 +4490,12 @@ package-json@^2.0.0:
44714490
registry-url "^3.0.3"
44724491
semver "^5.1.0"
44734492

4493+
pad-right@^0.2.2:
4494+
version "0.2.2"
4495+
resolved "https://registry.yarnpkg.com/pad-right/-/pad-right-0.2.2.tgz#6fbc924045d244f2a2a244503060d3bfc6009774"
4496+
dependencies:
4497+
repeat-string "^1.5.2"
4498+
44744499
parse-filepath@^1.0.1:
44754500
version "1.0.1"
44764501
resolved "https://registry.yarnpkg.com/parse-filepath/-/parse-filepath-1.0.1.tgz#159d6155d43904d16c10ef698911da1e91969b73"
@@ -5250,6 +5275,10 @@ right-align@^0.1.1:
52505275
dependencies:
52515276
align-text "^0.1.1"
52525277

5278+
right-pad@^1.0.1:
5279+
version "1.0.1"
5280+
resolved "https://registry.yarnpkg.com/right-pad/-/right-pad-1.0.1.tgz#8ca08c2cbb5b55e74dafa96bf7fd1a27d568c8d0"
5281+
52535282
rimraf@2, rimraf@^2.2.8, rimraf@~2.5.1, rimraf@~2.5.4:
52545283
version "2.5.4"
52555284
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.5.4.tgz#96800093cbf1a0c86bd95b4625467535c29dfa04"
@@ -6224,6 +6253,10 @@ wkx@0.2.0:
62246253
version "0.2.0"
62256254
resolved "https://registry.yarnpkg.com/wkx/-/wkx-0.2.0.tgz#76c24f16acd0cd8f93cd34aa331e0f7961256e84"
62266255

6256+
word-wrap@^1.0.3:
6257+
version "1.1.0"
6258+
resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.1.0.tgz#356153d61d10610d600785c5d701288e0ae764a6"
6259+
62276260
wordwrap@0.0.2:
62286261
version "0.0.2"
62296262
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f"

0 commit comments

Comments
 (0)