conventional-changelog-writer
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -0,1 +1,7 @@ | ||
<a name="1.1.1"></a> | ||
## [1.1.1](https://github.com/stevemao/conventional-changelog-writer/compare/v1.1.0...v1.1.1) (2016-02-29) | ||
<a name="1.1.0"></a> | ||
@@ -2,0 +8,0 @@ # [1.1.0](https://github.com/stevemao/conventional-changelog-writer/compare/v1.0.3...v1.1.0) (2016-02-08) |
@@ -28,3 +28,2 @@ 'use strict'; | ||
groupBy: 'type', | ||
commitGroupsSort: 'title', | ||
commitsSort: 'header', | ||
@@ -31,0 +30,0 @@ noteGroupsSort: 'title', |
{ | ||
"name": "conventional-changelog-writer", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Write logs based on conventional commits and templates", | ||
@@ -25,3 +25,3 @@ "homepage": "https://github.com/stevemao/conventional-changelog-writer", | ||
"compare-func": "^1.3.1", | ||
"conventional-commits-filter": "^0.1.0", | ||
"conventional-commits-filter": "^1.0.0", | ||
"dateformat": "^1.0.11", | ||
@@ -28,0 +28,0 @@ "handlebars": "^4.0.2", |
@@ -159,3 +159,3 @@ # [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status][coveralls-image]][coveralls-url] | ||
Type: `function`, `string` or `array` Default: `'title'` | ||
Type: `function`, `string` or `array` | ||
@@ -162,0 +162,0 @@ A compare function used to sort commit groups. If it's a string or array, it sorts on the property(ies) by `localeCompare`. Will not sort if this is a falsy value. |
@@ -164,3 +164,3 @@ 'use strict'; | ||
.pipe(through(function(chunk, enc, cb) { | ||
expect(chunk.toString()).to.equal('<a name=""></a>\n# (' + today + ')\n\n\n* bla \n\n\n\n'); | ||
expect(chunk.toString()).to.equal('<a name=""></a>\n# (' + today + ')\n\n* bla \n\n\n\n'); | ||
@@ -167,0 +167,0 @@ i++; |
@@ -30,14 +30,4 @@ 'use strict'; | ||
expect(log).to.equal('my header\n\n\nmy commit\nmy commit\n\nmy footer\n\n\n'); | ||
expect(log).to.equal('my header\n\nmy commit\nmy commit\n\nmy footer\n\n\n'); | ||
}); | ||
it('should generate template if `title` is truthy', function() { | ||
templateContext.commitGroups = [{ | ||
title: 'my title', | ||
commits: [1, 2] | ||
}]; | ||
var log = Handlebars.compile(template)(templateContext); | ||
expect(log).to.equal('my header\n\n\n### my title\n\nmy commit\nmy commit\n\nmy footer\n\n\n'); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
95013
2395
+ Addedconventional-commits-filter@1.1.6(transitive)
- Removedconventional-commits-filter@0.1.1(transitive)