Compare commits

..
6 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
4 changed files with 28 additions and 8 deletions
+16
View File
@@ -1,5 +1,21 @@
# 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
___Upgrades___:
+5 -3
View File
@@ -89,11 +89,12 @@ module.exports = generator.Base.extend({
writing: function() {
let excludeList = [
'LICENCE',
'LICENSE',
'README.md',
'CHANGELOG.md',
'node_modules',
'package.json'
'package.json',
'.travis.yml'
];
// Get all files in our repo and copy the ones we should
@@ -113,8 +114,9 @@ module.exports = generator.Base.extend({
} else {
if (item === '.npmignore') {
this.copy(item, '.gitignore');
} else {
this.copy(item, item);
}
this.copy(item, item);
}
}
});
+6 -3
View File
@@ -1,6 +1,6 @@
{
"name": "generator-react-webpack",
"version": "2.2.7",
"version": "3.0.1",
"description": "Yeoman generator for using React with Webpack via Babel",
"keywords": [
"yeoman-generator",
@@ -34,10 +34,13 @@
"url": "git://github.com/newtriks/generator-react-webpack.git"
},
"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": {
"react-webpack-template": "^0.3.0",
"react-webpack-template": "^1.0.0",
"underscore.string": "^3.2.2",
"yeoman-generator": "^0.21.0",
"yeoman-welcome": "^1.0.1"
+1 -2
View File
@@ -42,10 +42,10 @@ describe('react-webpack:app', () => {
it('should generate dot files', () => {
assert.file([
'.babelrc',
'.editorconfig',
'.eslintrc',
'.gitignore',
'.npmignore',
'.yo-rc.json'
]);
});
@@ -53,7 +53,6 @@ describe('react-webpack:app', () => {
it('should generate project configuration files', () => {
assert.file([
'LICENSE',
'package.json'
]);
});