Skip to content

Commit

Permalink
chore: reconfigure lerna for releases
Browse files Browse the repository at this point in the history
This is an experimental change.

It modifies the Lerna configuration to publish independent packages (without `nx`) using conventional commits.  This will create/update CHANGELOGs and create GitHub Releases for each workspace upon publish.

This is what [Appium](https://github.com/appium/appium) does, and I believe the goals for our release process are nearly identical.  Please look at the releases/tags in that repo for what you get.

To publish, run `npm run publish`.
  • Loading branch information
boneskull committed Jul 27, 2023
1 parent 99932aa commit 6d551f7
Show file tree
Hide file tree
Showing 3 changed files with 1,385 additions and 2,734 deletions.
14 changes: 14 additions & 0 deletions lerna.json
@@ -1,5 +1,19 @@
{
"$schema": "https://json.schemastore.org/lerna",
"changelogPreset": "conventional-changelog-conventionalcommits",
"command": {
"publish": {
"message": "chore: publish"
},
"version": {
"allowBranch": "main",
"conventionalCommits": true,
"createRelease": "github"
}
},
"ignoreChanges": ["**/test/**", "**/*.md"],
"npmClient": "yarn",
"useNx": false,
"useWorkspaces": true,
"version": "independent"
}

0 comments on commit 6d551f7

Please sign in to comment.