🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More →
Socket
Book a DemoSign in
Socket

@eclass/semantic-release-npm-github-config

Package Overview
Dependencies
Maintainers
6
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eclass/semantic-release-npm-github-config

Semantic-release shareable config for NPM with Github

latest
Source
npmnpm
Version
4.0.0
Version published
Maintainers
6
Created
Source

@eclass/semantic-release-npm-github-config

npm version npm downloads Node.js CI Maintainability devDependency Status

Semantic-release shareable config for NPM with GitHub.

Usage

Local installation

npm i -D semantic-release @eclass/semantic-release-npm-github-config @semantic-release/{changelog,git}

In package.json:

{
  "release": {
    "extends": "@eclass/semantic-release-npm-github-config"
  }
}

Global installation

$ npm i -g semantic-release @eclass/semantic-release-npm-github-config @semantic-release/{changelog,git}
$ semantic-release -e @eclass/semantic-release-npm-github-config

Configuration

GitHub authentication

The GitHub authentication configuration is required and can be set via environment variables.

See GitHub authentication.

Npm registry authentication

The npm authentication configuration is required and can be set via environment variables.

See Npm registry authentication

Environment variables

VariableDescription
GH_TOKEN or GITHUB_TOKENRequired. The token used to authenticate with GitLab repository.
NPM_TOKENRequired. Npm token created via npm token create

Additional options

This shareable config uses the @semantic-release/changelog, @semantic-release/git, @semantic-release/github and @semantic-release/npm plugins. See the documentation of each plugins for additional options. Options can be set in the Semantic-release configuration.

For example to set a custom GitHub URL:

{
  "release": {
    "extends": "@eclass/semantic-release-npm-github-config",
    "githubUrl": "https://custom.github.com"
  }
}

License

MIT

Keywords

github

FAQs

Package last updated on 10 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts