Permalink
Commits on Nov 23, 2016
  1. Bumped dep version for react-generator-template

    v2.0.1-6 contains important updates to conf/webpack/Test.js that fix
    running tests on components using css modules and a css preprocessor
    (less, s(c|a)ss, stylus).
    sthzg committed Nov 23, 2016
  2. Added support for configuring a className prefix (#310)

    This feature allows users to put a `cssClsPrefix` property into their
    .yo-rc.json. If configured, the component generator will add this string
    as a prefix to className attributes.
    
    Example:
    
    	// .yo-rc.json
    	{
    	  "generator-react-webpack": {
    	    "appName": "v4-latest-install",
    	    "style": "css",
    	    "cssmodules": false,
    	    "cssClsPrefix": "myapp",
    	    "postcss": false,
    	    "generatedWithVersion": 4
    	  }
    	}
    
    Components generated will now prepend the `myapp` prefix on their class
    names, e.g.
    
    	$ yo react-webpack:component hello
    	<div className="myapp-hello-component" />
    sthzg committed on GitHub Nov 23, 2016
Commits on Nov 22, 2016
  1. Added sub-generator setup-env #278 (#308)

    This subgen creates a new Webpack config environment by
    
    - creating conf/webpack/<EnvName>.js
    - creating src/config/<env_name>.js
    - requiring and exporting the new env in conf/webpack/index.js
    
    The commit introduces a basic config template that is supposed to be populated by the generator's users. Various more fine grained subgen options can be added at a later time (e.g. prompting the user if new run scripts should be added to package.json).
    
    The subgen's basic functionality is backed up by unit tests that check
    
    - if files are created
    - if conf/webpack/index.js contains correct import/export
    sthzg committed on GitHub Nov 22, 2016
  2. V4 -- Updates to support PostCSS installation

    * Updated tessts to successfully run against current master of the template
    * Updated postcss attachement to new webpack config. Adjusted tests.
    * Updated dependencies
    * Use newest template
    * Updated Esprima
    stylesuxx committed with sthzg Nov 22, 2016
Commits on Aug 23, 2016
  1. Added support for cssmodules when setting up projects. closes #265

    weblogixx committed Aug 23, 2016
  2. Added coverage badge

    weblogixx committed Aug 23, 2016
  3. Fix: Updated coverage to use lcov as default reporter

    weblogixx committed Aug 23, 2016
  4. Added coveralls.io

    weblogixx committed Aug 23, 2016
  5. Added back postcss

    weblogixx committed Aug 23, 2016
Commits on Aug 15, 2016
  1. Refactored test templates to use inline functions (#276)

    Closes #275
    sthzg committed on GitHub Aug 15, 2016
Commits on Aug 10, 2016
Commits on Aug 9, 2016
  1. Merge pull request #268 from sthzg/feature/gh_issue_255

    Refactored component subgen to support styles and/or cssmodules #255
    weblogixx committed on GitHub Aug 9, 2016
Commits on Aug 5, 2016
  1. 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
    sthzg committed Aug 3, 2016
Commits on Aug 1, 2016
  1. Merge pull request #254 from sthzg/feature/gh_issue_#253

    Prevent two consecutive slashes in test imports #253
    weblogixx committed on GitHub Aug 1, 2016
Commits on Jul 10, 2016
  1. 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.
    sthzg committed Jul 10, 2016
Commits on Jul 1, 2016
Commits on Jun 30, 2016
  1. 4.0.1-1

    weblogixx committed Jun 30, 2016
  2. Merge pull request #249 from sthzg/master

    Fixes no-trailing-spaces error in components Base.js #244
    weblogixx committed on GitHub Jun 30, 2016
Commits on Jun 24, 2016
Commits on Jun 15, 2016
  1. 4.0.1-0

    weblogixx committed Jun 15, 2016
  2. Fixed release scripts.

    weblogixx committed Jun 15, 2016
  3. 4.0.1

    weblogixx committed Jun 15, 2016
  4. 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
    weblogixx committed Jun 15, 2016
Commits on Jun 14, 2016
Commits on Jun 13, 2016
  1. Merge pull request #237 from JimTheMan/patch-1

    Update README.md
    weblogixx committed on GitHub Jun 13, 2016
Commits on Jun 12, 2016
  1. Update README.md

    JimTheMan committed on GitHub Jun 12, 2016
Commits on May 27, 2016
Commits on May 17, 2016
  1. 3.3.2

    weblogixx committed May 17, 2016
  2. Emerg: Reverted 3.3.1

    weblogixx committed May 17, 2016
  3. 3.3.1

    weblogixx committed May 17, 2016