diff --git a/.travis.yml b/.travis.yml index 564255a327..87f93a1896 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,8 +8,9 @@ notifications: email: false node_js: - '6' +before_script: + - lerna exec -- yarn --mutex network script: - - lerna exec -- yarn - lerna exec -- yarn test branches: except: diff --git a/containers/docs/examples/build/index.html b/containers/docs/examples/build/index.html deleted file mode 100644 index d89aa11def..0000000000 --- a/containers/docs/examples/build/index.html +++ /dev/null @@ -1,17 +0,0 @@ - - -
- - - - - - - - - - - - diff --git a/containers/docs/examples/build/settings.json b/containers/docs/examples/build/settings.json deleted file mode 100644 index 6665a0c647..0000000000 --- a/containers/docs/examples/build/settings.json +++ /dev/null @@ -1,187 +0,0 @@ -{ - "contentTypes": { - "article": { - "id": "article", - "name": "Article", - "actions": { - "primary": [{ - "id": "edit", - "name": "Edit", - "icon": "fa-pencil", - "type": "DISPLAY_FORM" - }, { - "id": "delete", - "name": "Delete", - "icon": "fa-trash-o", - "type": "DELETE_CONFIRMATION" - }] - } - } - }, - "actions":{ - "menu:home": { - "id":"menu:home", - "name":"back to home", - "icon": "fa-home", - "type":"@@router/CALL_HISTORY_METHOD", - "payload":{ - "method": "push", - "args":["/"] - } - }, - "menu:Alert": { - "id":"menu:Alert", - "name":"Alert", - "icon": "fa-exclamation-triangle", - "type":"@@router/CALL_HISTORY_METHOD", - "payload":{ - "method": "push", - "args":["/Alert"] - } - }, - "menu:AppHeaderBar": { - "id":"menu:AppHeaderBar", - "name":"AppHeaderBar", - "icon": "fa-bars", - "type":"@@router/CALL_HISTORY_METHOD", - "payload":{ - "method": "push", - "args":["/AppHeaderBar"] - } - }, - "menu:Breadcrumb": { - "id":"menu:Breadcrumb", - "name":"Breadcrumb", - "icon": "fa-bars", - "type":"@@router/CALL_HISTORY_METHOD", - "payload":{ - "method": "push", - "args":["/Breadcrumb"] - } - }, - "menu:Button": { - "id":"menu:Button", - "name":"Button", - "icon": "fa-hand-pointer-o", - "type":"@@router/CALL_HISTORY_METHOD", - "payload":{ - "method": "push", - "args":["/Button"] - } - }, - "menu:ButtonAction": { - "id":"menu:ButtonAction", - "name":"ButtonAction", - "icon": "fa-hand-pointer-o", - "type":"@@router/CALL_HISTORY_METHOD", - "payload":{ - "method": "push", - "args":["/ButtonAction"] - } - }, - "menu:ButtonDispatcher": { - "id":"menu:ButtonDispatcher", - "name":"ButtonDispatcher", - "icon": "fa-hand-pointer-o", - "type":"@@router/CALL_HISTORY_METHOD", - "payload":{ - "method": "push", - "args":["/ButtonDispatcher"] - } - }, - "menu:ButtonsDispatcher": { - "id":"menu:ButtonsDispatcher", - "name":"ButtonsDispatcher", - "icon": "fa-hand-pointer-o", - "type":"@@router/CALL_HISTORY_METHOD", - "payload":{ - "method": "push", - "args":["/ButtonsDispatcher"] - } - }, - "menu:LinkAction": { - "id":"menu:LinkAction", - "name":"LinkAction", - "icon": "fa-anchor", - "type":"@@router/CALL_HISTORY_METHOD", - "payload":{ - "method": "push", - "args":["/LinkAction"] - } - }, - "menu:LinkDispatcher": { - "id":"menu:LinkDispatcher", - "name":"LinkDispatcher", - "icon": "fa-anchor", - "type":"@@router/CALL_HISTORY_METHOD", - "payload":{ - "method": "push", - "args":["/LinkDispatcher"] - } - }, - "menu:LinksDispatcher": { - "id":"menu:LinksDispatcher", - "name":"LinksDispatcher", - "icon": "fa-anchor", - "type":"@@router/CALL_HISTORY_METHOD", - "payload":{ - "method": "push", - "args":["/LinksDispatcher"] - } - }, - "menu:SidePanel": { - "id":"menu:SidePanel", - "name":"SidePanel", - "icon": "fa-bars", - "type":"@@router/CALL_HISTORY_METHOD", - "payload":{ - "method": "push", - "args":["/SidePanel"] - } - } - }, - "views":{ - "appmenu":{ - "actions": ["menu:home"], - "userMenuActions": [], - "logo": {"src": "images/talend_logo.png", "alt": "Talend"}, - "app": "React CMF Bootstrap" - }, - "sidePanel": { - "actions": [ - "menu:Alert", - "menu:Breadcrumb", - "menu:Button", - "menu:ButtonAction", - "menu:ButtonDispatcher", - "menu:ButtonsDispatcher", - "menu:LinkAction", - "menu:LinkDispatcher", - "menu:LinksDispatcher", - "menu:SidePanel" - ] - }, - "example":{ - "exampleSidePanel":{ - "actions":["menu:SidePanel"] - } - } - }, - "routes": { - "path": "/", - "component": "App", - "indexRoute": { "component": "ExampleSidePanel" }, - "childRoutes": [ - { "path": "Alert", "component": "ExampleAlert" }, - { "path": "Breadcrumb", "component": "ExampleBreadcrumb" }, - { "path": "Button", "component": "ExampleButton" }, - { "path": "ButtonAction", "component": "ExampleButtonAction" }, - { "path": "ButtonDispatcher", "component": "ExampleButtonDispatcher" }, - { "path": "ButtonsDispatcher", "component": "ExampleButtonsDispatcher" }, - { "path": "LinkAction", "component": "ExampleLinkAction" }, - { "path": "LinkDispatcher", "component": "ExampleLinkDispatcher" }, - { "path": "LinksDispatcher", "component": "ExampleLinksDispatcher" }, - { "path": "SidePanel", "component": "ExampleSidePanel" } - ] - } -} diff --git a/containers/docs/examples/src/assets/images/talend_logo.png b/containers/docs/examples/src/assets/images/talend_logo.png deleted file mode 100644 index 0922d25a81..0000000000 Binary files a/containers/docs/examples/src/assets/images/talend_logo.png and /dev/null differ diff --git a/containers/.babelrc b/packages/containers/.babelrc similarity index 100% rename from containers/.babelrc rename to packages/containers/.babelrc diff --git a/containers/.editorconfig b/packages/containers/.editorconfig similarity index 100% rename from containers/.editorconfig rename to packages/containers/.editorconfig diff --git a/containers/.eslintignore b/packages/containers/.eslintignore similarity index 100% rename from containers/.eslintignore rename to packages/containers/.eslintignore diff --git a/containers/.eslintrc b/packages/containers/.eslintrc similarity index 100% rename from containers/.eslintrc rename to packages/containers/.eslintrc diff --git a/containers/.github/PULL_REQUEST_TEMPLATE.md b/packages/containers/.github/PULL_REQUEST_TEMPLATE.md similarity index 100% rename from containers/.github/PULL_REQUEST_TEMPLATE.md rename to packages/containers/.github/PULL_REQUEST_TEMPLATE.md diff --git a/containers/.gitignore b/packages/containers/.gitignore similarity index 100% rename from containers/.gitignore rename to packages/containers/.gitignore diff --git a/containers/.npmignore b/packages/containers/.npmignore similarity index 100% rename from containers/.npmignore rename to packages/containers/.npmignore diff --git a/containers/.storybook/config.js b/packages/containers/.storybook/config.js similarity index 100% rename from containers/.storybook/config.js rename to packages/containers/.storybook/config.js diff --git a/containers/.storybook/head.html b/packages/containers/.storybook/head.html similarity index 100% rename from containers/.storybook/head.html rename to packages/containers/.storybook/head.html diff --git a/containers/.storybook/webpack.config.js b/packages/containers/.storybook/webpack.config.js similarity index 100% rename from containers/.storybook/webpack.config.js rename to packages/containers/.storybook/webpack.config.js diff --git a/containers/.travis.yml b/packages/containers/.travis.yml similarity index 100% rename from containers/.travis.yml rename to packages/containers/.travis.yml diff --git a/containers/.travis/after_success.sh b/packages/containers/.travis/after_success.sh similarity index 100% rename from containers/.travis/after_success.sh rename to packages/containers/.travis/after_success.sh diff --git a/containers/CONTRIBUTING.md b/packages/containers/CONTRIBUTING.md similarity index 100% rename from containers/CONTRIBUTING.md rename to packages/containers/CONTRIBUTING.md diff --git a/containers/LICENSE b/packages/containers/LICENSE similarity index 100% rename from containers/LICENSE rename to packages/containers/LICENSE diff --git a/containers/README.md b/packages/containers/README.md similarity index 100% rename from containers/README.md rename to packages/containers/README.md diff --git a/containers/__mocks__/react-talend-components.js b/packages/containers/__mocks__/react-talend-components.js similarity index 100% rename from containers/__mocks__/react-talend-components.js rename to packages/containers/__mocks__/react-talend-components.js diff --git a/containers/docs.json b/packages/containers/docs.json similarity index 100% rename from containers/docs.json rename to packages/containers/docs.json diff --git a/containers/docs/examples/.editorconfig b/packages/containers/docs/examples/.editorconfig similarity index 100% rename from containers/docs/examples/.editorconfig rename to packages/containers/docs/examples/.editorconfig diff --git a/containers/docs/examples/.eslintrc b/packages/containers/docs/examples/.eslintrc similarity index 100% rename from containers/docs/examples/.eslintrc rename to packages/containers/docs/examples/.eslintrc diff --git a/containers/docs/examples/.gitignore b/packages/containers/docs/examples/.gitignore similarity index 100% rename from containers/docs/examples/.gitignore rename to packages/containers/docs/examples/.gitignore diff --git a/containers/docs/examples/.npmignore b/packages/containers/docs/examples/.npmignore similarity index 100% rename from containers/docs/examples/.npmignore rename to packages/containers/docs/examples/.npmignore diff --git a/containers/docs/examples/.sass-lint.yml b/packages/containers/docs/examples/.sass-lint.yml similarity index 100% rename from containers/docs/examples/.sass-lint.yml rename to packages/containers/docs/examples/.sass-lint.yml diff --git a/containers/docs/examples/.travis.yml b/packages/containers/docs/examples/.travis.yml similarity index 100% rename from containers/docs/examples/.travis.yml rename to packages/containers/docs/examples/.travis.yml diff --git a/containers/docs/examples/package.json b/packages/containers/docs/examples/package.json similarity index 100% rename from containers/docs/examples/package.json rename to packages/containers/docs/examples/package.json diff --git a/containers/docs/examples/src/app/components/App.container.js b/packages/containers/docs/examples/src/app/components/App.container.js similarity index 100% rename from containers/docs/examples/src/app/components/App.container.js rename to packages/containers/docs/examples/src/app/components/App.container.js diff --git a/containers/docs/examples/src/app/components/App.scss b/packages/containers/docs/examples/src/app/components/App.scss similarity index 100% rename from containers/docs/examples/src/app/components/App.scss rename to packages/containers/docs/examples/src/app/components/App.scss diff --git a/containers/docs/examples/src/app/configure.js b/packages/containers/docs/examples/src/app/configure.js similarity index 100% rename from containers/docs/examples/src/app/configure.js rename to packages/containers/docs/examples/src/app/configure.js diff --git a/containers/docs/examples/src/app/index.html b/packages/containers/docs/examples/src/app/index.html similarity index 100% rename from containers/docs/examples/src/app/index.html rename to packages/containers/docs/examples/src/app/index.html diff --git a/containers/docs/examples/src/app/index.js b/packages/containers/docs/examples/src/app/index.js similarity index 100% rename from containers/docs/examples/src/app/index.js rename to packages/containers/docs/examples/src/app/index.js diff --git a/containers/docs/examples/build/images/talend_logo.png b/packages/containers/docs/examples/src/assets/images/talend_logo.png similarity index 100% rename from containers/docs/examples/build/images/talend_logo.png rename to packages/containers/docs/examples/src/assets/images/talend_logo.png diff --git a/containers/docs/examples/src/assets/settings.json b/packages/containers/docs/examples/src/assets/settings.json similarity index 100% rename from containers/docs/examples/src/assets/settings.json rename to packages/containers/docs/examples/src/assets/settings.json diff --git a/containers/docs/examples/webpack.config.dev.js b/packages/containers/docs/examples/webpack.config.dev.js similarity index 100% rename from containers/docs/examples/webpack.config.dev.js rename to packages/containers/docs/examples/webpack.config.dev.js diff --git a/containers/docs/examples/webpack.config.js b/packages/containers/docs/examples/webpack.config.js similarity index 100% rename from containers/docs/examples/webpack.config.js rename to packages/containers/docs/examples/webpack.config.js diff --git a/containers/docs/examples/webpack.config.prod.js b/packages/containers/docs/examples/webpack.config.prod.js similarity index 100% rename from containers/docs/examples/webpack.config.prod.js rename to packages/containers/docs/examples/webpack.config.prod.js diff --git a/containers/docs/index.html b/packages/containers/docs/index.html similarity index 100% rename from containers/docs/index.html rename to packages/containers/docs/index.html diff --git a/containers/examples/ExampleAction.js b/packages/containers/examples/ExampleAction.js similarity index 100% rename from containers/examples/ExampleAction.js rename to packages/containers/examples/ExampleAction.js diff --git a/containers/examples/ExampleActions.js b/packages/containers/examples/ExampleActions.js similarity index 100% rename from containers/examples/ExampleActions.js rename to packages/containers/examples/ExampleActions.js diff --git a/containers/examples/ExampleAppHeaderBar.js b/packages/containers/examples/ExampleAppHeaderBar.js similarity index 100% rename from containers/examples/ExampleAppHeaderBar.js rename to packages/containers/examples/ExampleAppHeaderBar.js diff --git a/containers/examples/ExampleList.js b/packages/containers/examples/ExampleList.js similarity index 100% rename from containers/examples/ExampleList.js rename to packages/containers/examples/ExampleList.js diff --git a/containers/examples/ExampleNotification.js b/packages/containers/examples/ExampleNotification.js similarity index 100% rename from containers/examples/ExampleNotification.js rename to packages/containers/examples/ExampleNotification.js diff --git a/containers/examples/ExampleSidePanel.js b/packages/containers/examples/ExampleSidePanel.js similarity index 100% rename from containers/examples/ExampleSidePanel.js rename to packages/containers/examples/ExampleSidePanel.js diff --git a/containers/examples/index.js b/packages/containers/examples/index.js similarity index 100% rename from containers/examples/index.js rename to packages/containers/examples/index.js diff --git a/containers/package.json b/packages/containers/package.json similarity index 100% rename from containers/package.json rename to packages/containers/package.json diff --git a/containers/src/Action/Action.component.js b/packages/containers/src/Action/Action.component.js similarity index 100% rename from containers/src/Action/Action.component.js rename to packages/containers/src/Action/Action.component.js diff --git a/containers/src/Action/Action.test.js b/packages/containers/src/Action/Action.test.js similarity index 100% rename from containers/src/Action/Action.test.js rename to packages/containers/src/Action/Action.test.js diff --git a/containers/src/Action/__snapshots__/Action.test.js.snap b/packages/containers/src/Action/__snapshots__/Action.test.js.snap similarity index 100% rename from containers/src/Action/__snapshots__/Action.test.js.snap rename to packages/containers/src/Action/__snapshots__/Action.test.js.snap diff --git a/containers/src/Action/index.js b/packages/containers/src/Action/index.js similarity index 100% rename from containers/src/Action/index.js rename to packages/containers/src/Action/index.js diff --git a/containers/src/Actions/Actions.component.js b/packages/containers/src/Actions/Actions.component.js similarity index 100% rename from containers/src/Actions/Actions.component.js rename to packages/containers/src/Actions/Actions.component.js diff --git a/containers/src/Actions/Actions.test.js b/packages/containers/src/Actions/Actions.test.js similarity index 100% rename from containers/src/Actions/Actions.test.js rename to packages/containers/src/Actions/Actions.test.js diff --git a/containers/src/Actions/__snapshots__/Actions.test.js.snap b/packages/containers/src/Actions/__snapshots__/Actions.test.js.snap similarity index 100% rename from containers/src/Actions/__snapshots__/Actions.test.js.snap rename to packages/containers/src/Actions/__snapshots__/Actions.test.js.snap diff --git a/containers/src/Actions/index.js b/packages/containers/src/Actions/index.js similarity index 100% rename from containers/src/Actions/index.js rename to packages/containers/src/Actions/index.js diff --git a/containers/src/AppHeaderBar/AppHeaderBar.component.js b/packages/containers/src/AppHeaderBar/AppHeaderBar.component.js similarity index 100% rename from containers/src/AppHeaderBar/AppHeaderBar.component.js rename to packages/containers/src/AppHeaderBar/AppHeaderBar.component.js diff --git a/containers/src/AppHeaderBar/AppHeaderBar.test.js b/packages/containers/src/AppHeaderBar/AppHeaderBar.test.js similarity index 100% rename from containers/src/AppHeaderBar/AppHeaderBar.test.js rename to packages/containers/src/AppHeaderBar/AppHeaderBar.test.js diff --git a/containers/src/AppHeaderBar/index.js b/packages/containers/src/AppHeaderBar/index.js similarity index 100% rename from containers/src/AppHeaderBar/index.js rename to packages/containers/src/AppHeaderBar/index.js diff --git a/containers/src/List/List.connect.js b/packages/containers/src/List/List.connect.js similarity index 100% rename from containers/src/List/List.connect.js rename to packages/containers/src/List/List.connect.js diff --git a/containers/src/List/List.container.js b/packages/containers/src/List/List.container.js similarity index 100% rename from containers/src/List/List.container.js rename to packages/containers/src/List/List.container.js diff --git a/containers/src/List/List.test.js b/packages/containers/src/List/List.test.js similarity index 100% rename from containers/src/List/List.test.js rename to packages/containers/src/List/List.test.js diff --git a/containers/src/List/index.js b/packages/containers/src/List/index.js similarity index 100% rename from containers/src/List/index.js rename to packages/containers/src/List/index.js diff --git a/containers/src/List/selector.js b/packages/containers/src/List/selector.js similarity index 100% rename from containers/src/List/selector.js rename to packages/containers/src/List/selector.js diff --git a/containers/src/Notification/Notification.connect.js b/packages/containers/src/Notification/Notification.connect.js similarity index 100% rename from containers/src/Notification/Notification.connect.js rename to packages/containers/src/Notification/Notification.connect.js diff --git a/containers/src/Notification/Notification.container.js b/packages/containers/src/Notification/Notification.container.js similarity index 100% rename from containers/src/Notification/Notification.container.js rename to packages/containers/src/Notification/Notification.container.js diff --git a/containers/src/Notification/Notification.test.js b/packages/containers/src/Notification/Notification.test.js similarity index 100% rename from containers/src/Notification/Notification.test.js rename to packages/containers/src/Notification/Notification.test.js diff --git a/containers/src/Notification/__snapshots__/Notification.test.js.snap b/packages/containers/src/Notification/__snapshots__/Notification.test.js.snap similarity index 100% rename from containers/src/Notification/__snapshots__/Notification.test.js.snap rename to packages/containers/src/Notification/__snapshots__/Notification.test.js.snap diff --git a/containers/src/Notification/index.js b/packages/containers/src/Notification/index.js similarity index 100% rename from containers/src/Notification/index.js rename to packages/containers/src/Notification/index.js diff --git a/containers/src/SidePanel/SidePanel.connect.js b/packages/containers/src/SidePanel/SidePanel.connect.js similarity index 100% rename from containers/src/SidePanel/SidePanel.connect.js rename to packages/containers/src/SidePanel/SidePanel.connect.js diff --git a/containers/src/SidePanel/SidePanel.container.js b/packages/containers/src/SidePanel/SidePanel.container.js similarity index 100% rename from containers/src/SidePanel/SidePanel.container.js rename to packages/containers/src/SidePanel/SidePanel.container.js diff --git a/containers/src/SidePanel/SidePanel.test.js b/packages/containers/src/SidePanel/SidePanel.test.js similarity index 100% rename from containers/src/SidePanel/SidePanel.test.js rename to packages/containers/src/SidePanel/SidePanel.test.js diff --git a/containers/src/SidePanel/__snapshots__/SidePanel.test.js.snap b/packages/containers/src/SidePanel/__snapshots__/SidePanel.test.js.snap similarity index 100% rename from containers/src/SidePanel/__snapshots__/SidePanel.test.js.snap rename to packages/containers/src/SidePanel/__snapshots__/SidePanel.test.js.snap diff --git a/containers/src/SidePanel/index.js b/packages/containers/src/SidePanel/index.js similarity index 100% rename from containers/src/SidePanel/index.js rename to packages/containers/src/SidePanel/index.js diff --git a/containers/src/actionAPI.js b/packages/containers/src/actionAPI.js similarity index 100% rename from containers/src/actionAPI.js rename to packages/containers/src/actionAPI.js diff --git a/containers/src/index.js b/packages/containers/src/index.js similarity index 100% rename from containers/src/index.js rename to packages/containers/src/index.js diff --git a/containers/src/mock.settings.json b/packages/containers/src/mock.settings.json similarity index 100% rename from containers/src/mock.settings.json rename to packages/containers/src/mock.settings.json diff --git a/containers/src/state.js b/packages/containers/src/state.js similarity index 100% rename from containers/src/state.js rename to packages/containers/src/state.js diff --git a/containers/test/styleMock.js b/packages/containers/test/styleMock.js similarity index 100% rename from containers/test/styleMock.js rename to packages/containers/test/styleMock.js diff --git a/containers/yarn.lock b/packages/containers/yarn.lock similarity index 100% rename from containers/yarn.lock rename to packages/containers/yarn.lock diff --git a/generator/.travis.yml b/packages/generator/.travis.yml similarity index 100% rename from generator/.travis.yml rename to packages/generator/.travis.yml diff --git a/generator/README.md b/packages/generator/README.md similarity index 100% rename from generator/README.md rename to packages/generator/README.md diff --git a/generator/generators/app/index.js b/packages/generator/generators/app/index.js similarity index 100% rename from generator/generators/app/index.js rename to packages/generator/generators/app/index.js diff --git a/generator/generators/app/templates/README.md b/packages/generator/generators/app/templates/README.md similarity index 100% rename from generator/generators/app/templates/README.md rename to packages/generator/generators/app/templates/README.md diff --git a/generator/generators/app/templates/package.json b/packages/generator/generators/app/templates/package.json similarity index 100% rename from generator/generators/app/templates/package.json rename to packages/generator/generators/app/templates/package.json diff --git a/generator/generators/dotfiles/index.js b/packages/generator/generators/dotfiles/index.js similarity index 100% rename from generator/generators/dotfiles/index.js rename to packages/generator/generators/dotfiles/index.js diff --git a/generator/generators/react-cmf/index.js b/packages/generator/generators/react-cmf/index.js similarity index 100% rename from generator/generators/react-cmf/index.js rename to packages/generator/generators/react-cmf/index.js diff --git a/generator/generators/react-cmf/templates/package.json b/packages/generator/generators/react-cmf/templates/package.json similarity index 100% rename from generator/generators/react-cmf/templates/package.json rename to packages/generator/generators/react-cmf/templates/package.json diff --git a/generator/generators/react-cmf/templates/src/app/actions.js b/packages/generator/generators/react-cmf/templates/src/app/actions.js similarity index 100% rename from generator/generators/react-cmf/templates/src/app/actions.js rename to packages/generator/generators/react-cmf/templates/src/app/actions.js diff --git a/generator/generators/react-cmf/templates/src/app/components/App.container.js b/packages/generator/generators/react-cmf/templates/src/app/components/App.container.js similarity index 100% rename from generator/generators/react-cmf/templates/src/app/components/App.container.js rename to packages/generator/generators/react-cmf/templates/src/app/components/App.container.js diff --git a/generator/generators/react-cmf/templates/src/app/configure.js b/packages/generator/generators/react-cmf/templates/src/app/configure.js similarity index 100% rename from generator/generators/react-cmf/templates/src/app/configure.js rename to packages/generator/generators/react-cmf/templates/src/app/configure.js diff --git a/generator/generators/react-cmf/templates/src/app/index.html b/packages/generator/generators/react-cmf/templates/src/app/index.html similarity index 100% rename from generator/generators/react-cmf/templates/src/app/index.html rename to packages/generator/generators/react-cmf/templates/src/app/index.html diff --git a/generator/generators/react-cmf/templates/src/app/index.js b/packages/generator/generators/react-cmf/templates/src/app/index.js similarity index 100% rename from generator/generators/react-cmf/templates/src/app/index.js rename to packages/generator/generators/react-cmf/templates/src/app/index.js diff --git a/generator/generators/react-cmf/templates/src/app/reducers.js b/packages/generator/generators/react-cmf/templates/src/app/reducers.js similarity index 100% rename from generator/generators/react-cmf/templates/src/app/reducers.js rename to packages/generator/generators/react-cmf/templates/src/app/reducers.js diff --git a/generator/generators/react-cmf/templates/src/assets/settings.json b/packages/generator/generators/react-cmf/templates/src/assets/settings.json similarity index 100% rename from generator/generators/react-cmf/templates/src/assets/settings.json rename to packages/generator/generators/react-cmf/templates/src/assets/settings.json diff --git a/generator/generators/react-cmf/templates/webpack.config.dev.js b/packages/generator/generators/react-cmf/templates/webpack.config.dev.js similarity index 100% rename from generator/generators/react-cmf/templates/webpack.config.dev.js rename to packages/generator/generators/react-cmf/templates/webpack.config.dev.js diff --git a/generator/generators/react-cmf/templates/webpack.config.js b/packages/generator/generators/react-cmf/templates/webpack.config.js similarity index 100% rename from generator/generators/react-cmf/templates/webpack.config.js rename to packages/generator/generators/react-cmf/templates/webpack.config.js diff --git a/generator/generators/react-cmf/templates/webpack.config.prod.js b/packages/generator/generators/react-cmf/templates/webpack.config.prod.js similarity index 100% rename from generator/generators/react-cmf/templates/webpack.config.prod.js rename to packages/generator/generators/react-cmf/templates/webpack.config.prod.js diff --git a/generator/generators/react-component/index.js b/packages/generator/generators/react-component/index.js similarity index 100% rename from generator/generators/react-component/index.js rename to packages/generator/generators/react-component/index.js diff --git a/generator/generators/react-component/templates/src/connect.component.js b/packages/generator/generators/react-component/templates/src/connect.component.js similarity index 100% rename from generator/generators/react-component/templates/src/connect.component.js rename to packages/generator/generators/react-component/templates/src/connect.component.js diff --git a/generator/generators/react-component/templates/src/connect.test.js b/packages/generator/generators/react-component/templates/src/connect.test.js similarity index 100% rename from generator/generators/react-component/templates/src/connect.test.js rename to packages/generator/generators/react-component/templates/src/connect.test.js diff --git a/generator/generators/react-component/templates/src/createClass.component.js b/packages/generator/generators/react-component/templates/src/createClass.component.js similarity index 100% rename from generator/generators/react-component/templates/src/createClass.component.js rename to packages/generator/generators/react-component/templates/src/createClass.component.js diff --git a/generator/generators/react-component/templates/src/enzyme.test.js b/packages/generator/generators/react-component/templates/src/enzyme.test.js similarity index 100% rename from generator/generators/react-component/templates/src/enzyme.test.js rename to packages/generator/generators/react-component/templates/src/enzyme.test.js diff --git a/generator/generators/react-component/templates/src/es6.arrow.component.js b/packages/generator/generators/react-component/templates/src/es6.arrow.component.js similarity index 100% rename from generator/generators/react-component/templates/src/es6.arrow.component.js rename to packages/generator/generators/react-component/templates/src/es6.arrow.component.js diff --git a/generator/generators/react-component/templates/src/es6.class.component.js b/packages/generator/generators/react-component/templates/src/es6.class.component.js similarity index 100% rename from generator/generators/react-component/templates/src/es6.class.component.js rename to packages/generator/generators/react-component/templates/src/es6.class.component.js diff --git a/generator/generators/react-component/templates/src/full.component.js b/packages/generator/generators/react-component/templates/src/full.component.js similarity index 100% rename from generator/generators/react-component/templates/src/full.component.js rename to packages/generator/generators/react-component/templates/src/full.component.js diff --git a/generator/generators/react-component/templates/src/full.connect.js b/packages/generator/generators/react-component/templates/src/full.connect.js similarity index 100% rename from generator/generators/react-component/templates/src/full.connect.js rename to packages/generator/generators/react-component/templates/src/full.connect.js diff --git a/generator/generators/react-component/templates/src/full.container.js b/packages/generator/generators/react-component/templates/src/full.container.js similarity index 100% rename from generator/generators/react-component/templates/src/full.container.js rename to packages/generator/generators/react-component/templates/src/full.container.js diff --git a/generator/generators/react-component/templates/src/full.index.js b/packages/generator/generators/react-component/templates/src/full.index.js similarity index 100% rename from generator/generators/react-component/templates/src/full.index.js rename to packages/generator/generators/react-component/templates/src/full.index.js diff --git a/generator/generators/react-component/templates/src/full.test.js b/packages/generator/generators/react-component/templates/src/full.test.js similarity index 100% rename from generator/generators/react-component/templates/src/full.test.js rename to packages/generator/generators/react-component/templates/src/full.test.js diff --git a/generator/generators/react-component/templates/src/index.js b/packages/generator/generators/react-component/templates/src/index.js similarity index 100% rename from generator/generators/react-component/templates/src/index.js rename to packages/generator/generators/react-component/templates/src/index.js diff --git a/generator/generators/react-component/templates/src/scss b/packages/generator/generators/react-component/templates/src/scss similarity index 100% rename from generator/generators/react-component/templates/src/scss rename to packages/generator/generators/react-component/templates/src/scss diff --git a/generator/generators/react-component/templates/src/snapshot.test.js b/packages/generator/generators/react-component/templates/src/snapshot.test.js similarity index 100% rename from generator/generators/react-component/templates/src/snapshot.test.js rename to packages/generator/generators/react-component/templates/src/snapshot.test.js diff --git a/generator/generators/react-component/templates/src/stateless.component.js b/packages/generator/generators/react-component/templates/src/stateless.component.js similarity index 100% rename from generator/generators/react-component/templates/src/stateless.component.js rename to packages/generator/generators/react-component/templates/src/stateless.component.js diff --git a/generator/package.json b/packages/generator/package.json similarity index 100% rename from generator/package.json rename to packages/generator/package.json diff --git a/generator/test/app.js b/packages/generator/test/app.js similarity index 100% rename from generator/test/app.js rename to packages/generator/test/app.js diff --git a/generator/test/dotfiles.js b/packages/generator/test/dotfiles.js similarity index 100% rename from generator/test/dotfiles.js rename to packages/generator/test/dotfiles.js diff --git a/generator/test/react-cmf.js b/packages/generator/test/react-cmf.js similarity index 100% rename from generator/test/react-cmf.js rename to packages/generator/test/react-cmf.js diff --git a/generator/test/react-component.js b/packages/generator/test/react-component.js similarity index 100% rename from generator/test/react-component.js rename to packages/generator/test/react-component.js diff --git a/generator/yarn.lock b/packages/generator/yarn.lock similarity index 100% rename from generator/yarn.lock rename to packages/generator/yarn.lock