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 28, 2023
1 parent 9c47351 commit d1db251
Show file tree
Hide file tree
Showing 3 changed files with 1,385 additions and 2,735 deletions.
15 changes: 14 additions & 1 deletion lerna.json
@@ -1,5 +1,18 @@
{
"$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": "npm",
"useWorkspaces": true,
"useNx": false,
"version": "independent"
}

0 comments on commit d1db251

Please sign in to comment.