Compare commits

...
8 Commits
Author SHA1 Message Date
Chris aa468d529d 3.0.1 2015-11-18 08:20:41 +01:00
Chris 62b36813b3 Prepare 3.0.1 2015-11-18 08:20:28 +01:00
Chris e7501dccbd Removed licence from copied files
Removed unneeded .npmignore copy
Adjusted unittests to include .babelrc
2015-11-18 08:19:12 +01:00
Chris 7d01c86522 3.0.0 2015-11-17 07:49:16 +01:00
Chris fffd03bfa3 Added new publish shortcut scripts 2015-11-17 07:48:58 +01:00
Chris d2992321e8 Updated react-webpack-template dependency to include babel 6 support 2015-11-17 07:47:30 +01:00
Chris 5eee756f3e 2.2.7 2015-10-23 09:49:07 +02:00
Chris 91ac75db71 Updated software versions, added badges 2015-10-23 09:40:29 +02:00
5 changed files with 33 additions and 10 deletions
+16
View File
@@ -1,5 +1,21 @@
# generator-react-webpack - Changelog # generator-react-webpack - Changelog
## 3.0.1
___Upgrades___:
1. Unneeded files (License, .npmignore) are not copied anymore
2. Existence of .babelrc is now checked in unit tests
## 3.0.0
___Upgrades___:
1. Updated react-webpack-template to 1.0.0 to include support for babel 6.
## 2.2.7
___Upgrades___:
1. Updated yeoman to 0.21
2. Added some badges for the readme
## 2.2.6 ## 2.2.6
___Upgrades___: ___Upgrades___:
+4 -1
View File
@@ -1,4 +1,7 @@
# generator-react-webpack V2.0 [![Build Status](https://secure.travis-ci.org/newtriks/generator-react-webpack.png?branch=master)](https://travis-ci.org/newtriks/generator-react-webpack) [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/newtriks/generator-react-webpack/trend.png)](https://bitdeli.com/free "Bitdeli Badge") # generator-react-webpack V2.0
[![Build Status](https://secure.travis-ci.org/newtriks/generator-react-webpack.png?branch=master)](https://travis-ci.org/newtriks/generator-react-webpack) [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/newtriks/generator-react-webpack/trend.png)](https://bitdeli.com/free "Bitdeli Badge") ![Amount of Downloads per month](https://img.shields.io/npm/dm/generator-react-webpack.svg "Amount of Downloads") ![Dependency Tracker](https://img.shields.io/david/newtriks/generator-react-webpack.svg "Dependency Tracker") ![Dependency Tracker](https://img.shields.io/david/dev/newtriks/generator-react-webpack.svg "Dependency Tracker") ![Node Version](https://img.shields.io/node/v/generator-react-webpack.svg "Node Version")
> Yeoman generator for [ReactJS](http://facebook.github.io/react/) - lets you quickly set up a project including karma test runner and [Webpack](http://webpack.github.io/) module system. > Yeoman generator for [ReactJS](http://facebook.github.io/react/) - lets you quickly set up a project including karma test runner and [Webpack](http://webpack.github.io/) module system.
# About # About
+5 -3
View File
@@ -89,11 +89,12 @@ module.exports = generator.Base.extend({
writing: function() { writing: function() {
let excludeList = [ let excludeList = [
'LICENCE', 'LICENSE',
'README.md', 'README.md',
'CHANGELOG.md', 'CHANGELOG.md',
'node_modules', 'node_modules',
'package.json' 'package.json',
'.travis.yml'
]; ];
// Get all files in our repo and copy the ones we should // Get all files in our repo and copy the ones we should
@@ -113,10 +114,11 @@ module.exports = generator.Base.extend({
} else { } else {
if (item === '.npmignore') { if (item === '.npmignore') {
this.copy(item, '.gitignore'); this.copy(item, '.gitignore');
} } else {
this.copy(item, item); this.copy(item, item);
} }
} }
}
}); });
}, },
+7 -4
View File
@@ -1,6 +1,6 @@
{ {
"name": "generator-react-webpack", "name": "generator-react-webpack",
"version": "2.2.6", "version": "3.0.1",
"description": "Yeoman generator for using React with Webpack via Babel", "description": "Yeoman generator for using React with Webpack via Babel",
"keywords": [ "keywords": [
"yeoman-generator", "yeoman-generator",
@@ -34,12 +34,15 @@
"url": "git://github.com/newtriks/generator-react-webpack.git" "url": "git://github.com/newtriks/generator-react-webpack.git"
}, },
"scripts": { "scripts": {
"test": "mocha" "test": "mocha",
"release:major": "npm version major && npm publish && git push --follow-tags",
"release:minor": "npm version minor && npm publish && git push --follow-tags",
"release:patch": "npm version patch && npm publish && git push --follow-tags"
}, },
"dependencies": { "dependencies": {
"react-webpack-template": "^0.3.0", "react-webpack-template": "^1.0.0",
"underscore.string": "^3.2.2", "underscore.string": "^3.2.2",
"yeoman-generator": "^0.20.3", "yeoman-generator": "^0.21.0",
"yeoman-welcome": "^1.0.1" "yeoman-welcome": "^1.0.1"
}, },
"devDependencies": { "devDependencies": {
+1 -2
View File
@@ -42,10 +42,10 @@ describe('react-webpack:app', () => {
it('should generate dot files', () => { it('should generate dot files', () => {
assert.file([ assert.file([
'.babelrc',
'.editorconfig', '.editorconfig',
'.eslintrc', '.eslintrc',
'.gitignore', '.gitignore',
'.npmignore',
'.yo-rc.json' '.yo-rc.json'
]); ]);
}); });
@@ -53,7 +53,6 @@ describe('react-webpack:app', () => {
it('should generate project configuration files', () => { it('should generate project configuration files', () => {
assert.file([ assert.file([
'LICENSE',
'package.json' 'package.json'
]); ]);
}); });