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

conventional-changelog-unconventional

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conventional-changelog-unconventional

Custom CHANGELOG generation and semantic release settings based on conventional-changelog-conventionalcommits

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Black Lives Matter! Maintenance status Last commit timestamp Open issues Pull requests Codecov Source license Tree shaking support Compressed package size NPM version Uses Semantic Release!

conventional-changelog-unconventional

This is a fork of and drop-in replacement for conventional-changelog-conventionalcommits. Along with various bug fixes (regex string mangling, sorting problems, etc), what follows are the major differences:

Updated to use modern JS/TypeScript

This rewrite uses a modern Babel-based build chain, is written in TypeScript, is fully typed, and supports modern debugging practices.

This will be true in the next version 😅

A few style tweaks

Specifically:

  • The scope and the first line of the subject of breaking changes are made bold
  • Scope-less subjects are made sentence case
  • Reverts are italicized; malformed reverts are normalized
  • Better grammar from conventional-recommended-bump

Since this configuration is used primarily in semantic-release-based flows, there is no reason to store release information in commit footers.

No longer returns Promises

Requiring and calling conventional-changelog-conventionalcommits emits a Promise, making the result impossible to reference in synchronized code (babel plugins, semantic-release config files, conventional-X-cli config). This fork avoids the pain, allowing one shared configuration to be consumed by conventional-changelog-core, conventional-changelog-cli via command line, semantic-release via release configuration, projector and projector-pipeline at various points in the CI/CD pipeline, and other sync and async tooling.

This also means configOverrides cannot be a Promise.

Easier to customize

With conventional-changelog-conventionalcommits, drilling down into the resultant config object and altering something like writerOpts.transform is difficult, especially if you only want to tweak rather than completely overwrite it. This fork makes deep customizations, including extending rather than overwriting the default functionality, easier. Just pass your config overrides, which will be used to tweak the default configuration (see the exported function itself for details).

Simpler source organization

Simplified the source code by concentrating default configuration to a single file with the all the configuration knobs easily accessible among the topmatter.

For usage examples and related documentation, see the original conventional-changelog-conventionalcommits package.

Keywords

FAQs

Package last updated on 25 Jun 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