36 Commits

Author SHA1 Message Date
Martin Jul
ccd35fed53 Add missing semicolon to avoid warnings 2015-09-19 12:40:09 +02:00
Andrew Kampjes
c57d7e6463 Remove trailing whitespace after Reflux
This removes the linter error: `error  Trailing spaces not allowed  no-trailing-spaces`
2015-07-25 23:18:52 +12:00
Chris
b0b0f3f84d *FEATURE*: Unittests: Added support for React ShallowRendering as described in http://simonsmith.io/unit-testing-react-components-without-a-dom/. 2015-07-01 08:50:32 +02:00
Konstantin Konev
3720ea9121 removed trailing spaves from component generator 2015-05-31 21:04:12 +03:00
Chris
e90aaa46b6 Merge remote-tracking branch 'newtriks/master'
Conflicts:
	README.md
2015-05-26 10:15:03 +02:00
TLO
0b732e1a7c Added architecture option for Alt (http://alt.js.org), actions and stores 2015-05-20 12:33:38 +02:00
Chris
6b22f18bfc *ADD* Fallback: Added .jsx suffix support for new components (Resolves newtriks/generator-react-webpack#99) 2015-05-12 16:28:11 +02:00
Yonatan Schreiber
c6e140300e Merge branch 'master' of https://github.com/newtriks/generator-react-webpack
Conflicts:
	package.json
2015-04-19 15:11:19 +03:00
Yonatan Schreiber
9e7503bc10 add 'rich' option for component generator 2015-04-15 01:18:58 +03:00
Guilherme Rodrigues
7462f5db6c Fix broken script and style paths
Fix #88
2015-04-13 17:34:10 -03:00
Yonatan Schreiber
f7bb3c2b80 add 'architecture' question, Reflux option, and related store and actionCreator 2015-04-04 14:42:52 +03:00
Justin Niessner
7721c59253 Merge from upstream/master and resolve merge conflicts. 2015-04-02 15:38:38 -04:00
Semigradsky
ba61ca1bfb Moved normalize.css to dependencies 2015-03-31 18:42:16 +03:00
Justin Niessner
53b262ae3c Switch the generation of everything so we generate tests and they can actually pass. 2015-03-26 23:09:45 -04:00
Justin Niessner
3cf4d739e3 Add flux support including generators 2015-03-25 22:42:02 -04:00
Simon Bailey
9a16ff8dfb Merge pull request #70 from oliveiraethales/oliveiraethales-use-strict-main
Add 'use strict' to main.js
2015-03-07 10:24:50 +00:00
Tháles de Oliveira
3d1984f755 Adding 'use strict' to main.js 2015-03-06 00:12:38 -03:00
Zhao Min
5ea31a6035 Fix styles paths in template App.js 2015-02-25 15:42:59 +08:00
ColCh
dde3dd7b73 Use provided 'style' alias within Component file 2015-02-20 16:56:43 +03:00
ColCh
68a1dcf447 Use provided 'style' alias within App file 2015-02-20 16:56:33 +03:00
Simon Bailey
2659849c44 refactor: remove exposing React to devtools
https://github.com/newtriks/generator-react-webpack/pull/57#issuecomment-74627216
Signed-off-by: Simon Bailey <simon@newtriks.com>
2015-02-17 09:58:34 +00:00
Chris Olsen
509a23d0ab fix the require's style path when creating sub-foldered components
Currently `yo react-webpack:component Foo/Bar/Blam` will create a
component that containing an invalid require path of `'../../styles/Blam.scss'` instead of
`'../../styles/Foo/Bar/Blam.scss'`
2015-02-04 13:29:42 -07:00
Chris Olsen
de96b238eb prevent unwanted linebreaks from being added to generated component js file 2015-02-01 09:39:46 -07:00
Chris Olsen
0734dace64 add scss format 2015-01-17 14:56:19 -07:00
andrewliebchen
4c93d0c1e9 Fix React Router after upgrade 2015-01-10 16:59:02 -08:00
andrewliebchen
83454b5886 Update to React 0.12.2 2015-01-06 21:43:19 -08:00
Emil Stenberg
505d7277e9 generating es6 modules if --es6 flag is used 2014-12-10 12:45:17 +01:00
ColCh
ab98751f90 Use styles within templates 2014-11-02 16:08:48 +03:00
Simon Bailey
967706e942 feat: added react-router
Signed-off-by: Simon Bailey <simon@newtriks.com>
2014-09-26 14:23:08 +01:00
Simon Bailey
f93f09b5f5 feat: swap reset for the superior normalize
Signed-off-by: Simon Bailey <simon@newtriks.com>
2014-09-25 21:51:01 +01:00
Theophile Villard
26c229682d Use url-loader 2014-08-24 19:11:46 +02:00
Ryan Albrecht
191f3c8b3f Export window.React so that the react-devtools can find it.
The chrome tools first looks to see if `React` is defined globally, then if it's available via a call to `require()`. See https://github.com/facebook/react-devtools/blob/master/injected/ReactHost.js#L42-L48
2014-07-05 23:42:09 -04:00
Simon Bailey
f8e3d3c6eb Removed manual wrapping of JSX code to bypass jshint errors and advised usage of JSXHint.
Signed-off-by: Simon Bailey <simon@newtriks.com>
2014-05-15 20:49:21 +01:00
Simon Bailey
d6d216d05d Squashed commit of the following:
commit 25ef9a176ee9bab902579f79415bd6047a77a62f
Author: Simon Bailey <simon@newtriks.com>
Date:   Thu May 15 19:51:45 2014 +0100

    Updated README

    Signed-off-by: Simon Bailey <simon@newtriks.com>

commit 1b0020c8fd248bc0dc892bed1f3e315867378274
Merge: d8fd494 c468b98
Author: Edd <accounts@edd.fm>
Date:   Sat Apr 26 11:13:52 2014 +0100

    Merged with Master

commit d8fd494478cb7fd0d97a47a90986f4c1b29eb996
Author: Edd <accounts@edd.fm>
Date:   Thu Apr 24 22:09:19 2014 +0100

    Trimming redundant options from Gruntfile

commit b5015ae42b0beb770ae1b146f152b5f38764987e
Author: Edd <accounts@edd.fm>
Date:   Sun Mar 30 21:32:14 2014 +0100

    Moved development mode to webpack-dev-server to imrove rebuild times

commit 7d31ade8085a8d415b95c67dba69ae5157ebf9b4
Author: Edd <accounts@edd.fm>
Date:   Wed Feb 26 00:18:56 2014 +0000

    Changed JSX filenames to .jsx over .js

commit 00faa6182b6cb4ae46b05dd12db1e73da4b47953
Author: Edd <accounts@edd.fm>
Date:   Mon Feb 24 23:39:18 2014 +0000

    Updated engines & Travis build targets

commit e58e0d70639f3c3e9acc7d085b6a795365a140a6
Author: Edd <accounts@edd.fm>
Date:   Mon Feb 24 23:26:04 2014 +0000

    Added auto generation of a template CSS file for a component

commit f6c67351aead570224b2457261d457a1954277dc
Author: Edd <accounts@edd.fm>
Date:   Mon Feb 24 00:06:42 2014 +0000

    Updated default app test

commit 996d769685d1a4f20ae2c4117422790bbc347594
Author: Edd <accounts@edd.fm>
Date:   Sun Feb 23 23:32:37 2014 +0000

    Added test for default main component (currently identical to any other component tests)

commit 31dfcbaff6ee9aef339886897e053a339f98021b
Author: Edd <accounts@edd.fm>
Date:   Sun Feb 23 22:54:04 2014 +0000

    Moved webpack configuration to a separate file

    - Added webpack config file
    - Added Uglify to webpack config
    - Added source maps in webpack config

    Moved entry file back in to Gruntfile

commit 6b3a3e92b80f3121e1128e4f166cf36aa32cfa26
Author: Edd <accounts@edd.fm>
Date:   Sun Feb 23 17:23:07 2014 +0000

    Added distribution folder & Grunt tasks to deal with it

    - Created Distribution build folder (script link broken)
    - Added grunt-contrib-copy
    - Added grunt-uglify
    - Bumped React version number
    - Switched source map types

Signed-off-by: Simon Bailey <simon@newtriks.com>
2014-05-15 19:52:23 +01:00
Simon Bailey
fb2e98d63e Project test configuration and updated README
Signed-off-by: Simon Bailey <simon@newtriks.com>
2014-01-08 11:10:07 +00:00
Simon Bailey
b1562cd74c Basic project generator setup
TODO:

- App tests
- Generator tests
- Component generator

Signed-off-by: Simon Bailey <simon@newtriks.com>
2014-01-07 20:00:49 +00:00