diff --git a/package.json b/package.json index 5fd24353..540d3ac2 100644 --- a/package.json +++ b/package.json @@ -57,6 +57,7 @@ "@types/jquery": "^1.10.31", "conventional-changelog": "^1.1.0", "conventional-changelog-cli": "^1.1.1", + "conventional-changelog-ui-router-core": "^1.3.0", "jasmine-core": "^2.4.1", "karma": "^1.2.0", "karma-chrome-launcher": "~0.1.0", diff --git a/scripts/show_changelog.js b/scripts/show_changelog.js index 6c6c218b..4399e11d 100755 --- a/scripts/show_changelog.js +++ b/scripts/show_changelog.js @@ -3,7 +3,7 @@ let conventionalChangelog = require('conventional-changelog'); let options = { - preset: 'angular' + preset: 'ui-router-core' }; if(require.main === module) { @@ -24,5 +24,6 @@ if(require.main === module) { } function showChangelog(context, gitOpts) { - conventionalChangelog(options, context, gitOpts).pipe(process.stdout); + var writerOpts = { doFlush: true, generateOn: function() { return false; } }; + conventionalChangelog(options, context, gitOpts, undefined, writerOpts).pipe(process.stdout); }