generator-reackt 0.3.2 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/.prettierrc +4 -4
  2. package/.stylelintrc +104 -0
  3. package/LICENSE +9 -7
  4. package/README.md +18 -18
  5. package/generators/app/index.js +1 -307
  6. package/generators/component/index.js +1 -56
  7. package/generators/es.regexp.flags-ccfbed60.js +1 -0
  8. package/generators/module/index.js +1 -117
  9. package/generators/util/fs.js +1 -31
  10. package/package.json +33 -29
  11. package/templates/app/.babelrc +9 -9
  12. package/templates/app/.browserslistrc +3 -3
  13. package/templates/app/.editorconfig +11 -11
  14. package/templates/app/.esdoc.json +23 -23
  15. package/templates/app/.eslintrc.js +5 -13
  16. package/templates/app/.lintstagedrc +4 -4
  17. package/templates/app/.prettierrc +4 -4
  18. package/templates/app/.storybook/addons.js +1 -1
  19. package/templates/app/.storybook/config.js +14 -14
  20. package/templates/app/.storybook/webpack.config.babel.js +7 -7
  21. package/templates/app/.stylelintrc +271 -277
  22. package/templates/app/gitignore +2 -0
  23. package/templates/app/jest.config.js +15 -15
  24. package/templates/app/jsconfig.json +8 -8
  25. package/templates/app/package.json +18 -18
  26. package/templates/app/src/components/App.js +14 -0
  27. package/templates/app/src/icons.js +3 -3
  28. package/templates/app/src/index.html +10 -10
  29. package/templates/app/src/index.js +50 -54
  30. package/templates/app/src/index.scss +16 -17
  31. package/templates/app/src/reducers/application.js +21 -21
  32. package/templates/app/src/reducers/index.js +7 -7
  33. package/templates/app/src/sagas/application.js +9 -9
  34. package/templates/app/src/sagas/index.js +7 -7
  35. package/templates/app/src/selectors/application.js +1 -1
  36. package/templates/app/src/selectors/application.test.js +13 -13
  37. package/templates/app/src/utils/index.js +36 -32
  38. package/templates/app/webpack.config.babel.js +103 -109
  39. package/templates/component/index.js +19 -19
  40. package/templates/component/index.test.js +14 -14
  41. package/templates/module/reducer/index.js +20 -20
  42. package/templates/module/saga/index.js +9 -9
  43. package/CHANGELOG.md +0 -227
  44. package/templates/app/src/components/App/App.js +0 -19
