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 # 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___:
+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);
} }
} }
}
}); });
}, },
+6 -3
View File
@@ -1,6 +1,6 @@
{ {
"name": "generator-react-webpack", "name": "generator-react-webpack",
"version": "2.2.7", "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,10 +34,13 @@
"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.21.0", "yeoman-generator": "^0.21.0",
"yeoman-welcome": "^1.0.1" "yeoman-welcome": "^1.0.1"
+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'
]); ]);
}); });