semantic-release-npm-github-publish

1.5.5last stable release 1 year ago
Complexity Score
Low
Open Issues
N/A
Dependent Projects
43
Weekly Downloadsglobal
2,221

Downloads

Readme

semantic-release-npm-github-publish

Semantic-release shareable configuration for easy publishing to NPM, Github or Github Package Registry.

About

This sharable configuration conforms to angular standard

  • Using @semantic-release/commit-analyzer ensures that commits are conformed to the conventional commits specification.
    • PATCH version created if any of build, ci, chore, docs, refactor, style, test commit types pushed to master
    • MINOR version created if fix commit type pushed
    • MAJOR version created if feat commit type pushed
  • Publishes the new version to NPM.
  • Bumps a version in package.json.
  • Generates or updates a changelog file including all PATCH keywords (not included in default angular package).
  • Releases new release for NPM & Github.

This repository can be also used as a template repository for creation of sharable semantic-release configurations.

Install

  • Install semantic-release:
npm install --save-dev semantic-release
  • Add semantic-release to scripts:
"scripts": {
    "semantic-release": "semantic-release"
}
  • Install semantic-release-npm-github-publish:
npm install --save-dev semantic-release-npm-github-publish
  • Add npx semantic-release to a “Release” step of your CD setup

Usage

To use this sharable config, extend your semantic release configuration in .releaserc.yaml:

branch: master
ci: false
dryRun: false
debug: false
extends: "semantic-release-npm-github-publish"

Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Build with

  • Github actions
  • semantic-release

This README was generated with ❤️ by readme-md-generator

Dependencies

No runtime dependency information found for this package.

CVE IssuesActive
0
Scorecards Score
3.30
Test Coverage
No Data
Follows Semver
Yes
Github Stars
32
Dependenciestotal
1
DependenciesOutdated
0
DependenciesDeprecated
0
Threat Modelling
No Data
Repo Audits
No Data

Learn how to distribute semantic-release-npm-github-publish in your own private NPM registry

npm config set registry  https://npm.cloudsmith.com/owner/repo
Processing...
Done
npm install semantic-release-npm-github-publish
Processing...
Done

29 Releases

NPM on Cloudsmith

Getting started with NPM on Cloudsmith is fast and easy.