Socket
Socket
Sign inDemoInstall

conventional-changelog-conventionalcommits

Package Overview
Dependencies
Maintainers
7
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conventional-changelog-conventionalcommits

conventional-changelog conventionalcommits.org preset


Version published
Weekly downloads
4.1M
increased by0.1%
Maintainers
7
Weekly downloads
 
Created

What is conventional-changelog-conventionalcommits?

The conventional-changelog-conventionalcommits package is a preset for the conventional-changelog tool that formats changelogs according to the Conventional Commits specification. This specification outlines a set of rules for creating an explicit commit history, which makes it easier to automate the generation of release notes.

What are conventional-changelog-conventionalcommits's main functionalities?

Generating changelogs

This feature allows you to generate a changelog from git metadata using the conventional commits specification. The code sample demonstrates how to create a changelog stream and write it to a file.

const conventionalChangelog = require('conventional-changelog');
const fs = require('fs');
const stream = fs.createWriteStream('CHANGELOG.md');

conventionalChangelog({
  preset: 'conventionalcommits'
}).pipe(stream);

Customizing changelog generation

This feature allows for customization of the changelog generation process. The code sample shows how to generate a changelog with all releases and includes a placeholder for additional configuration options.

const conventionalChangelog = require('conventional-changelog');
const fs = require('fs');
const stream = fs.createWriteStream('CHANGELOG.md');

conventionalChangelog({
  preset: 'conventionalcommits',
  releaseCount: 0, // Generate all releases
  config: {
    // Custom configuration here
  }
}).pipe(stream);

Other packages similar to conventional-changelog-conventionalcommits

Keywords

FAQs

Package last updated on 05 Nov 2020

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