Skip to content

Commit

Permalink
chore: Updated lerna and release
Browse files Browse the repository at this point in the history
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?
  • Loading branch information
mlaursen committed Jun 30, 2020
1 parent 1cafaa5 commit 46f4e26
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
"packages": [
"packages/*"
],
"command": {
"version": {
"message": "chore(release): publish %s"
},
"publish": {
"conventionalCommits": true
}
},
"ignoreChanges": ["**/__tests__/**", "**/*.md"],
"useWorkspaces": true,
"npmClient": "yarn",
"version": "2.0.1"
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description": "The mono-repo for react-md",
"main": "index.js",
"scripts": {
"release": "dev-utils prepublish && lerna publish",
"dev-utils": "dev-utils",
"sandbox": "yarn workspace documentation sandbox",
"start": "yarn workspace documentation start-dev",
Expand Down

0 comments on commit 46f4e26

Please sign in to comment.