From 5329b29ee1b03e0330de274f26645b750a9951a5 Mon Sep 17 00:00:00 2001 From: Liucw Date: Tue, 30 Aug 2016 01:20:48 +0800 Subject: [PATCH] Release v2.0.1 --- .travis.yml | 4 ++-- generators/app/index.js | 3 ++- package.json | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0fe61ca..7503aad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ language: node_js node_js: - - v6 - - v4 + - 6 + - 4 diff --git a/generators/app/index.js b/generators/app/index.js index 68b1938..31483c1 100644 --- a/generators/app/index.js +++ b/generators/app/index.js @@ -48,7 +48,8 @@ module.exports = yeoman.generators.Base.extend({ return dirs; }, store: true, - default: 'client/components/' + // TODO: default no effect + default: 0 }, { type: 'confirm', name: 'isComponentDir', diff --git a/package.json b/package.json index 23fb78f..a70c3a1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "generator-react-new-component", - "version": "2.0.0", + "version": "2.0.1", "description": "Generator one react new component", "homepage": "https://github.com/booxood/generator-react-new-component.git", "author": {