Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.

Commit 7d7a5f9

Browse files
committed
chore(grunt): adds grunt-conventional-changelog
automated changelog generation using brians great plugin also used by angular.js project hope you like it
1 parent 78e2ede commit 7d7a5f9

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

gruntFile.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ module.exports = function (grunt) {
88
grunt.loadNpmTasks('grunt-contrib-connect');
99
grunt.loadNpmTasks('grunt-contrib-copy');
1010
grunt.loadNpmTasks('grunt-contrib-watch');
11+
grunt.loadNpmTasks('grunt-conventional-changelog');
1112

1213
// Default task.
1314
grunt.registerTask('default', ['jshint', 'karma:unit']);
@@ -124,7 +125,12 @@ module.exports = function (grunt) {
124125
return {src: [f], dest: '<%= dist %>/' + f, filter: 'isFile'};
125126
}))
126127
}
128+
},
129+
changelog: {
130+
options: {
131+
dest: 'CHANGELOG.md'
132+
}
127133
}
128134
});
129135

130-
};
136+
};

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"grunt-contrib-uglify": "~0.2.7",
1515
"grunt-contrib-watch": "~0.5.3",
1616
"grunt-contrib-copy": "~0.4.1",
17-
"grunt-contrib-connect": "~0.5.0"
17+
"grunt-contrib-connect": "~0.5.0",
18+
"grunt-conventional-changelog": "~1.0.0"
1819
},
1920
"scripts": {},
2021
"repository": {

0 commit comments

Comments
 (0)