Skip to content

Commit 98326df

Browse files
committed
chore(project): add releaserc file for conventional commit
1 parent f190000 commit 98326df

File tree

1 file changed

+78
-0
lines changed

1 file changed

+78
-0
lines changed

.releaserc

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"branches": [
3+
"master",
4+
"develop"
5+
],
6+
"tagFormat": "v${version}",
7+
"plugins": [
8+
[
9+
"@semantic-release/commit-analyzer",
10+
{
11+
"preset": "angular",
12+
"releaseRules": [
13+
{
14+
"type": "docs",
15+
"release": "patch"
16+
},
17+
{
18+
"type": "refactor",
19+
"release": "patch"
20+
},
21+
{
22+
"type": "test",
23+
"release": "patch"
24+
},
25+
{
26+
"type": "style",
27+
"release": "patch"
28+
}
29+
],
30+
"parserOpts": {
31+
"noteKeywords": [
32+
"BREAKING CHANGE",
33+
"BREAKING CHANGES",
34+
"BREAKING"
35+
]
36+
}
37+
}
38+
],
39+
[
40+
"@semantic-release/release-notes-generator",
41+
{
42+
"preset": "angular",
43+
"parserOpts": {
44+
"noteKeywords": [
45+
"BREAKING CHANGE",
46+
"BREAKING CHANGES",
47+
"BREAKING"
48+
]
49+
}
50+
}
51+
],
52+
[
53+
"@semantic-release/changelog",
54+
{
55+
"changelogFile": "CHANGELOG.md"
56+
}
57+
],
58+
[
59+
"@semantic-release/npm"
60+
],
61+
[
62+
"@semantic-release/git",
63+
{
64+
"assets": [
65+
"CHANGELOG.md",
66+
"README.md",
67+
"package.json",
68+
"package-lock.json"
69+
]
70+
}
71+
],
72+
[
73+
"@semantic-release/github", {
74+
"assignees": "timoa"
75+
}
76+
]
77+
]
78+
}

0 commit comments

Comments
 (0)