Skip to content

softspiders/lerna-version-publish-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starter for package versioning and publishing by Lerna

lerna


Feature tags

  • github
  • lerna
  • publishing
  • starter
  • template
  • versioning

Parents


Authors

Alexander Lapygin


Requirements

Node.js Lerna


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.

About

Starter for package versioning and publishing by Lerna

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published