https://github.com/softspiders/lerna-version-publish-starter
Starter for package versioning and publishing by Lerna
https://github.com/softspiders/lerna-version-publish-starter
Last synced: 3 months ago
JSON representation
Starter for package versioning and publishing by Lerna
- Host: GitHub
- URL: https://github.com/softspiders/lerna-version-publish-starter
- Owner: softspiders
- License: mit
- Created: 2020-08-23T17:20:11.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-23T17:49:00.000Z (almost 6 years ago)
- Last Synced: 2025-01-15T20:20:06.541Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Starter for package versioning and publishing by Lerna
[](https://lerna.js.org/)
---
## Feature tags
- github
- lerna
- publishing
- starter
- template
- versioning
## Parents
- [- ***publishing***, ***versioning***: lerna](https://github.com/softspiders/lerna)
---
## Authors
[Alexander Lapygin](https://github.com/AlexanderLapygin)
---
## Requirements
[Node.js](https://nodejs.org/en/download/package-manager/)
[Lerna](https://lerna.js.org/)
---
## 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](https://www.conventionalcommits.org/en/v1.0.0/).
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](https://github.com/softspiders/lerna-version-release-starter).
---
## 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](https://www.conventionalcommits.org/en/v1.0.0/).
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](https://github.com/softspiders/lerna-version-release-starter).
---
### License
Licensed under the [MIT license](./LICENSE).