Skip to content

Commit dfdf102

Browse files
committed
Configure release-it and lerna for publishing
- Map our GitHub labels to our CHANGELOG conventions. - Set up Git, GitHub, and lerna-changelog release-it config.
1 parent 60969a5 commit dfdf102

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

package.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,29 @@
143143
"tabWidth": 2,
144144
"proseWrap": "never"
145145
},
146+
"changelog": {
147+
"labels": {
148+
"BREAKING": "Changed 💥",
149+
"enhancement": "Added ⭐️",
150+
"bug": "Fixed 🔧",
151+
"docs": "Documentation 📖",
152+
"internal": "Under the hood 🚗"
153+
}
154+
},
155+
"release-it": {
156+
"git": {
157+
"tagName": "v${version}"
158+
},
159+
"github": {
160+
"release": true
161+
},
162+
"plugins": {
163+
"@release-it-plugins/lerna-changelog": {
164+
"infile": "CHANGELOG.md",
165+
"launchEditor": true
166+
}
167+
}
168+
},
146169
"volta": {
147170
"node": "14.20.1",
148171
"yarn": "1.22.19"

0 commit comments

Comments
 (0)