conventional-changelog
Advanced tools
Comparing version 0.0.16 to 0.0.17
@@ -0,1 +1,8 @@ | ||
<a name"0.0.17"></a> | ||
### 0.0.17 (2015-04-03) | ||
#### Bump deps | ||
<a name"0.0.16"></a> | ||
@@ -2,0 +9,0 @@ ### 0.0.16 (2015-03-19) |
@@ -0,5 +1,6 @@ | ||
'use strict'; | ||
var fs = require('fs'); | ||
var git = require('./lib/git'); | ||
var writeLog = require('./lib/writeLog'); | ||
var extend = require('lodash.assign'); | ||
var extend = require('lodash').assign; | ||
@@ -6,0 +7,0 @@ function generate(options, done) { |
@@ -1,5 +0,6 @@ | ||
var extend = require('lodash.assign'); | ||
'use strict'; | ||
var extend = require('lodash').assign; | ||
var cp = require('child_process'); | ||
var es = require('event-stream'); | ||
var template = require('lodash.template'); | ||
var template = require('lodash').template; | ||
@@ -6,0 +7,0 @@ var COMMIT_PATTERN = /^(\w*)(\(([\w\$\.\-\* ]*)\))?\: (.*)$/; |
@@ -0,1 +1,2 @@ | ||
'use strict'; | ||
var es = require('event-stream'); | ||
@@ -2,0 +3,0 @@ var Writer = require('./Writer'); |
@@ -0,8 +1,9 @@ | ||
'use strict'; | ||
var dateFormat = require('dateformat'); | ||
var extend = require('lodash.assign'); | ||
var extend = require('lodash').assign; | ||
var fs = require('fs'); | ||
var normalizeData = require('normalize-package-data'); | ||
var parseGithubUrl = require('github-url-from-git'); | ||
var partial = require('lodash.partial'); | ||
var template = require('lodash.template'); | ||
var partial = require('lodash').partial; | ||
var template = require('lodash').template; | ||
var url = require('url'); | ||
@@ -12,5 +13,5 @@ | ||
* NOTE: | ||
* We use lodash.template a lot in the not-the-most-efficient manner, for the sake | ||
* We use lodash.template a lot in the not-the-most-efficient manner, for the sake | ||
* of clarity. | ||
* The difference between compiling a template once and in a function is neglible | ||
* The difference between compiling a template once and in a function is negligible | ||
* for our library. | ||
@@ -53,4 +54,4 @@ */ | ||
return templateFn({ | ||
repository: repository, | ||
issue: issue | ||
repository: repository, | ||
issue: issue | ||
}); | ||
@@ -63,3 +64,3 @@ }; | ||
return templateFn({ | ||
repository: repository, | ||
repository: repository, | ||
commit: commit.substring(0,8) // no need to show super long hash in log | ||
@@ -90,3 +91,3 @@ }); | ||
return url.indexOf('github') > -1 ? | ||
parseGithubUrl(url) : | ||
parseGithubUrl(url) : | ||
parseNonGithubUrl(url); | ||
@@ -93,0 +94,0 @@ } |
{ | ||
"name": "conventional-changelog", | ||
"version": "0.0.16", | ||
"description": "Generate a markdown changelog from git commit metadata", | ||
"version": "0.0.17", | ||
"description": "Generate a changelog from git metadata, using the AngularJS commit conventions", | ||
"main": "index.js", | ||
"scripts": { | ||
"coverage": "istanbul cover _mocha -- -R spec && rm -rf ./coverage", | ||
"lint": "jshint lib test index.js --exclude node_modules", | ||
"test": "npm run-script lint && mocha test/*.js index.js lib/*.js --no-colors" | ||
"test": "npm run-script lint && mocha --no-colors" | ||
}, | ||
@@ -36,16 +37,14 @@ "files": [ | ||
"dateformat": "^1.0.11", | ||
"event-stream": "^3.1.7", | ||
"event-stream": "^3.3.0", | ||
"github-url-from-git": "^1.4.0", | ||
"lodash.assign": "^2.4.1", | ||
"lodash.partial": "^3.0.0", | ||
"lodash.template": "^3.3.0", | ||
"lodash": "^3.6.0", | ||
"normalize-package-data": "^1.0.3" | ||
}, | ||
"devDependencies": { | ||
"chai": "^2.0.0", | ||
"jshint": "^2.6.0", | ||
"mocha": "*", | ||
"shelljs": "^0.3.0", | ||
"sinon": "^1.12.2" | ||
"chai": "^2.2.0", | ||
"coveralls": "^2.11.2", | ||
"istanbul": "^0.3.13", | ||
"jshint": "^2.6.3", | ||
"mocha": "*" | ||
} | ||
} |
@@ -1,4 +0,8 @@ | ||
conventional-changelog | ||
---------------------- | ||
# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status][coverall-image]][coverall-url] | ||
> Generate a changelog from git metadata, using the AngularJS commit conventions | ||
## Install | ||
```sh | ||
@@ -8,4 +12,2 @@ $ npm install conventional-changelog | ||
Generate a changelog from git metadata, using the AngularJS commit conventions. | ||
- [Synopsis of Conventions in CONVENTIONS.md](https://github.com/ajoslin/conventional-changelog/blob/master/CONVENTIONS.md) | ||
@@ -16,2 +18,3 @@ - [Full Convention Spec on Google Docs](https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/) | ||
## Example output | ||
@@ -22,2 +25,3 @@ | ||
## Roadmap | ||
@@ -30,2 +34,3 @@ | ||
## Documentation | ||
@@ -82,4 +87,15 @@ | ||
## License | ||
BSD | ||
[npm-image]: https://badge.fury.io/js/conventional-changelog.svg | ||
[npm-url]: https://npmjs.org/package/conventional-changelog | ||
[travis-image]: https://travis-ci.org/ajoslin/conventional-changelog.svg?branch=master | ||
[travis-url]: https://travis-ci.org/ajoslin/conventional-changelog | ||
[daviddm-image]: https://david-dm.org/ajoslin/conventional-changelog.svg?theme=shields.io | ||
[daviddm-url]: https://david-dm.org/ajoslin/conventional-changelog | ||
[coverall-image]: https://coveralls.io/repos/ajoslin/conventional-changelog/badge.svg | ||
[coverall-url]: https://coveralls.io/r/ajoslin/conventional-changelog |
@@ -1,2 +0,4 @@ | ||
var changelog = require('../index'); | ||
'use strict'; | ||
var changelog = require('../'); | ||
var expect = require('chai').expect; | ||
@@ -3,0 +5,0 @@ describe('changelog', function() { |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
var expect = require('chai').expect; | ||
var git = require('../lib/git'); | ||
@@ -2,0 +4,0 @@ |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
var expect = require('chai').expect; | ||
var writeLog = require('../lib/writeLog'); | ||
@@ -2,0 +4,0 @@ |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
var expect = require('chai').expect; | ||
var dateFormat = require('dateformat'); | ||
@@ -24,3 +26,3 @@ var es = require('event-stream'); | ||
return new Writer(stream, { | ||
repository: 'github.com/user/repo', | ||
repository: 'github.com/user/repo' | ||
}); | ||
@@ -27,0 +29,0 @@ } else if (mode === 'package.json') { |
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
31258
5
617
97
13
+ Addedlodash@^3.6.0
+ Addedlodash@3.10.1(transitive)
- Removedlodash.assign@^2.4.1
- Removedlodash.partial@^3.0.0
- Removedlodash.template@^3.3.0
- Removedlodash._basebind@2.4.1(transitive)
- Removedlodash._basecopy@3.0.1(transitive)
- Removedlodash._basecreate@2.4.1(transitive)
- Removedlodash._basecreatecallback@2.4.1(transitive)
- Removedlodash._basecreatewrapper@2.4.1(transitive)
- Removedlodash._basetostring@3.0.1(transitive)
- Removedlodash._basevalues@3.0.0(transitive)
- Removedlodash._createwrapper@2.4.13.2.0(transitive)
- Removedlodash._getnative@3.9.1(transitive)
- Removedlodash._isiterateecall@3.0.9(transitive)
- Removedlodash._isnative@2.4.1(transitive)
- Removedlodash._objecttypes@2.4.1(transitive)
- Removedlodash._reinterpolate@3.0.0(transitive)
- Removedlodash._replaceholders@3.0.0(transitive)
- Removedlodash._root@3.0.1(transitive)
- Removedlodash._setbinddata@2.4.1(transitive)
- Removedlodash._shimkeys@2.4.1(transitive)
- Removedlodash._slice@2.4.1(transitive)
- Removedlodash.assign@2.4.1(transitive)
- Removedlodash.bind@2.4.1(transitive)
- Removedlodash.escape@3.2.0(transitive)
- Removedlodash.identity@2.4.1(transitive)
- Removedlodash.isarguments@3.1.0(transitive)
- Removedlodash.isarray@3.0.4(transitive)
- Removedlodash.isfunction@2.4.1(transitive)
- Removedlodash.isobject@2.4.1(transitive)
- Removedlodash.keys@2.4.13.1.2(transitive)
- Removedlodash.noop@2.4.1(transitive)
- Removedlodash.partial@3.1.1(transitive)
- Removedlodash.restparam@3.6.1(transitive)
- Removedlodash.support@2.4.1(transitive)
- Removedlodash.template@3.6.2(transitive)
- Removedlodash.templatesettings@3.1.1(transitive)
Updatedevent-stream@^3.3.0