# lerna-semantic-release-main

> automated semver compliant package publishing, for lerna

Latest version **0.0.0** (published 2016-07-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install lerna-semantic-release-main
pnpm add lerna-semantic-release-main
yarn add lerna-semantic-release-main
bun add lerna-semantic-release-main
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.0 |
| Published | 2016-07-06 |
| First published | 2016-07-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 684 |
| Author | Joshua Nelson |
| Maintainers | atlassian-aui |
| Keywords | author, automation, changelog, module, package, publish, release, semver, version, lerna |

## Links

- npm: https://www.npmjs.com/package/lerna-semantic-release-main
- Repository: https://github.com/atlassian/lerna-semantic-release
- Homepage: https://github.com/atlassian/lerna-semantic-release#readme
- Issues: https://github.com/atlassian/lerna-semantic-release/issues
- npm.io page: https://npm.io/package/lerna-semantic-release-main

## Alternatives

- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads
- [escher-request](https://npm.io/package/escher-request.md) — 545 weekly downloads

## Recent versions

- 0.0.0 (latest) — 2016-07-06

## README

# lerna-semantic-release

Status:
[![npm version](https://img.shields.io/npm/v/lerna-semantic-release.svg?style=flat-square)](https://www.npmjs.org/package/lerna-semantic-release)
[![npm downloads](https://img.shields.io/npm/dm/lerna-semantic-release.svg?style=flat-square)](http://npm-stat.com/charts.html?package=lerna-semantic-release)
[![Build Status](https://img.shields.io/travis/atlassian/lerna-semantic-release.svg?style=flat-square)](https://travis-ci.org/atlassian/lerna-semantic-release)


[semantic-release](https://www.npmjs.com/package/semantic-release) for [lerna](http://lernajs.io)-based projects.

Basically a semantic-release that orders commits based on which package they belong to (uses data from [cz-lerna-changelog](https://github.com/atlassian/cz-lerna-changelog)) and then determines on that what the next release should be.

## Setup

Install cz-lerna-changelog in your repository:

```
npm install commitizen -g
```

Next, initialize your project to use the cz-lerna-changelog adapter by typing:

```
commitizen init cz-lerna-changelog --save-dev --save-exact
```

See the [commitzien-cli](https://github.com/commitizen/cz-cli) docs for more details on how to set up commitzen with the correct adapter

## Releasing

Execute these commands in your release process:

```
# Pre
lerna-semantic-release pre # Set up the versions, tags and commits

# Perform
lerna-semantic-release perform # Publishes to npm

# Post
lerna-semantic-release post # Generates a changelog in each package

This will publish all npm packages, including creating commits and tags for each release, in the format that lerna expects for the `lerna updated` command.

---
_Source: https://npm.io/package/lerna-semantic-release-main · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
