Skip to content

Commit

Permalink
chore(changelog): add conventional changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuri committed Dec 29, 2016
1 parent 2fea156 commit a9dd99b
Show file tree
Hide file tree
Showing 4 changed files with 1,835 additions and 6 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<a name="2.0.3"></a>
## [2.0.3](https://github.com/jkuri/ngx-uploader/compare/v2.0.0...2.0.3) (2016-12-29)


### Bug Fixes

* **ngOnChanges:** add parameter ([8fc1ad9](https://github.com/jkuri/ngx-uploader/commit/8fc1ad9))
* check on files.length before filter ([2fea156](https://github.com/jkuri/ngx-uploader/commit/2fea156))



14 changes: 14 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
const gulp = require('gulp');
const typedoc = require('gulp-typedoc');
const conventionalChangelog = require('gulp-conventional-changelog');

gulp.task('changelog', () => {
return gulp.src('CHANGELOG.md', {
buffer: false
})
.pipe(conventionalChangelog({
preset: 'angular',
releaseCount: 1
}, {
currentTag: require('./package.json').version
}))
.pipe(gulp.dest('./'));
});

gulp.task('docs', () => {
return gulp.src([
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"dev": "tsc --watch",
"build": "./node_modules/.bin/ngc -p tsconfig.json",
"prepublish": "npm run build",
"docs": "gulp docs"
"docs": "gulp docs",
"changelog": "gulp changelog"
},
"repository": {
"type": "git",
Expand All @@ -35,6 +36,7 @@
"@types/core-js": "^0.9.35",
"@types/node": "^6.0.52",
"gulp": "^3.9.1",
"gulp-conventional-changelog": "^1.1.0",
"gulp-typedoc": "^2.0.1",
"reflect-metadata": "^0.1.9",
"rxjs": "5.0.1",
Expand Down
Loading

0 comments on commit a9dd99b

Please sign in to comment.