Skip to content

Commit 1f23b34

Browse files
committed
chore: update conventional commits preset
1 parent 303f80b commit 1f23b34

File tree

3 files changed

+80
-0
lines changed

3 files changed

+80
-0
lines changed

lerna.json

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,76 @@
1414
},
1515
"version": {
1616
"conventionalCommits": true,
17+
"changelogPreset": {
18+
"name": "conventional-changelog-conventionalcommits",
19+
"types": [
20+
{
21+
"type": "feat",
22+
"section": "Features"
23+
},
24+
{
25+
"type": "feature",
26+
"section": "Features"
27+
},
28+
{
29+
"type": "fix",
30+
"section": "Bug Fixes"
31+
},
32+
{
33+
"type": "refactor",
34+
"section": "Improvements"
35+
},
36+
{
37+
"type": "enhancement",
38+
"section": "Improvements"
39+
},
40+
{
41+
"type": "perf",
42+
"section": "Improvements"
43+
},
44+
{
45+
"type": "docs",
46+
"section": "Documentation"
47+
},
48+
{
49+
"type": "revert",
50+
"section": "Reverts",
51+
"hidden": true
52+
},
53+
{
54+
"type": "style",
55+
"section": "Styles",
56+
"hidden": true
57+
},
58+
{
59+
"type": "chore",
60+
"section": "Miscellaneous Chores",
61+
"hidden": true
62+
},
63+
{
64+
"type": "test",
65+
"section": "Tests",
66+
"hidden": true
67+
},
68+
{
69+
"type": "build",
70+
"section": "Build System",
71+
"hidden": true
72+
},
73+
{
74+
"type": "ci",
75+
"section": "Continuous Integration",
76+
"hidden": true
77+
}
78+
],
79+
"issuePrefixes": [
80+
"#"
81+
],
82+
"issueUrlFormat": "{{host}}/{{owner}}/{{repository}}/issues/{{id}}",
83+
"commitUrlFormat": "{{host}}/{{owner}}/{{repository}}/commit/{{hash}}",
84+
"compareUrlFormat": "{{host}}/{{owner}}/{{repository}}/compare/{{previousTag}}...{{currentTag}}",
85+
"userUrlFormat": "{{host}}/{{user}}"
86+
},
1787
"exact": true,
1888
"gitRemote": "origin",
1989
"message": "chore(release): release packages %s"

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"@typescript-eslint/parser": "^5.9.1",
4949
"babel-jest": "^27.4.6",
5050
"chalk": "^4",
51+
"conventional-changelog-conventionalcommits": "^5.0.0",
5152
"del-cli": "^4.0.1",
5253
"eslint": "^8.6.0",
5354
"eslint-config-prettier": "^8.5.0",

yarn.lock

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6052,6 +6052,15 @@ conventional-changelog-angular@^5.0.12:
60526052
compare-func "^2.0.0"
60536053
q "^1.5.1"
60546054

6055+
conventional-changelog-conventionalcommits@^5.0.0:
6056+
version "5.0.0"
6057+
resolved "https://registry.yarnpkg.com/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-5.0.0.tgz#41bdce54eb65a848a4a3ffdca93e92fa22b64a86"
6058+
integrity sha512-lCDbA+ZqVFQGUj7h9QBKoIpLhl8iihkO0nCTyRNzuXtcd7ubODpYB04IFy31JloiJgG0Uovu8ot8oxRzn7Nwtw==
6059+
dependencies:
6060+
compare-func "^2.0.0"
6061+
lodash "^4.17.15"
6062+
q "^1.5.1"
6063+
60556064
conventional-changelog-core@^4.2.4:
60566065
version "4.2.4"
60576066
resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz#e50d047e8ebacf63fac3dc67bf918177001e1e9f"

0 commit comments

Comments
 (0)