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

chg

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chg

simple changelog manager

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
49
increased by2.08%
Maintainers
1
Weekly downloads
 
Created
Source

chg Build Status

unfancy release history tracking

functions:

  • init - create a CHANGELOG.md file
  • add - add new changes to the changelog under a 'HEAD (Unreleased)' heading
  • release - move all unreleased changes under a new release version

chg can be useful when built into a release/deploy script or paired with a pull request merging script like pulley.

It does not try to automatically generate changes from git commits or github pull requests, though you could build that on top of the chg functions.

Example

CHANGELOG
=========

## HEAD (Unreleased)
* Removed crusty semantic html, javascript app ftw

--------------------

## 2.0.0 (2007-3-13)
* Removed horrible tables, semantic html ftw
* Switched background to vertical gradient
* Added dropshadows to EVERYTHING

## 1.1.1 (2002-08-16)
* Added "dot.gifs" to ~300 table cells to fix layout issues

## 1.1.0 (2002-05-17)
* Removed horrible Flash, table layout ftw
* Switched background to horizontal gray lines

## 1.0.1 (2000-07-01)
* Duplicated all Flash content in HTML so Yahoo can see it

## 1.0.0 (2000-04-14)
* Removed horrible frames, Flash ftw
* Switched background to fast moving clouds like 2advanced V3

## 0.1.0 (1997-01-26)
* Added a "GIF" of a construction worker. ha ha ha
* Navigation frame ftw
* Added repeating tanbark background to look more professional

Using globally

# install
[sudo] npm install -g chg

# create CHANGELOG.md
chg init

# add a change
chg add 'My first change'

# create a release
chg release '0.0.1'

Using as a node module

shell

# install
npm install chg --save

javascript

var chg = require('chg');

// create CHANGELOG.md
chg.init({}, callback);

// add a change
chg.add('My first change', {}, callback);

// create a release
chg.release('0.0.1', {}, callback);

Using as a grunt plugin

shell

# install
npm install chg --save-dev

Gruntfile.js

grunt.loadNpmTasks('chg');

shell

# create CHANGELOG.md
grunt chg-init


# add a change
grunt chg-add


# create a release
grunt chg-release

Release History

See CHANGELOG.md :scream-cat:

License

Copyright (c) 2014 heff. Licensed under the Apache license.

Keywords

FAQs

Package last updated on 27 Jan 2014

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