@@ -1,19 +1,19 @@
1
- import React, { Component } from 'react';
2
- <% if (flags.addRedux) { %>
3
- import { connect } from 'react-redux';
4
- <% } %>
5
-
6
- export class <%= component.name %> extends Component {
7
- render() {
8
- return <h1>Hello World</h1>;
9
- }
10
- }
11
-
12
- <% if (flags.addRedux) { %>
13
- export default connect(
14
- null,
15
- null
16
- )(<%= component.name %>);
17
- <% } else { %>
18
- export default <%= component.name %>;
19
- <% } %>
1
+ import React, { Component } from 'react';
2
+ <% if (flags.addRedux) { %>
3
+ import { connect } from 'react-redux';
4
+ <% } %>
5
+
6
+ export class <%= component.name %> extends Component {
7
+ render() {
8
+ return <h1>Hello World</h1>;
9
+ }
10
+ }
11
+
12
+ <% if (flags.addRedux) { %>
13
+ export default connect(
14
+ null,
15
+ null
16
+ )(<%= component.name %>);
17
+ <% } else { %>
18
+ export default <%= component.name %>;
19
+ <% } %>
@@ -1,14 +1,14 @@
1
- import renderer from 'react-test-renderer';
2
-
3
- import <%=component.name %> from './<%=component.name %>';
4
-
5
- describe('<<%= component.name %> />', () => {
6
- it('renders correctly', () => {
7
- const component = renderer.create(
8
- <<%=component.name %> />
9
- );
10
- const tree = component.toJSON();
11
-
12
- expect(tree).toMatchSnapshot();
13
- });
14
- });
1
+ import renderer from 'react-test-renderer';
2
+
3
+ import <%=component.name %> from './<%=component.name %>';
4
+
5
+ describe('<<%= component.name %> />', () => {
6
+ it('renders correctly', () => {
7
+ const component = renderer.create(
8
+ <<%=component.name %> />
9
+ );
10
+ const tree = component.toJSON();
11
+
12
+ expect(tree).toMatchSnapshot();
13
+ });
14
+ });
@@ -1,20 +1,20 @@
1
- import { buildActions } from 'utils';
2
-
3
- export const types = buildActions('<%= module.name %>', ['INIT_APP']);
4
-
5
- const initApp = () => ({
6
- type: types.INIT_APP
7
- });
8
-
9
- export const actions = {
10
- initApp
11
- };
12
-
13
- export const initialState = {};
14
-
15
- export const reducer = (state = initialState, action = {}) => {
16
- switch (action.type) {
17
- default:
18
- return state;
19
- }
20
- };
1
+ import { buildActions } from 'utils';
2
+
3
+ export const types = buildActions('<%= module.name %>', ['INIT_APP']);
4
+
5
+ const initApp = () => ({
6
+ type: types.INIT_APP
7
+ });
8
+
9
+ export const actions = {
10
+ initApp
11
+ };
12
+
13
+ export const initialState = {};
14
+
15
+ export const reducer = (state = initialState, action = {}) => {
16
+ switch (action.type) {
17
+ default:
18
+ return state;
19
+ }
20
+ };
@@ -1,9 +1,9 @@
1
- import { all } from 'redux-saga/effects';
2
-
3
- export const workers = {};
4
-
5
- export const watchers = {};
6
-
7
- export default function* saga() {
8
- yield all(Object.values(watchers));
9
- }
1
+ import { all } from 'redux-saga/effects';
2
+
3
+ export const workers = {};
4
+
5
+ export const watchers = {};
6
+
7
+ export default function* saga() {
8
+ yield all(Object.values(watchers));
9
+ }
package/CHANGELOG.md DELETED
@@ -1,227 +0,0 @@
1
- ### Changelog
2
-
3
- All notable changes to this project will be documented in this file. Dates are displayed in UTC.
4
-
5
- #### [v0.3.2](https://git.codecube.xyz/web/generator-reackt/compare/v0.3.1...v0.3.2)
6
-
7
- - fix lint-staged invocation [`df3b020`](https://git.codecube.xyz/web/generator-reackt/commit/df3b020897a825db04731e7e51070d49a721dddc)
8
-
9
- #### [v0.3.1](https://git.codecube.xyz/web/generator-reackt/compare/v0.3.0...v0.3.1)
10
-
11
- > 6 August 2021
12
-
13
- - support husky 7 [`6adaafe`](https://git.codecube.xyz/web/generator-reackt/commit/6adaafeea509414237cd2ee0406ffdcc90babbb9)
14
-
15
- #### [v0.3.0](https://git.codecube.xyz/web/generator-reackt/compare/v0.2.6...v0.3.0)
16
-
17
- > 30 July 2021
18
-
19
- - upgrade all dependencies, migrate to yeoman-generator 5 and husky 7, replace babel-eslint with @babel/eslint-parser [`759925a`](https://git.codecube.xyz/web/generator-reackt/commit/759925ab65f251bf58bf26d62b3cb1f09d1d045f)
20
- - replace request-promise-native with got [`f339a70`](https://git.codecube.xyz/web/generator-reackt/commit/f339a7052927746601ea03bd986835dfbf83045d)
21
- - automatically update changelog when versioning [`2a47d42`](https://git.codecube.xyz/web/generator-reackt/commit/2a47d42820be95777dbc65492c233495fd16a21e)
22
- - use @babel/eslint-parser in template eslintrc [`76468f6`](https://git.codecube.xyz/web/generator-reackt/commit/76468f6f20e8678dc46a0a0a44f7bce398771b52)
23
- - replace node-sass with dart-sass [`c7d602b`](https://git.codecube.xyz/web/generator-reackt/commit/c7d602b4da0132ede0309ed53ae14e6055fc6afd)
24
- - drop yeoman-generator back to 4.x [`88623cb`](https://git.codecube.xyz/web/generator-reackt/commit/88623cbe2adc79cc8d2bbd09d161df9eecc80725)
25
- - add prepublishOnly script [`dd87e7f`](https://git.codecube.xyz/web/generator-reackt/commit/dd87e7f56766401042b4f795ca01327dcae1e3a4)
26
- - disable commit limit for auto-changelog [`7fa3d7d`](https://git.codecube.xyz/web/generator-reackt/commit/7fa3d7d92d04c9580fc7c9b75bc6ac9630510e40)
27
- - add more commits to changelog [`ce8bb2d`](https://git.codecube.xyz/web/generator-reackt/commit/ce8bb2d1f6c3800cf95e605e7f611cf8bff2b51c)
28
- - bump minimum node version to 12 [`0413ab1`](https://git.codecube.xyz/web/generator-reackt/commit/0413ab17a1cf0736a2c134c58513f6656229e46d)
29
- - fix default app name containing spaces [`31fbe2b`](https://git.codecube.xyz/web/generator-reackt/commit/31fbe2b52af74bb86164512ceb180fd54f329645)
30
-
31
- #### [v0.2.6](https://git.codecube.xyz/web/generator-reackt/compare/v0.2.5...v0.2.6)
32
-
33
- > 16 April 2021
34
-
35
- - remove whitelist/blacklist from .stylelintrc [`5f98d6e`](https://git.codecube.xyz/web/generator-reackt/commit/5f98d6e71b5dae5c28294f98a9a9cf0280f2cd74)
36
- - fix webpack 5 builds and switch to css-minimizer-webpack-plugin [`765854a`](https://git.codecube.xyz/web/generator-reackt/commit/765854aec783988d5e9182d52fc37806f08c71ef)
37
- - fix stylelint rule that changed [`1ef1eeb`](https://git.codecube.xyz/web/generator-reackt/commit/1ef1eeb973224f2d06113f4fa4a2b3cbfb0e60ce)
38
- - remove unnecessary prettier rule import [`a572e50`](https://git.codecube.xyz/web/generator-reackt/commit/a572e50602270391407b0a45245b96972b42a67c)
39
-
40
- #### [v0.2.5](https://git.codecube.xyz/web/generator-reackt/compare/v0.2.4...v0.2.5)
41
-
42
- > 29 January 2021
43
-
44
- - upgrade all dependencies [`7511b40`](https://git.codecube.xyz/web/generator-reackt/commit/7511b40c73b05ca9af18682e5b55b6516448d2ad)
45
- - migrate from eslint-loader to eslint-webpack-plugin, make some webpack 5 fixes [`55b95ef`](https://git.codecube.xyz/web/generator-reackt/commit/55b95efa887a36240abb86b23f6415a4363fae24)
46
-
47
- #### [v0.2.4](https://git.codecube.xyz/web/generator-reackt/compare/v0.2.3...v0.2.4)
48
-
49
- > 5 December 2020
50
-
51
- - upgrade all dependencies [`0e976aa`](https://git.codecube.xyz/web/generator-reackt/commit/0e976aaa8d5ce0f1d75483324c8cc531aafb234b)
52
- - upgrade all dependencies [`1c30a55`](https://git.codecube.xyz/web/generator-reackt/commit/1c30a5560851e1cbd25d805d0002609b77f112a7)
53
- - change webpack start script [`e7f3d97`](https://git.codecube.xyz/web/generator-reackt/commit/e7f3d974cc43f1507242d3217ec0f261392254bf)
54
-
55
- #### [v0.2.3](https://git.codecube.xyz/web/generator-reackt/compare/v0.2.2...v0.2.3)
56
-
57
- > 9 October 2020
58
-
59
- - add missing files to package.json [`957b188`](https://git.codecube.xyz/web/generator-reackt/commit/957b18868cf1983cec7b8e4f42ba76dd5312290d)
60
-
61
- #### [v0.2.2](https://git.codecube.xyz/web/generator-reackt/compare/v0.2.1...v0.2.2)
62
-
63
- > 23 May 2020
64
-
65
- - update app for latest prettier changes and upgrade all dependencies [`3a87a7b`](https://git.codecube.xyz/web/generator-reackt/commit/3a87a7b8743388d7cc748753d1da7b2342057f09)
66
- - upgrade all dependencies [`ee69d12`](https://git.codecube.xyz/web/generator-reackt/commit/ee69d1247344b96fd7cda5fd16d5d1ba46043e7f)
67
- - add test script to generated package.json [`bc09b6e`](https://git.codecube.xyz/web/generator-reackt/commit/bc09b6e4488dddba6e4263df614b390642b847f3)
68
- - fix dummy icon not existing [`8ba0c62`](https://git.codecube.xyz/web/generator-reackt/commit/8ba0c627de2a01da3821ac23fa0b6ec9d0446aa0)
69
-
70
- #### [v0.2.1](https://git.codecube.xyz/web/generator-reackt/compare/v0.2.0...v0.2.1)
71
-
72
- > 30 December 2019
73
-
74
- - update dependencies [`b318aae`](https://git.codecube.xyz/web/generator-reackt/commit/b318aaedd1ee9549583bea5048a6ae3733fa735c)
75
- - update dependencies [`e730be8`](https://git.codecube.xyz/web/generator-reackt/commit/e730be8fb8370b4575316adf7c25f3e663a265bf)
76
- - fixes and improvements to webpack.config.babel.js [`5a1113c`](https://git.codecube.xyz/web/generator-reackt/commit/5a1113ccf6fc6c329b4747db966502adf91d5d17)
77
- - fix prettier config load [`ebff869`](https://git.codecube.xyz/web/generator-reackt/commit/ebff86933188f6b9c6c5e577cea90884e02bdbfa)
78
- - break icons out into separate file if fontawesome is being installed [`5fc41dd`](https://git.codecube.xyz/web/generator-reackt/commit/5fc41ddd65e0967315a3a668ea421935af2f5ac6)
79
- - add missing package prettier-stylelint [`2f75de1`](https://git.codecube.xyz/web/generator-reackt/commit/2f75de1db2cafb2b79ff7f94d65640a302ab8d00)
80
-
81
- #### [v0.2.0](https://git.codecube.xyz/web/generator-reackt/compare/v0.1.6...v0.2.0)
82
-
83
- > 15 September 2019
84
-
85
- #### [v0.1.6](https://git.codecube.xyz/web/generator-reackt/compare/v0.1.5...v0.1.6)
86
-
87
- > 15 September 2019
88
-
89
- - update dependencies [`3ef52ff`](https://git.codecube.xyz/web/generator-reackt/commit/3ef52ffc9179ab573e9e69ccd53795fb4a472d59)
90
- - update dependencies [`e8d7884`](https://git.codecube.xyz/web/generator-reackt/commit/e8d7884b0ace131c4a81019b66c0e9fa682116d5)
91
- - add auto-generated CHANGELOG.md [`1c85797`](https://git.codecube.xyz/web/generator-reackt/commit/1c85797864e76c76025e2fb8e210add3c353275d)
92
- - sync package-lock.json [`c1d82f5`](https://git.codecube.xyz/web/generator-reackt/commit/c1d82f53e812b8054ad5375c70ae205dab31edfd)
93
- - read .prettierrc to configure gulp-prettier [`f4b43a4`](https://git.codecube.xyz/web/generator-reackt/commit/f4b43a4c3ed6c399d03fc50789b6458307ce973c)
94
- - always import BrowserRouter, only import Provider-wrapped app if addRedux [`7a7dbe5`](https://git.codecube.xyz/web/generator-reackt/commit/7a7dbe58a01d5462509ad3b9c573e474b8670183)
95
- - bump version to 0.1.6 [`2ed0133`](https://git.codecube.xyz/web/generator-reackt/commit/2ed01334b50657cfcc4490739e792fd670474c36)
96
- - add missing import [`7227d32`](https://git.codecube.xyz/web/generator-reackt/commit/7227d325bbbbfc1ba7f89f34edc59696a631d293)
97
- - fix date format [`3dfb75b`](https://git.codecube.xyz/web/generator-reackt/commit/3dfb75bf690f08875c2c956017771653878a9dc2)
98
- - add missing react-router-dom package [`ec066a6`](https://git.codecube.xyz/web/generator-reackt/commit/ec066a616d9113f9abb0edbd3e80f89c773765df)
99
- - move App.js to the correct location [`0cd10a8`](https://git.codecube.xyz/web/generator-reackt/commit/0cd10a8b34c247201fffcd10aed955e335f62f67)
100
-
101
- #### [v0.1.5](https://git.codecube.xyz/web/generator-reackt/compare/v0.1.4...v0.1.5)
102
-
103
- > 24 July 2019
104
-
105
- - upgrade dependencies [`fb55fa5`](https://git.codecube.xyz/web/generator-reackt/commit/fb55fa5c7cfa31ee0e2a743f6502a975f1aa5eba)
106
- - update dev dependencies [`04a74e2`](https://git.codecube.xyz/web/generator-reackt/commit/04a74e2fa0070d88c2787f0cff4c1141eba34f99)
107
- - update dependencies [`2065e04`](https://git.codecube.xyz/web/generator-reackt/commit/2065e049067437446abf555f87844e8bb657c4a2)
108
- - add jsdoc for util methods [`3ceb875`](https://git.codecube.xyz/web/generator-reackt/commit/3ceb8752a4ebdc55a4399d58b7ada64f431e9d19)
109
- - switch from polyfill to regenerator-runtime and core-js [`2cbc8eb`](https://git.codecube.xyz/web/generator-reackt/commit/2cbc8ebeb8cf0e01ea6e04d0d255a9ae50901d65)
110
- - fix eslint formatted output [`1834f52`](https://git.codecube.xyz/web/generator-reackt/commit/1834f52264b6fcab36f71fc04651214c98979b81)
111
- - bump version to 0.1.5 [`128e003`](https://git.codecube.xyz/web/generator-reackt/commit/128e0038c920b2acb72ece2958cf44feb509049c)
112
- - add BrowserRouter in index.js [`9a54a5a`](https://git.codecube.xyz/web/generator-reackt/commit/9a54a5a732a3168c3f2477ae763cc519a63e7218)
113
- - add material-ui [`ebf2fbf`](https://git.codecube.xyz/web/generator-reackt/commit/ebf2fbfd46851d79fd2ae5e70a5ff9966c4ea18f)
114
- - migrate from babel-polyfill to regenerator-runtime and core-js [`346783f`](https://git.codecube.xyz/web/generator-reackt/commit/346783fbd15d94c0cdcb3db458d35702c212484f)
115
- - add .browserslistrc [`a1576b3`](https://git.codecube.xyz/web/generator-reackt/commit/a1576b3259e030df3e20fab6cc2e1585f61a15ad)
116
- - fix saga forker [`0879b89`](https://git.codecube.xyz/web/generator-reackt/commit/0879b8954d35714bdca8f5237b9d5ed4ae2f1389)
117
- - fix index.html validity [`3c370da`](https://git.codecube.xyz/web/generator-reackt/commit/3c370da9c8b8908a5c50e846f2f712015bc4475d)
118
- - add jest eslint rules [`ce4baba`](https://git.codecube.xyz/web/generator-reackt/commit/ce4baba608f801173d430eece29b045e001974d8)
119
- - fix app import [`54ef863`](https://git.codecube.xyz/web/generator-reackt/commit/54ef863f07c8e21d714fba16e319245aa7c501aa)
120
- - fix intellisense in vs code [`5a18e04`](https://git.codecube.xyz/web/generator-reackt/commit/5a18e04789c505065cd1690b68c109b85e5f3667)
121
-
122
- #### [v0.1.4](https://git.codecube.xyz/web/generator-reackt/compare/v0.1.3...v0.1.4)
123
-
124
- > 1 June 2019
125
-
126
- - update dependencies [`998cd83`](https://git.codecube.xyz/web/generator-reackt/commit/998cd834429f63e78a6757eb9d9e98eeff4d4a8c)
127
- - bump dependencies [`7aeae6a`](https://git.codecube.xyz/web/generator-reackt/commit/7aeae6a15054166fca0fe3eba64a2df09413746a)
128
- - update yeoman-generator [`24cddcd`](https://git.codecube.xyz/web/generator-reackt/commit/24cddcd2b0b50723f32afbcda96eff07ec491a41)
129
- - update dependencies [`eb72bdd`](https://git.codecube.xyz/web/generator-reackt/commit/eb72bdd0f521f11c883494f4e0527e041fb85429)
130
- - update dependencies [`743fbde`](https://git.codecube.xyz/web/generator-reackt/commit/743fbde281027fbcf43480b11084a5d2eabd1c96)
131
- - bump version to 0.1.4 [`9159415`](https://git.codecube.xyz/web/generator-reackt/commit/915941509471978e42d74541068517c8f8c44877)
132
- - update for clean-webpack-plugin v3, use named import [`e1c1d3a`](https://git.codecube.xyz/web/generator-reackt/commit/e1c1d3a9263ca6dc0b4192c10500d74c9c0798fc)
133
- - fix invocation of watchers in app saga [`543574f`](https://git.codecube.xyz/web/generator-reackt/commit/543574fba412caf829ca24f2f07f698d2f9019ca)
134
- - don't cover files in the src root directory itself [`1f9b6a8`](https://git.codecube.xyz/web/generator-reackt/commit/1f9b6a8b5503ca7b682448c0b8bcfdc91fa43e15)
135
-
136
- #### [v0.1.3](https://git.codecube.xyz/web/generator-reackt/compare/v0.1.2...v0.1.3)
137
-
138
- > 11 April 2019
139
-
140
- - update dev dependencies [`bdc43e2`](https://git.codecube.xyz/web/generator-reackt/commit/bdc43e26a8407f5c5ea715ad1eefdd808ef21fbe)
141
- - refactor filesystem code to its own file [`c03e019`](https://git.codecube.xyz/web/generator-reackt/commit/c03e019847cd95a19789bffa56cf9403c8861623)
142
- - start adding storybook [`209f862`](https://git.codecube.xyz/web/generator-reackt/commit/209f862f916ec8d144587c110b9b910fd71221f5)
143
- - add missing .esdoc.json config [`e3a453f`](https://git.codecube.xyz/web/generator-reackt/commit/e3a453f0d7bc25b8f16aa0b68bcc41b66a3ca78e)
144
- - change to terser-webpack-plugin and split react/redux code into a separate chunk [`85e3646`](https://git.codecube.xyz/web/generator-reackt/commit/85e36465909a928cfb8531923eada68eb572b0f5)
145
- - fix webpack/storybook integration, add withKnobs to add stories [`fa8d972`](https://git.codecube.xyz/web/generator-reackt/commit/fa8d972a81f4af0aff4b42e0c9877a1039e053e1)
146
- - add jsconfig.json for vs code autocomplete and bump ecma version in eslintrc [`e0001cd`](https://git.codecube.xyz/web/generator-reackt/commit/e0001cd61ef1b283717e54f1878f0492be73037f)
147
- - add fs method for copying file in place, use it for templated file copies [`3197236`](https://git.codecube.xyz/web/generator-reackt/commit/3197236376ec6ac65529f543909f497ae4decb97)
148
- - add npm scripts for opening coverage/docs [`8e24e8c`](https://git.codecube.xyz/web/generator-reackt/commit/8e24e8cf546917996dbf7dcaa5756497bf99d7f9)
149
- - add storybook knobs addon by default [`a4c65bf`](https://git.codecube.xyz/web/generator-reackt/commit/a4c65bffa35c0bf97ade26abfec91c0562010f44)
150
- - only set jest global if it was selected [`6505675`](https://git.codecube.xyz/web/generator-reackt/commit/650567559655b3f90ba0faf88de671d798dc7f2b)
151
- - fix outdated reference to uglifyjs-webpack-plugin [`5fe20d1`](https://git.codecube.xyz/web/generator-reackt/commit/5fe20d17aae5536391d44fc7a81e1e17b44c017a)
152
- - disable no-underscore-dangle as Yeoman uses the underscore [`fbdebaf`](https://git.codecube.xyz/web/generator-reackt/commit/fbdebaf0bc30001c13722398e8d071f3395265dc)
153
- - bump package version [`18342f4`](https://git.codecube.xyz/web/generator-reackt/commit/18342f49afe3bb4d77cf377451b8978b3b0bcd23)
154
-
155
- #### [v0.1.2](https://git.codecube.xyz/web/generator-reackt/compare/v0.1.1...v0.1.2)
156
-
157
- > 8 March 2019
158
-
159
- - add yeoman-stylelint [`357448f`](https://git.codecube.xyz/web/generator-reackt/commit/357448ff0f23133e8d4c2318ce0df9513067457e)
160
- - use gulp-stylelint for .scss files instead of gulp-prettier [`27c8361`](https://git.codecube.xyz/web/generator-reackt/commit/27c8361949d9d19e3cb32e4454f6dad12ab70e85)
161
- - clean up package.json to remove stylelint [`c40a480`](https://git.codecube.xyz/web/generator-reackt/commit/c40a480f19d930a3c827f15450535424eb995379)
162
- - sync package-lock.json [`d024d80`](https://git.codecube.xyz/web/generator-reackt/commit/d024d803b80c4959b6313d8fe4b57d18142f0ded)
163
- - update dependencies [`3456f98`](https://git.codecube.xyz/web/generator-reackt/commit/3456f989bf062e1605310a797c767cace203681e)
164
- - use yeoman-stylelint to transform .scss files [`9b5d45f`](https://git.codecube.xyz/web/generator-reackt/commit/9b5d45f635c2628eb49dafa207d2e5a08c69f214)
165
- - run prettier on source code after copying it [`a6e2f8f`](https://git.codecube.xyz/web/generator-reackt/commit/a6e2f8fbf483f49358a3b2dedb6f4bfb5aedd6c8)
166
- - formatting of README.md [`cb23e31`](https://git.codecube.xyz/web/generator-reackt/commit/cb23e31bcaa762e2a2735d0753f59ae3c8640445)
167
- - add .editorconfig to generator and meta-config [`992f5e7`](https://git.codecube.xyz/web/generator-reackt/commit/992f5e7f692e71034fa19a98200f2ce09dcd34a9)
168
- - bump package version to 0.1.2 [`336d235`](https://git.codecube.xyz/web/generator-reackt/commit/336d2358f901ec5c7f42848c4b504776619df837)
169
- - bump dev dependency versions [`29938fe`](https://git.codecube.xyz/web/generator-reackt/commit/29938fe212cdda52121401f9a9639b65e9ec5865)
170
- - stop using gulp-stylelint as it crashes yeoman when there is a conflict [`eb324a5`](https://git.codecube.xyz/web/generator-reackt/commit/eb324a5955935e930829bf7e366d99d4c130bd8d)
171
- - change wording of flag questions [`29a1142`](https://git.codecube.xyz/web/generator-reackt/commit/29a11428c9762bdc77931b6e5d50e291b2b6fd22)
172
- - add classnames to core packages [`02283da`](https://git.codecube.xyz/web/generator-reackt/commit/02283dabb542e9e8e4c6f1317f52f0bb3b5ac711)
173
- - formatting of .eslintrc [`91a920f`](https://git.codecube.xyz/web/generator-reackt/commit/91a920feac0593a46bee99bc51c5f0306a50e6fb)
174
- - bump eslint version [`28bd17b`](https://git.codecube.xyz/web/generator-reackt/commit/28bd17ba15774bef76401717d199c8f970e70339)
175
- - add testing related packages [`68b539c`](https://git.codecube.xyz/web/generator-reackt/commit/68b539c060974c4ad6f7c56ef636331f3e88004c)
176
- - add scripts to package.json and clean up node version specifier [`cf883ae`](https://git.codecube.xyz/web/generator-reackt/commit/cf883ae32715f00e86a475c529fc8f2c88547e91)
177
- - remove defaults from .prettierrc files [`8bd4b46`](https://git.codecube.xyz/web/generator-reackt/commit/8bd4b46ba2e52367cf6f38226e73cef9c153def5)
178
- - move charset to top for bulma in index.scss [`849903c`](https://git.codecube.xyz/web/generator-reackt/commit/849903ceba3759ec9bf297ee0436dc09b52cc6b0)
179
- - let eslint-plugin-prettier pick up config file [`7303256`](https://git.codecube.xyz/web/generator-reackt/commit/730325632441212ce87de52dc77a2c4847fe8d8d)
180
- - fix formatting in template [`ae4e320`](https://git.codecube.xyz/web/generator-reackt/commit/ae4e32019db8751adf651638c7817fb9687929ae)
181
- - spelling [`24b546c`](https://git.codecube.xyz/web/generator-reackt/commit/24b546c2b475dca0a2b928e3c992a28d0b0e43b4)
182
- - discard param [`d54bda4`](https://git.codecube.xyz/web/generator-reackt/commit/d54bda4b352156ce116e711e97dc1fc4ead60dab)
183
- - remove trailing whitespace [`98c7b19`](https://git.codecube.xyz/web/generator-reackt/commit/98c7b19bb656953616abb771114ac1494cc9d91a)
184
- - add uikit-react to uikit package list [`e0e5412`](https://git.codecube.xyz/web/generator-reackt/commit/e0e5412c012b2438ebae710b57e1ba867e7bc0bb)
185
- - clean-webpack-plugin v2 does not need this, uses output.path directly [`48e0f34`](https://git.codecube.xyz/web/generator-reackt/commit/48e0f3411554188cd4d12f1d7a1ffb3940962555)
186
- - stop installing babel bridge package as jest 24 does not need it [`c82ca38`](https://git.codecube.xyz/web/generator-reackt/commit/c82ca3817cc3ba71602881d88fedaee72d1211d6)
187
- - avoid hardcoded react version in .eslintrc.js [`bcb26c2`](https://git.codecube.xyz/web/generator-reackt/commit/bcb26c27dbb09ac0905111af30e8a1a30c5ec0f3)
188
-
189
- #### [v0.1.1](https://git.codecube.xyz/web/generator-reackt/compare/v0.1.0...v0.1.1)
190
-
191
- > 6 February 2019
192
-
193
- - add component and module subgenerators [`9a8575b`](https://git.codecube.xyz/web/generator-reackt/commit/9a8575b246ef23e85e196dcfaed206be4e5fa8ff)
194
- - add selectors directory to copy [`bb1a87a`](https://git.codecube.xyz/web/generator-reackt/commit/bb1a87a03112c0eef76bf43e740798af5eba8d02)
195
- - apply code formatting fixes [`749100b`](https://git.codecube.xyz/web/generator-reackt/commit/749100b601477e8e5c5e77a3fda3c2b9fff7f6c2)
196
- - bump package version to 0.1.1 [`5de36d2`](https://git.codecube.xyz/web/generator-reackt/commit/5de36d2565dcad8780f2883d42f3469608bbda2c)
197
- - copy index.html [`7e25895`](https://git.codecube.xyz/web/generator-reackt/commit/7e25895f7dc0e28b74f8c286474776a842e71be9)
198
-
199
- #### v0.1.0
200
-
201
- > 3 February 2019
202
-
203
- - add husky, lint-staged, eslint, gulp, prettier, and babel [`f45f57f`](https://git.codecube.xyz/web/generator-reackt/commit/f45f57f4471b7f4ebb982bf8d96730dfed15495d)
204
- - add yeoman-generator dependency [`08b6628`](https://git.codecube.xyz/web/generator-reackt/commit/08b66285b8f34f6c77cb63eee5ebe49e3611ccc0)
205
- - add static files, package install logic, feature flag prompting - first level directory hierarchy [`965303d`](https://git.codecube.xyz/web/generator-reackt/commit/965303d16d9986498fe12f63ad78cfae62fe2e7f)
206
- - bump package dependencies [`54a3dea`](https://git.codecube.xyz/web/generator-reackt/commit/54a3dea55c566cf6c7b91f217b0d67ce65bc24d5)
207
- - update dependencies [`afccca6`](https://git.codecube.xyz/web/generator-reackt/commit/afccca664406fa47e41e1145175ed7f95f6af4f1)
208
- - fetch license file dynamically based on selection during prompt phase, copy skeleton package.json [`087f8eb`](https://git.codecube.xyz/web/generator-reackt/commit/087f8ebe112978c477fefed43ffdc212b8d48142)
209
- - add "none" option for style framework, flesh out application templating, refactor _directCopy away [`f1de97f`](https://git.codecube.xyz/web/generator-reackt/commit/f1de97f3fdf2d0f330826490437949090cf29f13)
210
- - add gulpfile to build node generator from ES6 source, skeleton app generator [`5722ab9`](https://git.codecube.xyz/web/generator-reackt/commit/5722ab9f7dd2b8dd4714ae1c91c333b0e11edd49)
211
- - bump dependencies [`595203f`](https://git.codecube.xyz/web/generator-reackt/commit/595203f4e159b6ae47f5f618f5f70fe6174801a0)
212
- - add skeleton redux/saga sources [`b94302b`](https://git.codecube.xyz/web/generator-reackt/commit/b94302bb95aaf6a7113e24378e2599fd871130ce)
213
- - sync package-lock.json [`d19a79c`](https://git.codecube.xyz/web/generator-reackt/commit/d19a79c7316b87682cce4cfae6646ebd5c2d46b2)
214
- - use path.join, add copyDirectory, copy new template source directories [`665be2a`](https://git.codecube.xyz/web/generator-reackt/commit/665be2a40b7cb8a913ee2dabfb2b18c7e55e8dde)
215
- - update package-lock.json [`795209d`](https://git.codecube.xyz/web/generator-reackt/commit/795209d31ed2d736fda1652267bb89c7d29ff863)
216
- - update package-lock.json [`bb8ec9e`](https://git.codecube.xyz/web/generator-reackt/commit/bb8ec9e385200d60515559882fa72409c2eb237b)
217
- - add App component [`63d8f58`](https://git.codecube.xyz/web/generator-reackt/commit/63d8f58ac26ea922c0d2169d9a4a2ac4dd98b46c)
218
- - add skeleton README.md [`ed5c798`](https://git.codecube.xyz/web/generator-reackt/commit/ed5c7982a2a505f9028fbc39cf08d6f13bdb41d1)
219
- - add package.json [`5a57897`](https://git.codecube.xyz/web/generator-reackt/commit/5a57897e2bb9da988095157790537e88b3260133)
220
- - add package keywords and node requirements [`98d7cec`](https://git.codecube.xyz/web/generator-reackt/commit/98d7cecb2df1a4915d57f8786498e926b3be87af)
221
- - target current node in .babelrc, ignore generated code in .gitignore and source code in .npmignore [`109a720`](https://git.codecube.xyz/web/generator-reackt/commit/109a72090d34ce1d7187070a8fee50f6c3ecc7f8)
222
- - add bulma css framework [`2c3ef60`](https://git.codecube.xyz/web/generator-reackt/commit/2c3ef60a10fe354f26a59d16b35c5606bdc980b0)
223
- - add some logging [`83e5b0a`](https://git.codecube.xyz/web/generator-reackt/commit/83e5b0a0924f8df6a84449416648de9c9e93d893)
224
- - remove semantic ui as it is less-based [`ed1524a`](https://git.codecube.xyz/web/generator-reackt/commit/ed1524a50fb4e67b1c6de04d6b188b7abf4d57e4)
225
- - add newline to end of index.js [`b8dd7f3`](https://git.codecube.xyz/web/generator-reackt/commit/b8dd7f31aa5d80eb68e434e8beb844ecfa124d01)
226
- - remove comment [`03ce3db`](https://git.codecube.xyz/web/generator-reackt/commit/03ce3dbfc237287c10fdbcd245b8b22f2a9c0a4a)
227
- - add node_modules/ to .gitignore [`d80125a`](https://git.codecube.xyz/web/generator-reackt/commit/d80125a769763c93c28c07175d52d4278b73daf5)
@@ -1,19 +0,0 @@
1
- import React, { Component } from 'react';
2
- <% if (flags.addRedux) { %>
3
- import { connect } from 'react-redux';
4
- <% } %>
5
-
6
- export class App extends Component {
7
- render() {
8
- return <h1>Hello World</h1>;
9
- }
10
- }
11
-
12
- <% if (flags.addRedux) { %>
13
- export default connect(
14
- null,
15
- null
16
- )(App);
17
- <% } else { %>
18
- export default App;
19
- <% } %>