Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@myparcel/semantic-release-config

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@myparcel/semantic-release-config

Reusable configurations for semantic-release

  • 5.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
32
increased by166.67%
Maintainers
3
Weekly downloads
 
Created
Source

MyParcel semantic-release configuration

npm

This package contains multiple semantic-release presets. Additional information, documentation and guides on semantic-release can be found here

Usage

Install the package via yarn:

yarn add -D @myparcel/semantic-release-config

or npm:

npm i -D @myparcel/semantic-release-config

Create a semantic-release config file, if you haven't already, and add the following: (JavaScript example)

// release.config.js
module.exports = {
  extends: '@myparcel/semantic-release-config',
};

Or to use one of the other available presets:

// release.config.js
module.exports = {
  extends: '@myparcel/semantic-release-config/npm',
};

Configurations

Base config

@myparcel/semantic-release-config

This is the base configuration, which other ones should be based on. For more in-depth information on the configurations used with each plugin, see ./src/plugins/<plugin>.js.

NPM

@myparcel/semantic-release-config/npm

Composer

@myparcel/semantic-release-config/npm

GitHub

@myparcel/semantic-release-config/github

GitHub + Composer

@myparcel/semantic-release-config/github-composer

GitHub + NPM

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

Debugging

You can run the following command in your project to test your semantic-release configuration:

npx semantic-release --dry-run --debug --branches=$(git branch --show-current)

Flags used:

  • --dry-run: If this is on, no files are changed and nothing is actually "released".
  • --debug: Enables debug mode to show a lot more output.
  • --branches: Set the current branch as a release branch. If you don't pass this and are not on a release branch semantic-release will not process your commits.

Keywords

FAQs

Package last updated on 14 Feb 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc