Skip to content

Commit

Permalink
add CHANGELOG support
Browse files Browse the repository at this point in the history
  • Loading branch information
iamstarkov committed Apr 24, 2016
1 parent 9910dbd commit d81c177
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -9,6 +9,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
* Update eslint setup to use [`eslint-config-airbnb-base`][eslint-config-airbnb-base]
* Add `lint` npm script.
* Examples for `async` function and related tests.
* Add Changelog support

[rollup]: https://github.com/rollup/rollup
[eslint-config-airbnb-base]: https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb-base
Expand Down
1 change: 1 addition & 0 deletions app/index.js
Expand Up @@ -244,6 +244,7 @@ module.exports = yeoman.Base.extend({
cpTpl('editorconfig', '.editorconfig');
cpTpl('gitignore', '.gitignore');
cpTpl('gitignore', '.gitignore');
cpTpl('CHANGELOG.md', 'CHANGELOG.md');

cpTpl('_test-' + this.props.moduleTest + '.js', 'test.js');

Expand Down
8 changes: 8 additions & 0 deletions app/templates/CHANGELOG.md
@@ -0,0 +1,8 @@
# Changelog

All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## 1.0.0

* First working version
1 change: 1 addition & 0 deletions test.js
Expand Up @@ -32,6 +32,7 @@ it('generates expected files', function (done) {
'test.js',
'README.md',
'.eslintrc.json',
'CHANGELOG.md',
'.git'
]);
assert.fileContent('README.md', '[![Unix Build Status][travis-image]][travis-url]');
Expand Down

0 comments on commit d81c177

Please sign in to comment.