Skip to content

Commit 46f4e26

Browse files
committed
chore: Updated lerna and release
Trying to use the new conventionalCommits option so the changelogs are generated. Also created a new `release` script that _should_ handle all this stuff for me.... Hopefully?
1 parent 1cafaa5 commit 46f4e26

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

lerna.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
"packages": [
33
"packages/*"
44
],
5+
"command": {
6+
"version": {
7+
"message": "chore(release): publish %s"
8+
},
9+
"publish": {
10+
"conventionalCommits": true
11+
}
12+
},
13+
"ignoreChanges": ["**/__tests__/**", "**/*.md"],
514
"useWorkspaces": true,
615
"npmClient": "yarn",
716
"version": "2.0.1"

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"description": "The mono-repo for react-md",
66
"main": "index.js",
77
"scripts": {
8+
"release": "dev-utils prepublish && lerna publish",
89
"dev-utils": "dev-utils",
910
"sandbox": "yarn workspace documentation sandbox",
1011
"start": "yarn workspace documentation start-dev",

0 commit comments

Comments
 (0)