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 - npm Package Compare versions

Comparing version 0.1.6 to 0.1.8

6

CHANGELOG.md

@@ -9,2 +9,8 @@ CHANGELOG

## 0.1.8 (2014-01-31)
* Shiny new readme updates
## 0.1.7 (2014-01-31)
* Fixed linting issue that was breaking tests
## 0.1.6 (2014-01-27)

@@ -11,0 +17,0 @@ * Added support for release types, to auto increment by

2

lib/chg.js

@@ -102,3 +102,3 @@ /*

// allow incrementing version for a release type
if (['major','minor','patch'].indexOf(version) != -1) {
if (['major','minor','patch'].indexOf(version) !== -1) {
if (fs.existsSync('./package.json')) {

@@ -105,0 +105,0 @@ pkgVersion = require(process.cwd()+'/package.json').version;

{
"name": "chg",
"version": "0.1.6",
"version": "0.1.8",
"main": "lib/changelog.js",

@@ -5,0 +5,0 @@ "description": "simple changelog/release history manager",

@@ -5,2 +5,4 @@ # chg [![Build Status](https://secure.travis-ci.org/heff/chg.png?branch=master)](http://travis-ci.org/heff/chg)

[blog post](http://blog.heff.me/post/75189221194/introducing-chg-a-simple-changelog-cli-lib)
functions:

@@ -33,3 +35,3 @@

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

@@ -117,2 +119,58 @@ ## 1.1.0 (2002-05-17)

## Functions
### init()
Creates a CHANGELOG.md file in the current directory.
```bash
chg init
```
```markdown
CHANGELOG
=========
## HEAD (Unreleased)
* _(none)_
--------------------
```
### add(line:String)
Add a line to the change log. The first argument is the line to add.
```bash
chg add "My new change!"
```
```markdown
CHANGELOG
=========
## HEAD (Unreleased)
* My new change!
--------------------
```
### release(version:String)
Add a line to the change log. The first argument is the version to be used as the release version.
```bash
chg release "v0.1.0"
```
```markdown
CHANGELOG
=========
## HEAD (Unreleased)
* _(none)_
--------------------
## 0.1.0 (2014-01-31)
* My new change!
```
## Release History

@@ -119,0 +177,0 @@ See [CHANGELOG.md](CHANGELOG.md) :scream-cat:

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