Compare commits

...
11 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
Chris 25c67ffd33 2.2.6 2015-10-22 12:50:08 +02:00
Chris 8cdcc2c432 Prepare V2.2.6 2015-10-22 12:49:59 +02:00
Chris cee53ad6c1 Fixed documentation for stateless react components 2015-10-19 10:25:41 +02:00
5 changed files with 39 additions and 11 deletions
+21
View File
@@ -1,5 +1,26 @@
# 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___:
1. Added new version of ```react-webpack-template``` (provides new features for continuous testing and better dist build support)
## 2.2.5
___Upgrades:___
+5 -2
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.
# About
@@ -54,7 +57,7 @@ The above command will create a new component, as well as its stylesheet and a b
## Generating new stateless functional components
```
yo react-webpack:component:stateless my/namespaced/components/name
yo react-webpack:component my/namespaced/components/name --stateless
```
Stateless functional components where introduced in React v0.14. They have a much shorter syntax than regular ones and no state or lifecycle methods at all. Please read the [React 0.14 release notes](https://facebook.github.io/react/blog/2015/10/07/react-v0.14.html) to get more information about those components.
+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);
}
}
});
+7 -4
View File
@@ -1,6 +1,6 @@
{
"name": "generator-react-webpack",
"version": "2.2.5",
"version": "3.0.1",
"description": "Yeoman generator for using React with Webpack via Babel",
"keywords": [
"yeoman-generator",
@@ -34,12 +34,15 @@
"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.2.0",
"react-webpack-template": "^1.0.0",
"underscore.string": "^3.2.2",
"yeoman-generator": "^0.20.3",
"yeoman-generator": "^0.21.0",
"yeoman-welcome": "^1.0.1"
},
"devDependencies": {
+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'
]);
});