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

@catchfashion/semantic-release-config

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@catchfashion/semantic-release-config

semantic-release configuration for catchfashion projects

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
2
Weekly downloads
 
Created
Source

@catchfashion/semantic-release-config

A common semantic-release configuration for catchfashion TypeScript projects.

Setup

$ npm install @catchfashion/semantic-release-config --save-dev

Add the following to .releaserc.json

{
  "extends": "@catchfashion/semantic-release-config"
}

Add the following to CI Script:

$ npx semantic-release

Configurations

Default

This is commonly used preset.

{
  "extends": "@catchfashion/semantic-release-config"
}
Monorepo/Embedded Packages

This is a special configuration for monorepo packages, or embedded packages where package is co-located inside service repository.

For example, Media SDK is located in Media Service repository, and non-sdk related commits are not using semantic-commits.

In this case, Follow below setup steps.

First, Add semantic-release-commit-filter package to devDependencies:

$ npm i semantic-release-commit-filter --save-dev --save-exact

Then, Use following semantic-release configuration:

{
  "extends": ["semantic-release-commit-filter", "@catchfashion/semantic-release-config"],
  "tagFormat": "[PACKAGE_NAME]-v${version}"
}

That's all! Run semantic-release inside package directory:

For example:

$ cd media-sdk
$ npx semantic-release

You can also check your configuration before automated release:

$ npx semantic-release --dry-run

Keywords

FAQs

Package last updated on 04 Oct 2021

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