Starter for package versioning and publishing by Lerna
Feature tags
- github
- lerna
- publishing
- starter
- template
- versioning
Parents
Authors
Requirements
Install
Being at the root, execute
yarn run bootstrap
Updating version
First, change, for example, one of the index.js files in one of the subpackage, then do commit according to Conventional commits.
Then execute the command:
yarn run new-version
and then watch the output of Lerna's actions in the terminal window, and finally check the local changes in the package.json and CHANGELOG.md files of the updated package and in the GitHub repository.
Publishing a new version
Change, for example, one or both of the index.js files in the subpackages, then do commit according to Conventional commits.
Then execute the command:
yarn run publish-version
then reply to lerna's query if it need be in the terminal window, then watch the output of Lerna's actions in the terminal, and finally check the local changes in the package.json, CHANGELOG.md files of the updated package and the tags of the new versions in the GitHub repository.
License
Licensed under the MIT license.