1.2.1 • Published 1 year ago

@rdeak/semantic-release-config v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

semantic-release-config

npm version License: MIT

Configuration for semantic-release for GitHub with conventional commit messages, GitHub releases, changelog and npm publishing.

Commit message rules

Commit message typeSemver
perfpatch
refactorpatch
fixpatch
featminor
BREAKING CHANGEmajor

Installation

npm install --save-dev semantic-release @rdeak/semantic-release-config

Usage

  1. Create .releaserc.json file in repository root, and add this into it:
{
  "extends": "@rdeak/semantic-release-config"
}
  1. Create NPM token and add it into Github repository secret as NPM_TOKEN.

    Read more in documentation.

  2. (optional) if you have scoped package add this into your package.json

"publishConfig": {
    "access": "public"
  },
  1. (optional) if you get SemanticReleaseError: Invalid npm token please create .npmrc in repository root, and add this:
registry=https://registry.npmjs.org/
  1. (optional) Release is created from main branch. Please update .releaserc.json with preferred branch name:
{
  "extends": "@rdeak/semantic-release-config",
  "branches": ["main"]
}

Additional configurations

Release only

{
  "extends": "@rdeak/semantic-release-config/release-only",
  "branches": ["main"]
}

It creates just Github release with changelog and tag.

License

This project is licensed under the terms of the MIT license.

1.2.0

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.2.1

1 year ago

1.1.2

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago