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

@bassist/changelog

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bassist/changelog

Simple CHANGELOG generator by @chengpeiquan , based on conventional-changelog-cli.

  • 0.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@bassist/changelog

GitHub stars

Simple CHANGELOG generator by @chengpeiquan , based on conventional-changelog-cli.

If you are tired of remembering long command names and command line configurations every time, you can use this package to simplify the operation.

Usage

This is a CLI tool, you can install it locally and run it through commands such as pnpm exec.

Install it:

pnpm add -D @bassist/changelog conventional-changelog-cli

In your package.json :

{
  "scripts": {
    "gen:changelog": "pnpm exec changelog"
  }
}

Run on command line:

pnpm gen:changelog

You can see a CHANGELOG.md file in the project root directory, which will generate the software's change records based on your Git Logs.

Implementation Principle

In this package, the program will run the conventional-changelog CLI command to generate CHANGELOG, so conventional-changelog-cli, as the peerDependency of the package, also needs to be installed together.

Options

For most projects, the default settings are sufficient. If adjustments are sometimes needed, some options are provided to pass on.

On the command line, options can be passed to the program, e.g. --preset angular by option, or -p angular by short flag.

OptionShort FlagDefault ValueDescription
lerna-packagelGenerate a changelog for a specific lerna package (:pkg-name@1.0.0)
presetpangularName of the preset you want to use. Must be one of the following: angular, atom, codemirror, conventionalcommits, ember, eslint, express, jquery or jshint
infileiCHANGELOG.mdRead the CHANGELOG from this file, and outputting to the same file
release-countr1How many releases to be generated from the latest, If 0 , the whole changelog will be regenerated and the outfile will be overwritten directory
commit-path./srcGenerate a changelog scoped to a specific directory

Btw: The paths are all based on process.cwd() , which is usually run from the root directory of the package (the directory where package.json is located).

If there are any running problems, please provide a reproducible example in the issue, or use conventional-changelog-cli directly (need to configure it yourself)

Release Notes

Please refer to CHANGELOG for details.

License

MIT License © 2023-PRESENT chengpeiquan

Keywords

FAQs

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