1. shelljs-changelog
A simple script to create & update a changelog
shelljs-changelog
Package: shelljs-changelog
Created by: shelljs
Last modified: Fri, 09 Jun 2023 21:36:39 GMT
Version: 0.2.6
License: MIT
Downloads: 2,393
Repository: https://github.com/shelljs/changelog

Install

npm install shelljs-changelog
yarn add shelljs-changelog

Changelog.js

A simple NodeJS script to create & update a CHANGELOG.md

Installation and setup

 npm install --save-dev shelljs-changelog

Now, add a script to package.json like so:

   "scripts": {
    "test": "... whatever you had here before ...",
    "changelog": "shelljs-changelog"
  },

Dependencies

You'll need to have curl installed in order to use this script.

Also, make sure you have internet access when running this.

Usage example

To update the changelog, run:

 npm run changelog

For best results, try to run this after every time you publish.

Command line options

--force

By default, this script verifies that the changelog diff contains no more than
5 deletions. With --force enabled, this step is skipped.

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code