Skip to content

Commit 0216476

Browse files
committed
chore: setup .releaserc.js
1 parent 12997f6 commit 0216476

File tree

2 files changed

+25
-8
lines changed

2 files changed

+25
-8
lines changed

.releaserc.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module.exports = {
2+
branches: ["main"],
3+
plugins: [
4+
[
5+
"@semantic-release/commit-analyzer",
6+
{
7+
preset: "angular",
8+
releaseRules: [
9+
{ type: "feat", release: "minor" },
10+
{ type: "fix", release: "patch" },
11+
{ type: "chore", release: "patch" },
12+
{ type: "docs", release: "patch" },
13+
{ type: "style", release: "patch" },
14+
{ type: "refactor", release: "patch" },
15+
{ type: "perf", release: "patch" },
16+
{ type: "test", release: "patch" },
17+
{ type: "build", release: "patch" },
18+
{ type: "ci", release: "patch" },
19+
],
20+
},
21+
],
22+
"@semantic-release/release-notes-generator",
23+
"@semantic-release/github",
24+
],
25+
}

.releaserc.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)