npm package: @hexonet/semantic-release-github-npm-config
Description: semantic-release shareable basic configuration for releasing on GitHub and npm
Author: Kai Schwarz
Latest version: 3.0.3
Deprecated: This shared configuration is no longer actively maintained.

# @hexonet/semantic-release-github-npm-config

[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![Build Status](https://github.com/hexonet/semantic-release-github-npm-config/workflows/Release/badge.svg?branch=master)](https://github.com/hexonet/semantic-release-github-npm-config/workflows/Release/badge.svg?branch=master)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/hexonet/semantic-release-github-npm-config/blob/master/CONTRIBUTING.md)
[![npm version](https://img.shields.io/npm/v/@hexonet/semantic-release-github-npm-config/latest.svg?style=popout-square&logo=npm)](https://www.npmjs.com/package/@hexonet/semantic-release-github-npm-config)

[**semantic-release**](https://github.com/semantic-release/semantic-release) shareable config for publishing on github [GitHub](https://github.com) and [npm](https://npmjs.com).

## Plugins

This [shareable configuration](https://github.com/hexonet/semantic-release-github-npm-config/blob/master/.releaserc.json) uses the following plugins:

- [`@semantic-release/commit-analyzer`](https://github.com/semantic-release/commit-analyzer)
- [`@semantic-release/release-notes-generator`](https://github.com/semantic-release/release-notes-generator)
- [`@semantic-release/github`](https://github.com/semantic-release/github)
- [`@semantic-release/git`](https://github.com/semantic-release/git)
- [`@semantic-release/npm`](https://github.com/semantic-release/npm)
- [`@semantic-release/changelog`](https://github.com/semantic-release/changelog)

## Summary

- Provides an informative [git](https://github.com/semantic-release/git) commit message for the `release commit` that does not trigger continuous integration and conforms to the [conventional commits specification](https://www.conventionalcommits.org/) (e.g., "chore(release): 1.2.3 [skip ci]\n\nnotes").
- Creates or updates a [changelog](https://github.com/semantic-release/changelog) file that gets included in the release commit.
- Creates a new GitHub release
- Publishs on [npm](https://npmjs.com)

## Install

```bash
$ npm i -D semantic-release @hexonet/semantic-release-github-npm-config
```

## Usage

The shareable config can be configured in the [**semantic-release** configuration file](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#configuration):

```json
{
  "extends": "@hexonet/semantic-release-github-npm-config",
  "branch": "master"
}
```

## Configuration

Ensure that your CI configuration has the following **_secret_** environment variables set:

- [`GitHub env vars`](https://github.com/semantic-release/github#environment-variables)
- [`NPM env vars`](https://github.com/semantic-release/npm#environment-variables)

See each [plugin](#plugins) documentation for required installation and configuration steps.