Skip to content

Commit 43041ad

Browse files
committed
🔧 chore (build): automate changelog creation
1 parent 965fbd1 commit 43041ad

File tree

2 files changed

+196
-8
lines changed

2 files changed

+196
-8
lines changed

package-lock.json

+183-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+13-7
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
"license": "MIT",
3333
"dependencies": {},
3434
"devDependencies": {
35+
"@semantic-release/changelog": "^5.0.1",
36+
"@semantic-release/git": "^9.0.0",
3537
"benchmark": "2.1.4",
3638
"braces": ">=2.3.1",
3739
"commitizen": "^4.0.3",
@@ -83,12 +85,6 @@
8385
"description": "Introducing breaking changes.",
8486
"name": "breaking"
8587
},
86-
{
87-
"emoji": "🔖",
88-
"code": ":bookmark: release",
89-
"description": "Releasing / Version tags.",
90-
"name": "release"
91-
},
9288
{
9389
"emoji": "🔩",
9490
"code": ":wrench: chore",
@@ -105,6 +101,16 @@
105101
},
106102
"release": {
107103
"tagFormat": "${version}",
108-
"branch": "master"
104+
"branch": "master",
105+
"plugins": [
106+
"@semantic-release/commit-analyzer",
107+
"@semantic-release/release-notes-generator",
108+
"@semantic-release/changelog",
109+
"@semantic-release/github",
110+
"@semantic-release/npm",
111+
["@semantic-release/git", {
112+
"message": ":bookmark: chore(release): ${nextRelease.version} \n\n${nextRelease.notes}"
113+
}]
114+
]
109115
}
110116
}

0 commit comments

Comments
 (0)