mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-08-30 11:23:47 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
782a38b685 | ||
|
|
946775a22f | ||
|
|
165b4ae956 | ||
|
|
cb08986a6d | ||
|
|
52e7528cd2 | ||
|
|
85c0f7f343 |
+9
-1
@@ -1,6 +1,14 @@
|
|||||||
# generator-react-webpack - Changelog
|
# generator-react-webpack - Changelog
|
||||||
|
|
||||||
## 3.1.2
|
## 3.2.2
|
||||||
|
|
||||||
|
1. Cleaned up formatting of unit tests
|
||||||
|
|
||||||
|
## 3.2.1
|
||||||
|
|
||||||
|
1. Updated tests for new version of react-webpack-template
|
||||||
|
|
||||||
|
## 3.2.0
|
||||||
|
|
||||||
1. Updated yeoman-generator package to new version 0.22.1 (some methods like generator.NamedBase are now deprecated!)
|
1. Updated yeoman-generator package to new version 0.22.1 (some methods like generator.NamedBase are now deprecated!)
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ If you have built a generator using generator-react-webpack, tell us and we will
|
|||||||
|
|
||||||
## Generators that extend generator-react-webpack
|
## Generators that extend generator-react-webpack
|
||||||
- [Generator-React-Webpack-Alt](https://github.com/weblogixx/generator-react-webpack-alt) (Adds ability to create actions, stores and sources for [alt.js](http://alt.js.org))
|
- [Generator-React-Webpack-Alt](https://github.com/weblogixx/generator-react-webpack-alt) (Adds ability to create actions, stores and sources for [alt.js](http://alt.js.org))
|
||||||
|
- [Generator-React-Webpack-Redux](https://github.com/stylesuxx/generator-react-webpack-redux) (Adds ability to create actions and reducers for [Redux](https://github.com/rackt/redux))
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -10,13 +10,13 @@ import createComponent from 'helpers/shallowRenderHelper';
|
|||||||
import <%= component.className %> from '<%= component.webpackPath %>';
|
import <%= component.className %> from '<%= component.webpackPath %>';
|
||||||
|
|
||||||
describe('<%= component.className %>', () => {
|
describe('<%= component.className %>', () => {
|
||||||
let component;
|
let component;
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
component = createComponent(<%= component.className %>);
|
component = createComponent(<%= component.className %>);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should have its component name as default className', () => {
|
it('should have its component name as default className', () => {
|
||||||
expect(component.props.className).to.equal('<%= style.className %>');
|
expect(component.props.className).to.equal('<%= style.className %>');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "generator-react-webpack",
|
"name": "generator-react-webpack",
|
||||||
"version": "3.2.0",
|
"version": "3.2.2",
|
||||||
"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",
|
||||||
|
|||||||
@@ -77,8 +77,8 @@ describe('react-webpack:app', () => {
|
|||||||
|
|
||||||
assert.file([
|
assert.file([
|
||||||
'src/actions/README.md',
|
'src/actions/README.md',
|
||||||
|
'src/index.js',
|
||||||
'src/components/Main.js',
|
'src/components/Main.js',
|
||||||
'src/components/run.js',
|
|
||||||
'src/favicon.ico',
|
'src/favicon.ico',
|
||||||
'src/images/yeoman.png',
|
'src/images/yeoman.png',
|
||||||
'src/index.html',
|
'src/index.html',
|
||||||
@@ -185,8 +185,8 @@ describe('react-webpack:app non-default-prompts', () => {
|
|||||||
|
|
||||||
assert.file([
|
assert.file([
|
||||||
'src/actions/README.md',
|
'src/actions/README.md',
|
||||||
|
'src/index.js',
|
||||||
'src/components/Main.js',
|
'src/components/Main.js',
|
||||||
'src/components/run.js',
|
|
||||||
'src/favicon.ico',
|
'src/favicon.ico',
|
||||||
'src/images/yeoman.png',
|
'src/images/yeoman.png',
|
||||||
'src/index.html',
|
'src/index.html',
|
||||||
|
|||||||
Reference in New Issue
Block a user