Chris
efcf3cdebf
Added back postcss
2016-08-23 22:54:34 +02:00
Chris
4f9488cb99
FEAT: Added ability to use pure components as a react base class
2016-08-10 23:33:33 +02:00
sthzg
e2add4af4d
Refactored component subgen to support styles and/or cssmodules #255
...
This commit refactors the template structure for components to multiple
different base templates based on the required styling options:
- nostyle
- with styles
- with styles and css modules
2016-08-05 14:36:10 +02:00
sthzg
dcee97ec65
Proposed solution for #253
...
Wrapped Node's path.normalize() around paths that have
`componentPartPath` as a part segment. For non-namespaced components
this segment can be empty which leads to two consecutive slashes.
Updated test suite to assert against the updated import statements
in various files.
2016-07-11 01:13:46 +02:00
Chris
14e8eb4aec
Added ability to create components without styles. Fixes https://github.com/newtriks/generator-react-webpack/issues/243
2016-07-01 21:38:44 +02:00
Chris
892f771899
Added new directory options for generated components (styles are now also generated in the components folder)
...
Added directory options fallbacks for version 3 and below
Prepared for inclusion of css modules
2016-06-15 15:34:26 +02:00
Chris
ed4686edd0
Added support for files generated with version 4
2016-06-15 12:59:16 +02:00
Chris
9867271cbb
Refactored component subgenerator to use es2015 classes
2016-06-14 10:28:09 +02:00
Chris
663a49369b
Added basic changes for v4.0 (base generator class refactoring)
2016-05-27 12:01:50 +02:00
Chris
cc0172086f
Chore: Added new version of dependencies
2016-05-17 08:02:17 +02:00
Chris
6344984d65
Added ability to save generator version for future updates
2016-03-29 23:00:55 +02:00
Chris
43f3bce786
Added changelog for 3.2.3 (adjusted postcss config to work with new react-webpack-template).
2016-02-23 22:14:02 +01:00
Chris
cb08986a6d
Updated tests for new version of react-webpack-template
2015-12-28 08:21:00 +01:00
Chris
60bf2aae3a
Adjusted generator for updated yeoman-generator to 0.22.x
2015-12-18 08:44:42 +01:00
Chris
e74b89d8ea
Fixed tests for current version (uses style-loader now)
2015-11-23 08:58:05 +01:00
Chris
fe4d214be9
Prepare 3.1.0
2015-11-23 08:44:01 +01:00
Chris
492d2c6947
Merge pull request #168 from stylesuxx/feature/postcss
...
Add basic support for PostCSS (provided by @stylesuxx)
2015-11-23 08:33:32 +01:00
stylesuxx
b214930f8e
Updated wording
2015-11-22 03:48:47 +01:00
stylesuxx
4596462f29
Test: Check that the base config is rewritten if PostCSS is enabled - #163
2015-11-22 03:45:27 +01:00
stylesuxx
98ffadd612
Test: Do not enable PostCSS by default - #163 .
2015-11-21 16:49:17 +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
63f1b74fe7
Added ability to create stateless components
...
Cleaned up unittests
2015-10-19 08:11:22 +02:00
Chris
685f6a75ce
Added automatic generation of components displayName property.
2015-10-15 16:09:23 +02:00
Vladimir Rodkin
31e478f28d
Add gitignore
2015-10-13 17:54:47 +03:00
Chris
361ea7409d
Added another utility #getDestinationClassName to get the final classname of a given path
2015-09-29 14:11:28 +02:00
Chris
56ff5c6281
Added new helper method #getDestinationPath to make path management in subcomponents easier
2015-09-29 13:52:58 +02:00
Chris
023d937877
Added changes for version 2.0
2015-09-21 20:45:57 +02: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
Chris
598842ba9c
*FIX* Tests: Removed NoErrorsPlugin from test for dev webpack
2015-06-02 12:58:56 +02:00
Guilherme Rodrigues
7462f5db6c
Fix broken script and style paths
...
Fix #88
2015-04-13 17:34:10 -03:00
Yonatan Schreiber
895b95411e
fix tests to work with architecture = 'flux' (no reflux support yet)
2015-04-08 23:23:46 +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
267a632e11
Add generator tests for actions and stores
2015-03-27 14:39:41 -04:00
Justin Niessner
70c28528e3
Add basic file check tests for Flux option during app generation
2015-03-27 09:32:11 -04:00
ColCh
a2568e8cd5
Assert require'ing 'components/%COMPONENT%' within subgenerators test case
2015-02-20 17:09:05 +03:00
ColCh
d507bf1772
Added test case for 'components' alias definition within configs
2015-02-20 17:07:58 +03:00
ColCh
5a2e43ac6a
Added assertion for style require'ing via alias within component file
2015-02-20 16:55:17 +03:00
ColCh
1cef6abd46
Added test case for aliases definition within config
2015-02-20 16:54:29 +03:00
ColCh
6b443cca48
Added test case for subcomponent
2015-02-20 16:23:33 +03:00
ColCh
554d2dd56b
Modify appPath to support multiple function call
2015-02-20 16:22:58 +03:00
ColCh
708fcea34f
Slight refactor test helper to access name
2015-02-20 16:01:05 +03:00
Chris Olsen
0734dace64
add scss format
2015-01-17 14:56:19 -07:00
andrewliebchen
83454b5886
Update to React 0.12.2
2015-01-06 21:43:19 -08:00
ColCh
88d79d2ec2
Add question about desired styles lang
2014-11-02 11:52:51 +03:00
ColCh
89ce919eee
Store and assert config file
2014-11-02 11:08:28 +03:00
ColCh
026455c4e7
Backport 58dddfd80d
2014-09-29 19:32:18 +04:00
ColCh
19a2eb963a
Add simple tests for HMR usage
2014-09-29 19:19:20 +04:00
Simon Bailey
3b27c1802a
refactor: cleaned up test suite and fix failures
...
Signed-off-by: Simon Bailey <simon@newtriks.com>
2014-09-26 12:13:47 +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