@zohodesk/react-cli 1.0.2-exp.4 → 1.0.3-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. package/.eslintignore +7 -7
  2. package/.eslintrc.js +180 -180
  3. package/.prettierrc +6 -6
  4. package/Changelog.md +1019 -1019
  5. package/README.md +1189 -1165
  6. package/bin/cli.js +483 -483
  7. package/docs/CustomChunks.md +26 -26
  8. package/docs/DevServerPort.md +39 -39
  9. package/docs/DevStart.md +18 -18
  10. package/docs/HoverActive.md +12 -12
  11. package/docs/InstallNode.md +28 -28
  12. package/docs/SelectorWeight.md +8 -8
  13. package/docs/TODOS.md +10 -10
  14. package/docs/ValueReplacer.md +60 -60
  15. package/docs/VariableConversion.md +729 -729
  16. package/docs/warnings_while_install.txt +35 -35
  17. package/files/eslintrc.js +62 -62
  18. package/files/prettierrc.js +3 -3
  19. package/lib/common/testPattern.js +0 -2
  20. package/lib/common/valueReplacer.js +1 -3
  21. package/lib/configs/resolvers.js +14 -3
  22. package/lib/configs/webpack.css.umd.config.js +4 -4
  23. package/lib/configs/webpack.dev.config.js +0 -6
  24. package/lib/configs/webpack.docs.config.js +0 -4
  25. package/lib/configs/webpack.impact.config.js +0 -4
  26. package/lib/configs/webpack.prod.config.js +0 -6
  27. package/lib/loaderUtils/configsAssetsLoaders.js +33 -33
  28. package/lib/loaderUtils/getCSSLoaders.js +47 -81
  29. package/lib/loaderUtils/windowsModification.js +1 -6
  30. package/lib/loaders/selectorMappingLoader.js +9 -9
  31. package/lib/loaders/workerLoader.js +9 -9
  32. package/lib/logger.js +20 -0
  33. package/lib/pluginUtils/getDevPlugins.js +13 -18
  34. package/lib/pluginUtils/getProdPlugins.js +12 -16
  35. package/lib/pluginUtils/getUMDCSSPlugins.js +1 -1
  36. package/lib/pluginUtils/getUMDComponentPlugins.js +1 -1
  37. package/lib/plugins/CustomAttributePlugin.js +82 -0
  38. package/lib/plugins/CustomAttributePlugin.md +35 -0
  39. package/lib/plugins/EFCPlugin.js +9 -9
  40. package/lib/plugins/EFCPlugin.md +6 -6
  41. package/lib/plugins/EFCTemplatePlugin.js +10 -12
  42. package/lib/plugins/I18NInjectIntoIndexPlugin.js +12 -13
  43. package/lib/plugins/I18nSplitPlugin/I18nDebugPlugin.js +2 -3
  44. package/lib/plugins/I18nSplitPlugin/I18nDownlodLogic.js +38 -38
  45. package/lib/plugins/I18nSplitPlugin/I18nFilesEmitter.js +30 -30
  46. package/lib/plugins/I18nSplitPlugin/I18nKeysIdentifer.js +10 -15
  47. package/lib/plugins/I18nSplitPlugin/I18nSplit.md +95 -95
  48. package/lib/plugins/I18nSplitPlugin/README.md +25 -25
  49. package/lib/plugins/I18nSplitPlugin/index.js +57 -57
  50. package/lib/plugins/I18nSplitPlugin/utils/propertiesUtils.js +8 -8
  51. package/lib/plugins/ResourceHintsPlugin.js +17 -17
  52. package/lib/plugins/RtlSplitPlugin/RtlCssPlugin.js +6 -6
  53. package/lib/plugins/RtlSplitPlugin/RtrSplit.md +30 -30
  54. package/lib/plugins/SelectorPlugin.js +36 -53
  55. package/lib/plugins/ServiceWorkerPlugin.js +9 -9
  56. package/lib/plugins/TPHashMappingPlugin.js +4 -4
  57. package/lib/plugins/{MinifyPlugin.js → UglifyCSSPlugin.js} +3 -3
  58. package/lib/plugins/VariableConversionCollector.js +84 -98
  59. package/lib/plugins/composeCommonPlugin.js +30 -0
  60. package/lib/plugins/index.js +7 -7
  61. package/lib/postcss-plugins/ExcludePlugin.js +1 -1
  62. package/lib/postcss-plugins/IncludePlugin.js +0 -1
  63. package/lib/postcss-plugins/RTLSplitPlugin.js +14 -20
  64. package/lib/postcss-plugins/ValueReplacer.js +14 -5
  65. package/lib/postcss-plugins/__test__/test1Input.css +38 -38
  66. package/lib/postcss-plugins/__test__/test1Output.css +38 -38
  67. package/lib/postcss-plugins/hoverActivePlugin.js +3 -9
  68. package/lib/postcss-plugins/variableModificationPlugin/index.js +20 -3
  69. package/lib/postcss-plugins/variableModifier.js +24 -58
  70. package/lib/schemas/index.js +11 -35
  71. package/lib/servers/devBuild.js +13 -11
  72. package/lib/servers/httpsOptions.js +12 -13
  73. package/lib/servers/nowatchserver.js +5 -3
  74. package/lib/servers/requireLocalOrGlobal.js +61 -0
  75. package/lib/servers/server.js +3 -5
  76. package/lib/sh/pre-commit.sh +34 -34
  77. package/lib/sh/reportPublish.sh +45 -45
  78. package/lib/utils/buildstats.html +148 -148
  79. package/lib/utils/cssClassNameGenerate.js +14 -43
  80. package/lib/utils/resultSchema.json +73 -73
  81. package/npm-shrinkwrap.json +14407 -0
  82. package/npm8.md +9 -9
  83. package/package.json +121 -122
  84. package/postpublish.js +8 -8
  85. package/templates/app/.eslintrc.js +140 -140
  86. package/templates/app/README.md +12 -12
  87. package/templates/app/app/index.html +24 -24
  88. package/templates/app/app/properties/ApplicationResources_en_US.properties +1 -1
  89. package/templates/app/app/properties/i18nkeys.json +3 -3
  90. package/templates/app/docs/all.html +69 -69
  91. package/templates/app/mockapi/index.js +18 -18
  92. package/templates/app/package.json +37 -37
  93. package/templates/app/src/actions/SampleActions/index.js +37 -37
  94. package/templates/app/src/actions/index.js +65 -65
  95. package/templates/app/src/appUrls.js +19 -19
  96. package/templates/app/src/components/Alert/Alert.js +134 -134
  97. package/templates/app/src/components/Alert/Alert.module.css +79 -79
  98. package/templates/app/src/components/FreezeLayer/FreezeLayer.css +37 -37
  99. package/templates/app/src/components/FreezeLayer/FreezeLayer.js +84 -84
  100. package/templates/app/src/components/Sample/Sample.module.css +11 -11
  101. package/templates/app/src/components/Sample/SampleList.js +61 -61
  102. package/templates/app/src/components/Slider/Slider.css +41 -41
  103. package/templates/app/src/components/Slider/Slider.js +55 -55
  104. package/templates/app/src/containers/AlertContainer/index.js +15 -15
  105. package/templates/app/src/containers/AppContainer/index.js +96 -96
  106. package/templates/app/src/containers/AppContainer/index.module.css +27 -27
  107. package/templates/app/src/containers/CustomMatch/index.js +65 -65
  108. package/templates/app/src/containers/DevTools/index.js +10 -10
  109. package/templates/app/src/containers/Header/index.js +67 -67
  110. package/templates/app/src/containers/Header/index.module.css +43 -43
  111. package/templates/app/src/containers/Redirect/index.js +63 -63
  112. package/templates/app/src/containers/Redirector/index.js +47 -47
  113. package/templates/app/src/containers/SampleListContainer/ListContainer.js +42 -42
  114. package/templates/app/src/containers/SampleListContainer/ListContainer.module.css +3 -3
  115. package/templates/app/src/historyChange.js +5 -5
  116. package/templates/app/src/index.html +10 -10
  117. package/templates/app/src/index.js +24 -24
  118. package/templates/app/src/middleware/PromiseMiddleware.js +59 -59
  119. package/templates/app/src/reducers/alertData.js +11 -11
  120. package/templates/app/src/reducers/index.js +6 -6
  121. package/templates/app/src/reducers/samples.js +19 -19
  122. package/templates/app/src/store/configureStore.dev.js +51 -51
  123. package/templates/app/src/store/configureStore.js +5 -5
  124. package/templates/app/src/store/configureStore.prod.js +26 -26
  125. package/templates/app/src/util/Common.js +5 -5
  126. package/templates/app/src/util/RequestAPI.js +132 -132
  127. package/templates/docs/all.html +249 -249
  128. package/templates/docs/component.html +178 -178
  129. package/templates/docs/components.html +221 -221
  130. package/templates/docs/css/b.min.css +6 -6
  131. package/templates/docs/css/component.css +42 -42
  132. package/templates/docs/css/componentTest.css +6 -6
  133. package/templates/docs/css/hopscotch.css +585 -585
  134. package/templates/docs/css/style.css +1022 -1022
  135. package/templates/docs/impactReportTemplate.html +154 -154
  136. package/templates/docs/index.html +1501 -1501
  137. package/templates/docs/js/active-line.js +72 -72
  138. package/templates/docs/js/b.min.js +7 -7
  139. package/templates/docs/js/codemirror.js +9680 -9680
  140. package/templates/docs/js/designTokens.js +334 -334
  141. package/templates/docs/js/j.min.js +4 -4
  142. package/templates/docs/js/javascript.js +874 -874
  143. package/templates/docs/js/matchbrackets.js +145 -145
  144. package/lib/loaderUtils/tests/windowsModification.test.js +0 -10
  145. package/lib/loaders/composeLoader.js +0 -175
  146. package/lib/plugins/utils/classHandling.js +0 -20
  147. package/lib/plugins/utils/fileHandling.js +0 -107
  148. package/lib/plugins/utils/tests/fileHandling.test.js +0 -30
  149. package/lib/postcss-plugins/EmptyPlugin.js +0 -8
package/README.md CHANGED
@@ -1,1165 +1,1189 @@
1
- # React CLI
2
-
3
- A CLI tool for build modern web application and libraries
4
-
5
- # Installation
6
-
7
- Below Steps:-
8
-
9
- > `npm i -g @zohodesk/react-cli`
10
-
11
- # Usage
12
-
13
- ## Step 1
14
-
15
- > `mkdir <your-project-folder> && cd mkdir <your-project-folder>`
16
-
17
- ## Step 2
18
-
19
- - create `package.json` file
20
- - add this to your `package.json`
21
-
22
- ```json
23
- {
24
- "scripts": {
25
- "start": "react-cli start",
26
- "build": "react-cli build"
27
- }
28
- }
29
- ```
30
-
31
- ## Step 3
32
-
33
- - create below files
34
- - `src/index.js`
35
- - `src/index.html`
36
-
37
- ## Step 4
38
-
39
- Now to run app
40
-
41
- > `npm run start`
42
-
43
- ---
44
-
45
- # Change Logs
46
-
47
- # 1.0.2
48
-
49
- **Feature Update**
50
- - Selector replace plugin made as a custom postcss-plugin with update to code that was unpublished in package.
51
-
52
- # 1.0.1
53
-
54
- **Issue Fix**
55
- - variable conversion for px and var(--) values in same declaration was not supported, now it is supported.
56
- - package-lock.json removed from `.npmignore`
57
-
58
- **Feature Update**
59
- - exclude added to Selector Plugin
60
- # 1.0.0
61
- ## Major Release
62
- **Changes:**
63
- - File support added for `.webp` for `docs`, `dev` and `prod` mode
64
- - File support added for `.webm` for `docs`, `dev` and `prod` mode
65
-
66
- **Breaking Changes:**
67
-
68
- - We have remove ssl certificate for security reasons.
69
- So default https server won't run.
70
- In order to make it work as before you need to specify two things
71
- 1. install `@zohodesk-private/client_dev_cert`
72
- 2. `react-cli.app.server.httpsCerts` option example `"httpsCerts": "@zohodesk-private/client_dev_cert"`
73
- unless configaration are proper this may break `start` , `docs` , `nowatchstart`. and mock wms `/wmsmockapi` won't work.
74
- So Please be carefull when you update this version or above without proper configaration.
75
-
76
-
77
- # 0.0.1-beta.178
78
-
79
- **Changes:**
80
-
81
- - File support added for `.webp` for `docs`, `dev` and `prod` mode
82
- - File support added for `.webm` for `docs`, `dev` and `prod` mode
83
-
84
- **Breaking Changes:**
85
-
86
- - We have remove ssl certificate for security reasons.
87
- So default https server won't run.
88
- In order to make it work as before you need to specify two things
89
- 1. install `@zohodesk-private/client_dev_cert`
90
- 2. `react-cli.app.server.httpsCerts` option example `"httpsCerts": "@zohodesk-private/client_dev_cert"`
91
- unless configaration are proper this may break `start` , `docs` , `nowatchstart`.
92
- So Please be carefull when you update this version or above without proper configaration.
93
-
94
- # 0.0.1-exp.178.2
95
-
96
- **Changes:**
97
-
98
- - File support added for `.webm` for `docs`, `dev` and `prod` mode
99
-
100
- # 0.0.1-exp.178.1
101
-
102
- **Breaking Changes:**
103
-
104
- - We have remove ssl certificate for security reasons.
105
- So default https server won't run.
106
- In order to make it work as before you need to specify two things
107
- 1. install `@zohodesk-private/client_dev_cert`
108
- 2. `react-cli.app.server.httpsCerts` option example `"httpsCerts": "@zohodesk-private/client_dev_cert"`
109
- unless configaration are proper this may break `start` , `docs` , `nowatchstart`.
110
- So Please be carefull when you update this version or above without proper configaration.
111
-
112
- # 0.0.1-beta.177
113
-
114
- **Changes:**
115
-
116
- - We have added extra new Error option `MULTIPLE_OCCURANCES` support for **convert px to custom variables**.
117
- - In case css --variables are not assigned an error will be thrown and logged in `.cli/logs/unassignedVariables.log`. The unassigned variables can be manually assigned in `variableMapping.json` through two keys :
118
- - `changes` : for the variables that have to be converted, manual values can be added ( eg. "--wms_height": "height" )
119
- - `ignore` : for the variables that do not have to be considered, they can be added as keys with some value in `ignore` key (eg. "--gc_widget_video_bg": "undefined"). These values will be ignored.
120
- - strict mode can be enabled for checking --variables in `cssVariableReplacementOptions.strictMode`
121
- For more information and reference, refer to `[details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/VariableConversion.md)
122
-
123
- - and this version has same as `0.0.1-exp.176.12`, `0.0.1-exp.176.11`
124
-
125
- # 0.0.1-exp.176.12
126
-
127
- **Changes:**
128
-
129
- - Earlier versions of react-cli, we have been putting video files under images folder in build output, now, we have moved the video files under videos folder in build output.
130
-
131
- # 0.0.1-exp.176.11
132
-
133
- **Issue Fix:**
134
-
135
- - When we use `react-cli.app.publicPaths.callback` this option and video files import, in place of publicPath url, **null** was there instead of file type `video` issue fixed.
136
-
137
- # 0.0.1-beta.176
138
-
139
- **Features:**
140
-
141
- - we have added feature to **increase Selector weight** for all css classes in your project during build time.
142
- To enable this feature you have to set `react-cli.app.plugins.selectorWeight` as `true` in **package.json**.
143
- For more [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/SelectorWeight.md)
144
- - Updates to variable replacement are given :
145
- - css variables with -- are now supported due to the webpack plugin `VariableConversionCollector` that is generated for the same.
146
- - `DECIMAL_CHECK`, `DECIMAL_REJECT` are two new errors supported.
147
- - support for text-indent, clip, flex, flex-basis, row-gap, column-gap, gap properties are now given.
148
- For more information and reference, refer to `[details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/VariableConversion.md)
149
-
150
- # 0.0.1-beta.175
151
-
152
- **Issue Fix:-**
153
-
154
- - When we use "hoverActive" @import in css not working issue fixed
155
-
156
- **Features:**
157
-
158
- - `minifiy` option supported for minimize index.html file in during build time. You can use this option as "react-cli.app.htmlTemplate.minify" the options are same as https://github.com/jantimon/html-webpack-plugin#minification
159
-
160
- # 0.0.1-beta.174
161
-
162
- cli has been updated to fix compose issue faced when classname:hover exists and classname does not before compose
163
-
164
- **Issue Fix:-**
165
-
166
- - In react-cli version `0.0.1-beta.173`, when we use `start` command throws error issue fixed
167
- - while using `cssVariableReplacementOptions`, compose issue faced in css files, when classname:hover exists and classname does not exist issue fixed
168
-
169
- **Feature:-**
170
-
171
- - `react-cli.test.classnameFormat` option added to change CssModules (Ex: import style from "./a.module.css" ) className transform template unittest case.
172
- `classnameFormat` default value `[classname]` you can customize it. Example: `[classname]-[hash]`
173
-
174
- **Changes:-**
175
-
176
- - `jsonFile_test_*.json` files deleted after they used.
177
-
178
- # 0.0.1-beta.173
179
-
180
- **Features:**
181
-
182
- - we have added feature to **convert px to custom variables** for all css files in your project during build time.
183
- To enable this feature you have to set `react-cli.app.plugins.cssVariableReplacement` as `true` in **package.json**.
184
-
185
- Conversion for css Variables from Variables to px in Supportapp completed (`variableIgnore.js` && `pxParserPostcss.js` to be referred to), and px to custom variables through the new `variableModificationPlugin`. Error Log generation can also be converted on enabling
186
-
187
- For an more information and reference, refer to `[details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/VariableConversion.md)
188
-
189
- # 0.0.1-beta.172
190
-
191
- We have renamed some options, For Our future features convenience.
192
- We have given fallback support.
193
- Deprecation Warnings:-
194
-
195
- - `react-cli.app.hasRTL` ==> `react-cli.app.plugins.hasRTL`
196
- - `react-cli.app.rtlExclude` ==> `react-cli.app.exclude.rtl`
197
-
198
- - `react-cli.docs.hasRTL` ==> `react-cli.docs.plugins.hasRTL`
199
- - `react-cli.docs.rtlExclude` ==> `react-cli.docs.exclude.rtl`
200
- these options have fallback support.
201
-
202
- # 0.0.1-beta.171
203
-
204
- Features added :
205
-
206
- 1. `react-cli.app.mediaQueryHoverActiveString` and `react-cli.docs.mediaQueryHoverActiveString` templates support added for @media(hover: hover) and @media(hover: none) queries. We can modify these to modify respective queries.
207
-
208
- # 0.0.1-beta.170
209
-
210
- this version has same as `0.0.1-exp.169.1`, `0.0.1-exp.169.2`
211
-
212
- # 0.0.1-exp.169.2
213
-
214
- 1. flags are converted to one variable 'plugin' and used in getCssLoaders.js.
215
- 2. files for exclusion can be put in seperate arrays in 'exclude' present in package.json.
216
- 3. `combinerMq` has been converted to `combinerMediaQuery` for clarity.
217
-
218
- # 0.0.1-exp.169.1
219
-
220
- File support added for mp4 for docs dev and prod mode
221
-
222
- # 0.0.1-beta.169
223
-
224
- this version has same as `0.0.1-exp.168.1`, `0.0.1-exp.168.2`, `0.0.1-exp.168.3` and below and some minor changes
225
-
226
- 1. `--efc_version=v3` flag added for change efc version via commmand line option
227
- 2. `hoverActive` flag added for conversion from usual hover to @media(hover:hover) and @media(hover:none) queries for hover support in mobile.
228
- 3. `combinerMq` flag added for combination of the media queries that might be appended or existing media queries that are duplicates to create one media query with all rules put together.
229
-
230
- # 0.0.1-exp.168.3
231
-
232
- Changes :
233
-
234
- 1. code optimization ( made functions for the hoverActive cases making it more easier to access)
235
- 2. handled `hover:ignore`, `active:ignore`, `hoverActive:ignore` cases for usual queries and media queries
236
-
237
- # 0.0.1-exp.168.2
238
-
239
- Changes :
240
-
241
- 1. hoverActive case handled with postcss `hover:hover` media query and `hover:none` media query is added
242
- 2. flag for hoverActive used to add/remove postcss changes
243
-
244
- # 0.0.1-exp.168.1
245
-
246
- Changes:-
247
-
248
- 1. `cliRootPath` option removed `react-cli.app.cliRootPath` in `package.json`
249
- Due to the reason we updated our logic to find package's executable path.
250
- 2. `--efc_output_file=efc-sdk-[version].js` option added to modify efc output file by terminal
251
- 3. added logic to print error message during command run, Previously when executable not found error messages not printed
252
-
253
- # 0.0.1-beta.168
254
-
255
- Changes:-
256
-
257
- 1. `enableChunkHash` option enabled for dev mode, use it as `react-cli.app.enableChunkHash` in `package.json`
258
- 2. `--enable_efc=true` option added to enable efc by terminal
259
- 3. unwanted pem files removed
260
-
261
- # 0.0.1-exp.167.1
262
-
263
- Features:-
264
-
265
- - In docs we have added `Description` for Component Props- check out it in `PropTypes` tab
266
-
267
- # 0.0.1-beta.167
268
-
269
- SSL certificate update
270
- this version has same as `0.0.1-exp.166.1`, `0.0.1-exp.166.2` and below and some minor changes
271
- Features:-
272
-
273
- - `--shallow_clone` option to `react-cli clone` this option will be usefull for shallow cloning repos in build time we don't need commit messages it will be 2x fast this way
274
- - Example `react-cli clone --clone_type=git --clone_url=https://some.url --shallow_clone`
275
- - `cliRootPath` option added for npm workspace related path problems
276
- - Usage `package.json` , "react-cli" => "cliRootPath" stright key
277
- - `unstableDepsInverse` option added for use app need library first priority over react-cli packages
278
- - Usage `package.json` , "react-cli" => "unstableDepsInverse" stright key
279
-
280
- Issue Fix :-
281
-
282
- - In devmode initial html not recived after second rebuild issue fix.
283
- - typo fix `devBulid` to `devBuild`.
284
- - `disableES5Transpile` option missed in docs now added.
285
- - docs libAlias not work as app for example in app we always take `es` folder to build for treshaking and reasons,
286
- But that option not enabled in docs. now it is enabled.
287
- - In `react-cli devbuild` command options not working properly,
288
- when above command run via terminal not via npm run script options not working
289
- So we send that options to webpack then it works as expected.
290
- this behaviour need to check across os and need to be cross check with other commends as well for now we only fixed this
291
-
292
- # 0.0.1-exp.166.2
293
-
294
- Changes:-
295
-
296
- - `-w` option (watch option) added for `react-cli rtl`
297
- - Example `react-cli rtl ./src ./lib -w`
298
- <!-- need to handle `react-cli rtl` options correctly -->
299
- - disableES5Transpile option libAlias added for docs
300
-
301
- # 0.0.1-exp.166.1
302
-
303
- Changes:-
304
-
305
- - `__testUtils__/globals.js` to jest is not mantatory
306
- - disableES5Transpile option libAlias added
307
-
308
- # 0.0.1-beta.166
309
-
310
- this version has same as `# 0.0.1-exp.164.1`, `# 0.0.1-exp.164.2` and below and some minor changes
311
-
312
- - google chorme cors preflight issue fix
313
-
314
- # 0.0.1-beta.165
315
-
316
- - `valueReplacer` option added in shemas for font name replace related issue handling, for more [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/ValueReplacer.md)
317
- - `valuereplacer` option added in react-cli it takes three
318
- 1. sourceDir
319
- 2. distDir
320
- 3. `copyAll` is boolean flag which is for copy all other file or not. "true" means copy all files.
321
-
322
- # 0.0.1-exp.164.1
323
-
324
- - extra features in custom chunks reffer [this](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/CustomChunks.md)
325
-
326
- # 0.0.1-exp.164.2
327
-
328
- - `devbuild` option add to react cli
329
-
330
- # 0.0.1-beta.164
331
-
332
- - typo fix
333
-
334
- # 0.0.1-beta.163
335
-
336
- - **Issue Fix:-**
337
-
338
- - if git not installed react-cli throws error for any command due to `getCurrentBranch` in `shemas/index.js` now fixed
339
- - jest test cases not runnig issue fix (typo moduleNameMapper => libAlias)
340
-
341
- - **Features :-**
342
- - feature added for pre process logic
343
- - tailer made requirement for preprocess, just write node js file
344
- - mention file in `"react-cli" => "preprocess" => "runner"`
345
- - option parse logic added for react-cli (exprimental)
346
- - `--stop_nodemon` usally preprocessor run in `nodemon` so to stop it this option is provided
347
-
348
- # 0.0.1-exp.162.2
349
-
350
- - **Optimazation:-**
351
- - double time minimize optimazation
352
-
353
- # 0.0.1-beta.162.1
354
-
355
- - **Issue Fix:-**
356
- - if git not installed react-cli throws error for any command due to `getCurrentBranch` in `shemas/index.js` now fixed
357
-
358
- # 0.0.1-beta.161.1
359
-
360
- - **Features :-**
361
- - feature added for pre process logic
362
- - tailer made requirement for preprocess, just write node js file
363
- - mention file in `"react-cli" => "preprocess" => "runner"`
364
- - option parse logic added for react-cli (exprimental)
365
-
366
- # 0.0.1-beta.162
367
-
368
- - @zohodesk/datetimejs package updated to beta.8
369
-
370
- # 0.0.1-beta.161
371
-
372
- - **Features :-**
373
- - feature added for efc `templateFilePath` in `package.json` option palce is `"react-cli" => "efc" => "templateFilePath"`
374
- - `(('publicPath'))` this placeholder will be replace as publicPath string `publicPath`
375
- - `(('getInitalAssets'))` this placeholder will be replace as function `getInitalAssets`
376
- - `getInitalAssets` this function has two arguments `assetsType`, `lang`
377
- - `assetsType` are `js`, `css`, `i18n`
378
- - `lang` this argument only works when `i18n` is `assetsType`
379
- - feature added for efc `cdnStatement`
380
- - **Issue fixes:-**
381
- - css classname hash change issue fix
382
- - debug package conflit issue fix in nock in (react-cli test)
383
- - manifest.json css file name correction issue for rtl and ltr
384
-
385
- # 0.0.1-exp.161.2
386
-
387
- - Features
388
- - feature added for efc `templateFilePath` in `package.json` option palce is `"react-cli" => "efc" `
389
- - `(('publicPath'))` this placeholder will be replace as publicPath string `publicPath`
390
- - `(('getInitalAssets'))` this placeholder will be replace as function `getInitalAssets`
391
- - `getInitalAssets` this function has two arguments `assetsType`, `lang`
392
- - `assetsType` are `js`, `css`, `i18n`
393
- - `lang` this argument only works when `i18n` is `assetsType`
394
-
395
- # 0.0.1-exp.161.1
396
-
397
- - Features
398
- - feature added for efc `cdnStatement`
399
- - Issue fixes:-
400
- - css classname hash change issue fix
401
- - debug package conflit issue fix in nock in (react-cli test)
402
- - manifest.json css file name correction issue for rtl and ltr
403
-
404
- # 0.0.1-beta.160
405
-
406
- - @zohodesk/normalizer package version updated to 1.0.2
407
-
408
- # 0.0.1-beta.159
409
-
410
- - @zohodesk/datetimejs package updated to beta.7
411
-
412
- # 0.0.1-exp.159
413
-
414
- - issue fix:-
415
- - when rtl ltr css split enable manifest json css filename keys comes with hash .
416
-
417
- # 0.0.1-beta.158
418
-
419
- - Removing source map files from service worker caching.
420
-
421
- # 0.0.1-beta.157
422
-
423
- - Experimental version issue fix(Dummy version removed)
424
-
425
- # 0.0.1-beta.156
426
-
427
- - ReportPublish issue fix
428
-
429
- # 0.0.1-beta.155
430
-
431
- - get impacted library source files option added
432
-
433
- # 0.0.1-beta.154
434
-
435
- - mockPrefix option for mock url prefix change
436
- - Issue fix:-
437
- - un wanted {{--js-smap}} in inital html without enable smap in build
438
-
439
- # 0.0.1-beta.153
440
-
441
- - Vendor include array added
442
- - If you need to include any thrid party js in vendor we can use this array
443
-
444
- # 0.0.1-beta.152
445
-
446
- impact servise related changes:-
447
-
448
- - nowatchstart option added. will be used like `react-cli nowatchstart <...options>` this will be used for src file changes no need to reflect (or no need to rebulid on file changes)
449
- - cssselector_zip option added. will be used like `--cssselector-zip=selectormapping.zip`
450
- only work in two ways
451
- 1. `react-cli start --disable-watch --cssselector-zip=selectormapping.zip` app start command with `--disable-watch` flag and your usaul options
452
- 2. `react-cli nowatchstart --cssselector-zip=selectormapping.zip` app start command's usaul options
453
- #### Urls are:-
454
- Below express path are added, For download zip files and
455
- - `/zips/${zipname}.zip` for css selector maps zip file (contains css_map filies and original css files)
456
- - `/zips/build.zip` build zip file (contains bundled all files)
457
-
458
- # 0.0.1-beta.151
459
-
460
- - issue fix:- Docs config 'html-loader' options updated.
461
- - sslcertUpdate feature added
462
- - disable_watch option added. will be used like `--disable-watch` or `--disable-watch=true`
463
- - dev_cache option added. will be used like `--dev_cache` or `--dev_cache=true`
464
-
465
- # 0.0.1-beta.150
466
-
467
- - issue Fix:- in npm 7 option not working issue fixed
468
- - ssl certificate update
469
-
470
- # 0.0.1-beta.149
471
-
472
- - css, ltr and rtl chunk split based on [dir=ltr]
473
- - to enable ltr and rtl chunk spilt you have to add config in you package.json
474
- <!-- - [docs for rtl-ltr](src\plugins\RtlSplitPlugin\RtrSplit.md) -->
475
- - we have added some options in EFCPlugin for rtlsplit related features.
476
- - we have expoed require function for only css impact related changes with flag
477
-
478
- # 0.0.1-beta.148
479
-
480
- - source map enabled in prod mode for debug client
481
- - crossorigin attribute added for scripts
482
-
483
- # 0.0.1-beta.147
484
-
485
- - reportpublish issue fix
486
-
487
- # 0.0.1-beta.146
488
-
489
- - while docs run LibraryImactPlugin not constructor issue fix
490
- - css loader added for css impact related changes
491
-
492
- # 0.0.1 -beta.145
493
-
494
- - LibraryImpactPlugin added
495
- - check impacted source components name if any version update happened with master
496
-
497
- # 0.0.1-beta.144
498
-
499
- - prod build bug fix
500
-
501
- # 0.0.1-beta.143
502
-
503
- - `babel-plugin-transform-remove-console` added for remove console properties except error and log
504
- - `console_exculde` script added if suppose enable same in dev mode
505
- - service worker plugin changes
506
- - library impact changes
507
-
508
- # 0.0.1-beta.142
509
-
510
- - `eslint-plugin-react-hooks` added to eslint support.
511
- - Updated exact versions to eslint plugins installation script.
512
-
513
- # 0.0.1-beta.141
514
-
515
- - report publish sh fixes
516
- - duplicate removal in impacted componentTest
517
-
518
- # 0.0.1-beta.140
519
-
520
- - copy-webpack-plugin bug fix
521
-
522
- # 0.0.1-beta.139
523
-
524
- - copy-webpack-plugin downgrade
525
- - babel runtime plugin issue fix in prod config
526
- - few enhancements
527
-
528
- # 0.0.1-beta.138
529
-
530
- - sstest library version updated
531
- - unitcase calcluation issues fixed
532
-
533
- # 0.0.1-beta.137
534
-
535
- - Third party css files loading issue fix
536
-
537
- # 0.0.1-beta.136
538
-
539
- - eslint support
540
-
541
- # 0.0.1-beta.135
542
-
543
- - windows publish issue
544
-
545
- # 0.0.1-beta.134
546
-
547
- - Build Issue Fix
548
-
549
- # 0.0.1-beta.133
550
-
551
- - CDN Changes in I18nSplitPlugin
552
- - nonce support added for i18n chunks
553
-
554
- # 0.0.1-beta.132
555
-
556
- - CDN Changes in EFC Plugin
557
-
558
- # 0.0.1-beta.131
559
-
560
- - Added Cdn Change Plugin
561
-
562
- # 0.0.1-beta.130
563
-
564
- - Babel 7 migration, ES6 build generation config and polyfill removal
565
- - CopyPlugin issue fix
566
-
567
- #0.0.1-beta.129
568
-
569
- - Upgraded 'moment' to version 2.29.1 and 'moment-timezone' to version 0.5.32
570
-
571
- # 0.0.1-beta.128
572
-
573
- - Added support to generate hash for the third party files(TPHashMappingPlugin)
574
-
575
- # 0.0.1-beta.127
576
-
577
- - service worker plugin - to recursively add multiple directories (recursive=true)
578
-
579
- # 0.0.1-beta.126
580
-
581
- - issue fix in i18n split plugin
582
-
583
- # expremental versions
584
-
585
- - 0.0.1-beta.121
586
- - 0.0.1-beta.122
587
- - 0.0.1-beta.123
588
- - 0.0.1-beta.124
589
- - 0.0.1-beta.125
590
-
591
- # 0.0.1-beta.120
592
-
593
- - issue fix in third party file copying
594
-
595
- # expremental versions
596
-
597
- - 0.0.1-beta.119
598
- - 0.0.1-beta.118
599
-
600
- #0.0.1-beta.117
601
-
602
- - createSDkFile otion added for efc
603
- - small fix in i18n split plugin
604
-
605
- #0.0.1-beta.116
606
-
607
- - thirdparty package move to build (tpFolder in app config)
608
-
609
- #0.0.1-beta.115
610
-
611
- - Added Web worker support
612
-
613
- #0.0.1-beta.114
614
-
615
- - i18n split based on chunk
616
- - to enable i18n chunk spilt you have to add config in you package.json
617
-
618
- #0.0.1-beta.113
619
-
620
- - Upgraded 'fz-i18n' package version to 1.2.0-beta.15
621
-
622
- #0.0.1-beta.112
623
-
624
- - Duplicate Prefetch Request Issue Fixed (Resource Hint Plugin)
625
- - Service worker plugin changes
626
-
627
- #0.0.1-beta.111
628
-
629
- - hasRTL, selectorReplace Condition Separated
630
-
631
- #0.0.1-beta.110
632
-
633
- - SplitChunk Order Issue Fixed
634
- - https url issue Fixed
635
-
636
- #0.0.1-beta.109
637
-
638
- - @zohodesk/screenshottest package version update (19) and log for the gitlab private api to check the response
639
-
640
- #0.0.1-beta.108
641
-
642
- - @zohodesk/screenshottest package version update (18)
643
-
644
- #0.0.1-beta.107
645
-
646
- - changed component without docs finder added
647
-
648
- #0.0.1-beta.106
649
-
650
- - custom chunk support changes
651
- - css absolute url fix
652
-
653
- #0.0.1-beta.105
654
-
655
- - @zohodesk/screenshottest package version update (17) with the issue fix
656
-
657
- #0.0.1-beta.104
658
-
659
- - ModuleStatsPlugin inject false option added to solve the webpack build twice issue
660
-
661
- #0.0.1-beta.103
662
-
663
- - @zohodesk/screenshottest package version update (16) with the issue fix
664
-
665
- #0.0.1-beta.102
666
-
667
- - @zohodesk/screenshottest package version update (15) with the issue fix
668
-
669
- #0.0.1-beta.101
670
-
671
- - 100 changes readme missing
672
- - bundle analyser changes
673
-
674
- #0.0.1-beta.100
675
-
676
- - @zohodesk/screenshottest package version update with the issue fix
677
- - font public path replace issue for url fonts - fixed
678
-
679
- #0.0.1-beta.99
680
-
681
- - can't publish already published
682
-
683
- #0.0.1-beta.98
684
-
685
- - defer break public path adding regex - fixed
686
-
687
- #0.0.1-beta.97
688
-
689
- - added 'babel-plugin-transform-react-remove-prop-types' in package.json (missed earlier)
690
-
691
- #0.0.1-beta.96
692
-
693
- - html plugin inject option expose and version udpate 4.2.0
694
- - src html change i18n removal issue fix
695
- - script loading defer added
696
- - added babel plugin to remove proptypes
697
-
698
- #0.0.1-beta.95
699
-
700
- - schemas/index.js - issue fix
701
-
702
- #0.0.1-beta.94
703
-
704
- - screenshot test library version update
705
- - ssserver issue fix
706
-
707
- #0.0.1-beta.93
708
-
709
- - selector replacer for Help Center usecase
710
- - eslint performance plugin
711
- - css classname hash selector support for docs
712
- - service worker plugin
713
-
714
- #0.0.1-beta.92
715
-
716
- - docs ui fixes and edit mode
717
- - @zohodesk/datetimejs version update
718
-
719
- #0.0.1-beta.91
720
-
721
- - repo clone command pull issue fix
722
- - docs css change
723
- - SSTest package version downgrade
724
-
725
- #0.0.1-beta.90
726
-
727
- - added support for copying Timezone data from @zohodesk/datetimejs
728
- - docstool changes
729
-
730
- #0.0.1-beta.89
731
-
732
- - CSP nonce support for initial assets `{{--CSP-nonce}}`
733
- - introduced new mode to disable react warns in dev mode (dev-no-warn)
734
- - docs ui fix
735
-
736
- #0.0.1-beta.88
737
-
738
- - Impact run and Master seperate during SSTEST
739
- - docs changes
740
- - filenames and packages addedd in cssHashSelectors option
741
-
742
- #0.0.1-beta.87
743
-
744
- - run screenshot test for impacted components
745
- - seperate master from the CI flow with the HBase storage
746
- - docs changes
747
- - coverage percentage check disabled
748
-
749
- #0.0.1-beta.86
750
-
751
- - exclude without js changes for unittest
752
- - express server history fallback refactored
753
-
754
- #0.0.1-beta.85
755
-
756
- - i18n placeholder removal issue fixed
757
- - css classname prefix moved to option. default is zd
758
-
759
- #0.0.1-beta.84
760
-
761
- - object spread operator support
762
-
763
- #0.0.1-beta.83
764
-
765
- - eslint report type by flag
766
- - unitcase file exclude array issue fix
767
- - sstesthack issue fix
768
-
769
- #0.0.1-beta.82
770
-
771
- - eslint impact run enable - completed
772
- - devplugin cleanupstats filename import issue fix
773
- - coveragecollector return format change
774
-
775
- #0.0.1-beta.81
776
-
777
- - unit test case syntax error issue fix - removed unwanted dependency `css-modules-require-hook`
778
-
779
- #0.0.1-beta.80
780
-
781
- - unitcase filecoverage testpath issue fix
782
- - shadowdom support
783
- - postpublish and sstest hack script
784
- - dependencies impact list
785
- - can change runtime chunk's character
786
- - font preload added
787
-
788
- #0.0.1-beta.79
789
-
790
- - unitcase filecoverage added and also codecoverage with dependencies spec added
791
-
792
- #0.0.1-beta.78
793
-
794
- - components and dot library's stats added with module stats
795
- - Mini css extract plugin's unwanted logs removed
796
- - runtime chunk added in dev mode
797
- - nodemon windows issue fix
798
- - testinfo failure missing while can't get coverage
799
- - performance eslint plugin added and normalizer moved under zohodesk
800
-
801
- #0.0.1-beta.77
802
-
803
- - @zohodesk/eslint-plugin-zsecurity version update
804
- - git pull origin with branch name while screenshot test after the branch switch
805
-
806
- #0.0.1-beta.76
807
-
808
- - breaking issue fix from last version ( prod config issue )
809
-
810
- #0.0.1-beta.75
811
-
812
- - sstest - reinstall dependencies after switch branch
813
-
814
- #0.0.1-beta.74
815
-
816
- - docs provider support (Component.\_provider)
817
-
818
- #0.0.1-beta.73
819
-
820
- #0.0.1-beta.72
821
-
822
- - run eslint security rules option enable
823
- - add the reportURL with the result.json file
824
- - mock server post api issue fix
825
-
826
- #0.0.1-beta.71
827
-
828
- - publicpath hard coding while flatten build issue fix
829
-
830
- #0.0.1-beta.70
831
-
832
- - css class compression flag enable
833
- - docs src URL update
834
-
835
- #0.0.1-beta.69
836
-
837
- - babel-plugin-transform-dynamic-import library with webpack.docs.config.js for docs service
838
- - babel-lodash plugin fix with getdevplugin
839
- - cursor blink issue fix for sstest
840
- - in result.json unitcase coverage verified boolean added
841
-
842
- #0.0.1-beta.68
843
-
844
- - rtl ignore [dir] changes
845
-
846
- #0.0.1-beta.67
847
-
848
- - babel-plugin-transform-dynamic-import library added with package.json
849
- - schema change with hostname cli option s
850
-
851
- #0.0.1-beta.66
852
-
853
- - mockport hard coded issue fix
854
-
855
- #0.0.1-beta.65
856
-
857
- - window rtl build issue fix
858
- - separate rtl build support added like react-cli rtl ./src ./lib
859
-
860
- #0.0.1-beta.64
861
-
862
- - postcss-rtl issue temp fix so move to @zohodesk/postcss-rtl
863
-
864
- #0.0.1-beta.63
865
-
866
- - LTR & RTL support added
867
-
868
- #0.0.1-beta.62
869
-
870
- - componentTest.css entry in components.html
871
-
872
- #0.0.1-beta.60
873
-
874
- - SSTMiddleware hook added for ssserver
875
- - remove some unwanted class in components.css
876
- - componentTest.css added with common animation break css rules
877
-
878
- #0.0.1-beta.59
879
-
880
- - vendor files exclude from app
881
- - since the chunk hash issue, moduleIds configured as named
882
-
883
- #0.0.1-beta.58
884
-
885
- - Push result json with the report zip
886
- - screenshot-test library Version update
887
-
888
- #0.0.1-beta.57
889
-
890
- - vendor chunk split issue fix
891
-
892
- #0.0.1-beta.56
893
-
894
- - css ordering issue fix
895
-
896
- #0.0.1-beta.55
897
-
898
- - prod build performance changes
899
- - css duplication issue fix
900
- - root chunk splitting logic change
901
-
902
- #0.0.1-beta.54
903
-
904
- - increased css hash size 5 to 10
905
-
906
- #0.0.1-beta.53
907
-
908
- - generate json file for all the test results during test run
909
- - sstest version update
910
- - some issue fixes
911
-
912
- #0.0.1-beta.52
913
-
914
- - template src folder missed issue fix because of npmignore all src folder
915
-
916
- #0.0.1-beta.51
917
-
918
- - template app updated with redux and router by kumaresan(thala)
919
-
920
- #0.0.1-beta.50
921
-
922
- - window machine css unique issue fix
923
-
924
- #0.0.1-beta.49
925
-
926
- - dev css unique issue fix
927
-
928
- #0.0.1-beta.48
929
-
930
- - telephony support css unique changes
931
-
932
- #0.0.1-beta.47
933
-
934
- - git pull during the branch switch in ssserver
935
- - common util file for pull and switch the branches for both git and hg
936
-
937
- #0.0.1-beta.46
938
-
939
- - ogg file support and tmpl file support
940
-
941
- #0.0.1-beta.45
942
-
943
- - checkout branch with force during sstest
944
-
945
- #0.0.1-beta.44
946
-
947
- - sstest master trigger issue fix
948
-
949
- #0.0.1-beta.43
950
-
951
- - get component object from docs server by http protocol during sstest
952
- - reach docs server by the IP address of the host.
953
- - get the current branch name by args
954
-
955
- #0.0.1-beta.42
956
-
957
- - className ssTest added and screenshot test version update
958
-
959
- #0.0.1-beta.41
960
-
961
- - i18n replace issue fix
962
-
963
- - some css changes related to above
964
- - screenshottest version update
965
-
966
- #0.0.1-beta.40
967
-
968
- - SSTMiddleware added to get hook from webpack build process to start sstest
969
- - run unit test for commited files except the spec file name from name list
970
- - publicpath added for i18n js files
971
-
972
- #0.0.1-beta.39
973
-
974
- - prod build check issue fix
975
-
976
- #0.0.1-beta.38
977
-
978
- - all unitcase runs only with master option removed
979
- - prod mode in dev setup flag issue fix
980
-
981
- #0.0.1-beta.37
982
-
983
- - removed hash for index.html and add publicpath when run prod mode in dev machine
984
- - screenshot version updated
985
- - docs build log issue fix
986
-
987
- #0.0.1-beta.36
988
-
989
- - reportpublish sh file report generation even if any breakages in test scripts
990
-
991
- #0.0.1-beta.35
992
-
993
- - full run of spec fils only for master option added
994
- - reportpublish sh for screenshot test report template issue fix
995
-
996
- #0.0.1-beta.34
997
-
998
- - monitor mockserver changes without affecting static server
999
-
1000
- #0.0.1-beta.33
1001
-
1002
- - mail sent issue - fix
1003
-
1004
- #0.0.1-beta.32
1005
-
1006
- - ssl cert update
1007
- - webpack-bundle-analyzer version update (because of npm audit fix)
1008
-
1009
- #0.0.1-beta.31
1010
-
1011
- - reportpublicpath plugin rename issue fix
1012
-
1013
- #0.0.1-beta.30
1014
-
1015
- - report generate plugin rename
1016
- - schema changes for sstest (sstest_remotebranch => sstest_referbranch)
1017
- - reportpublish sh update
1018
-
1019
- #0.0.1-beta.29
1020
-
1021
- - screenshot version updated
1022
- - unit test case commit coverage issue fix
1023
-
1024
- #0.0.1-beta.28
1025
-
1026
- - Unitcase coverage for changed files issue fix
1027
-
1028
- #0.0.1-beta.27
1029
-
1030
- - prod build size and hash tracking report added
1031
-
1032
- #0.0.1-beta.26
1033
-
1034
- - inlined assets and css assets publicpath collide issue fix
1035
-
1036
- #0.0.1-beta.25
1037
-
1038
- - inline image public path issue fix
1039
- - docs css change for sstest
1040
-
1041
- #0.0.1-beta.24
1042
-
1043
- - removed source map generation by default
1044
-
1045
- #0.0.1-beta.23
1046
-
1047
- - windows path issue in i18I18NInjectIntoIndexPlugin plugin
1048
-
1049
- #0.0.1-beta.22
1050
-
1051
- - unusedfilesplugin issue fixed and print valid info
1052
-
1053
- #0.0.1-beta.21
1054
-
1055
- - production build hash details exported in index html
1056
-
1057
- #0.0.1-beta.20
1058
-
1059
- - list the name of un documented component file name
1060
-
1061
- #0.0.1-beta.19
1062
-
1063
- - publicpath callback plugin added
1064
-
1065
- #0.0.1-beta.18
1066
-
1067
- - production build issue fix
1068
-
1069
- #0.0.1-beta.17
1070
-
1071
- - redux version downgraded
1072
-
1073
- #0.0.1-beta.16
1074
-
1075
- - Babel env and react issue fix
1076
-
1077
- #0.0.1-beta.15
1078
-
1079
- - Few issue fixes
1080
- - Webpack Manifest Plugin revamped
1081
- - @zohodesk/screenshot-test package added
1082
-
1083
- #0.0.1-beta.14
1084
-
1085
- - Removed minify option in css-loader config
1086
- - Removed optimize-css-assets-webpack-plugin
1087
- - Added UglifyCSS webpack plugin
1088
- - Packages version up to dated expect babel-loader
1089
- - Docs umd build issue fixed
1090
- - CSS public path in all configs
1091
-
1092
- #0.0.1-beta.13
1093
-
1094
- - Breaking issues fix
1095
- - Add eslint config file in project root folder
1096
- - Removed hot module and SSR concepts
1097
- - Public Path change plugin revamp
1098
- - Replaced style-loader with MiniCssExtractPlugin for overall
1099
-
1100
- #0.0.1-beta.12
1101
-
1102
- - ResourceHints Plugin added
1103
- - able to set public paths for various types of assets
1104
- - provided few cli options for existing options
1105
- - change ext of files while copy
1106
- - cache directory issue fix in dev mode
1107
- - script instrument loader added
1108
- - eslint windows machine issue fix
1109
-
1110
- #0.0.1-beta.11
1111
-
1112
- - css module extension changed to .modules.css from .mcss
1113
-
1114
- #0.0.1-beta.10
1115
-
1116
- - css module related changes
1117
- - unit test case breaking issue fix
1118
-
1119
- #0.0.1-beta.9
1120
-
1121
- - dynamic import support
1122
- - unit test case issue fix
1123
-
1124
- #0.0.1-beta.8
1125
-
1126
- - major issue fixes - previous version issues
1127
- - eslint new rules added
1128
- - reverted babel exclude option
1129
-
1130
- #0.0.1-beta.7
1131
-
1132
- - optionally attributes removal - prod mode
1133
- - pre-commit issue fixed
1134
- - eslint fix option added
1135
- - used exclude instead of include in babel loader
1136
- - option lookup issue fixed
1137
-
1138
- #0.0.1-beta.6
1139
-
1140
- - complext proptypes support for docs
1141
-
1142
- #0.0.1-beta.5
1143
-
1144
- - docs slowness issue fix
1145
- - jest update issue fix
1146
-
1147
- #0.0.1-beta.4
1148
-
1149
- - css chunk related changes
1150
- - manifest json related changes
1151
- - css bundle issue fixed
1152
-
1153
- #0.0.1-beta.3
1154
-
1155
- - slowness issue fixed
1156
- - efc build issue fixed
1157
-
1158
- 0.0.1-beta.2 changes
1159
-
1160
- - docs changes
1161
- - precommit hook issue fix
1162
- - compression support
1163
- - prod string error fix
1164
- - efc build support
1165
- - single style tag support
1
+ # React CLI
2
+
3
+ A CLI tool for build modern web application and libraries
4
+
5
+ # Installation
6
+
7
+ Below Steps:-
8
+
9
+ > `npm i -g @zohodesk/react-cli`
10
+
11
+ # Usage
12
+
13
+ ## Step 1
14
+
15
+ > `mkdir <your-project-folder> && cd mkdir <your-project-folder>`
16
+
17
+ ## Step 2
18
+
19
+ - create `package.json` file
20
+ - add this to your `package.json`
21
+
22
+ ```json
23
+ {
24
+ "scripts": {
25
+ "start": "react-cli start",
26
+ "build": "react-cli build"
27
+ }
28
+ }
29
+ ```
30
+
31
+ ## Step 3
32
+
33
+ - create below files
34
+ - `src/index.js`
35
+ - `src/index.html`
36
+
37
+ ## Step 4
38
+
39
+ Now to run app
40
+
41
+ > `npm run start`
42
+
43
+ ---
44
+
45
+ # Change Logs
46
+
47
+ # 1.0.3-beta.1
48
+
49
+ **Issue Fix**
50
+ - nock api not working issue fixed. This error throwing in @zohodesk/react-cli@1.0.2 version. but working in older versions ( 0.0.1-beta.178 )
51
+
52
+ # 1.0.3
53
+
54
+ **Feature Update**
55
+ - Support for global httpsCerts usage
56
+ - Support for global client_packages_group usage
57
+ - custom attribute for dynamically loading chunks, In this version we merged changes from [0.0.1-beta.167.1](#0.0.1-beta.167.1).
58
+ **Package Update**
59
+ - @zohodesk/client_packages_group@**1.0.1** ==> @zohodesk/client_packages_group@**1.0.2**
60
+
61
+
62
+ # 1.0.2
63
+
64
+ **Feature Update**
65
+ - Selector replace plugin made custom postcss-plugin with update to code that was unpublished in package.
66
+
67
+ # 1.0.1
68
+
69
+ **Issue Fix**
70
+ - variable conversion for px and var(--) values in same declaration was not supported, now it is supported.
71
+ - package-lock.json removed from `.npmignore`
72
+
73
+ **Feature Update**
74
+ - exclude added to Selector Plugin
75
+ # 1.0.0
76
+ ## Major Release
77
+ **Changes:**
78
+ - File support added for `.webp` for `docs`, `dev` and `prod` mode
79
+ - File support added for `.webm` for `docs`, `dev` and `prod` mode
80
+
81
+ **Breaking Changes:**
82
+
83
+ - We have remove ssl certificate for security reasons.
84
+ So default https server won't run.
85
+ In order to make it work as before you need to specify two things
86
+ 1. install `@zohodesk-private/client_dev_cert`
87
+ 2. `react-cli.app.server.httpsCerts` option example `"httpsCerts": "@zohodesk-private/client_dev_cert"`
88
+ unless configaration are proper this may break `start` , `docs` , `nowatchstart`. and mock wms `/wmsmockapi` won't work.
89
+ So Please be carefull when you update this version or above without proper configaration.
90
+
91
+
92
+ # 0.0.1-beta.178
93
+
94
+ **Changes:**
95
+
96
+ - File support added for `.webp` for `docs`, `dev` and `prod` mode
97
+ - File support added for `.webm` for `docs`, `dev` and `prod` mode
98
+
99
+ **Breaking Changes:**
100
+
101
+ - We have remove ssl certificate for security reasons.
102
+ So default https server won't run.
103
+ In order to make it work as before you need to specify two things
104
+ 1. install `@zohodesk-private/client_dev_cert`
105
+ 2. `react-cli.app.server.httpsCerts` option example `"httpsCerts": "@zohodesk-private/client_dev_cert"`
106
+ unless configaration are proper this may break `start` , `docs` , `nowatchstart`.
107
+ So Please be carefull when you update this version or above without proper configaration.
108
+
109
+ # 0.0.1-exp.178.2
110
+
111
+ **Changes:**
112
+
113
+ - File support added for `.webm` for `docs`, `dev` and `prod` mode
114
+
115
+ # 0.0.1-exp.178.1
116
+
117
+ **Breaking Changes:**
118
+
119
+ - We have remove ssl certificate for security reasons.
120
+ So default https server won't run.
121
+ In order to make it work as before you need to specify two things
122
+ 1. install `@zohodesk-private/client_dev_cert`
123
+ 2. `react-cli.app.server.httpsCerts` option example `"httpsCerts": "@zohodesk-private/client_dev_cert"`
124
+ unless configaration are proper this may break `start` , `docs` , `nowatchstart`.
125
+ So Please be carefull when you update this version or above without proper configaration.
126
+
127
+ # 0.0.1-beta.177
128
+
129
+ **Changes:**
130
+
131
+ - We have added extra new Error option `MULTIPLE_OCCURANCES` support for **convert px to custom variables**.
132
+ - In case css --variables are not assigned an error will be thrown and logged in `.cli/logs/unassignedVariables.log`. The unassigned variables can be manually assigned in `variableMapping.json` through two keys :
133
+ - `changes` : for the variables that have to be converted, manual values can be added ( eg. "--wms_height": "height" )
134
+ - `ignore` : for the variables that do not have to be considered, they can be added as keys with some value in `ignore` key (eg. "--gc_widget_video_bg": "undefined"). These values will be ignored.
135
+ - strict mode can be enabled for checking --variables in `cssVariableReplacementOptions.strictMode`
136
+ For more information and reference, refer to `[details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/VariableConversion.md)
137
+
138
+ - and this version has same as `0.0.1-exp.176.12`, `0.0.1-exp.176.11`
139
+
140
+ # 0.0.1-exp.176.12
141
+
142
+ **Changes:**
143
+
144
+ - Earlier versions of react-cli, we have been putting video files under images folder in build output, now, we have moved the video files under videos folder in build output.
145
+
146
+ # 0.0.1-exp.176.11
147
+
148
+ **Issue Fix:**
149
+
150
+ - When we use `react-cli.app.publicPaths.callback` this option and video files import, in place of publicPath url, **null** was there instead of file type `video` issue fixed.
151
+
152
+ # 0.0.1-beta.176
153
+
154
+ **Features:**
155
+
156
+ - we have added feature to **increase Selector weight** for all css classes in your project during build time.
157
+ To enable this feature you have to set `react-cli.app.plugins.selectorWeight` as `true` in **package.json**.
158
+ For more [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/SelectorWeight.md)
159
+ - Updates to variable replacement are given :
160
+ - css variables with -- are now supported due to the webpack plugin `VariableConversionCollector` that is generated for the same.
161
+ - `DECIMAL_CHECK`, `DECIMAL_REJECT` are two new errors supported.
162
+ - support for text-indent, clip, flex, flex-basis, row-gap, column-gap, gap properties are now given.
163
+ For more information and reference, refer to `[details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/VariableConversion.md)
164
+
165
+ # 0.0.1-beta.175
166
+
167
+ **Issue Fix:-**
168
+
169
+ - When we use "hoverActive" @import in css not working issue fixed
170
+
171
+ **Features:**
172
+
173
+ - `minifiy` option supported for minimize index.html file in during build time. You can use this option as "react-cli.app.htmlTemplate.minify" the options are same as https://github.com/jantimon/html-webpack-plugin#minification
174
+
175
+ # 0.0.1-beta.174
176
+
177
+ cli has been updated to fix compose issue faced when classname:hover exists and classname does not before compose
178
+
179
+ **Issue Fix:-**
180
+
181
+ - In react-cli version `0.0.1-beta.173`, when we use `start` command throws error issue fixed
182
+ - while using `cssVariableReplacementOptions`, compose issue faced in css files, when classname:hover exists and classname does not exist issue fixed
183
+
184
+ **Feature:-**
185
+
186
+ - `react-cli.test.classnameFormat` option added to change CssModules (Ex: import style from "./a.module.css" ) className transform template unittest case.
187
+ `classnameFormat` default value `[classname]` you can customize it. Example: `[classname]-[hash]`
188
+
189
+ **Changes:-**
190
+
191
+ - `jsonFile_test_*.json` files deleted after they used.
192
+
193
+ # 0.0.1-beta.173
194
+
195
+ **Features:**
196
+
197
+ - we have added feature to **convert px to custom variables** for all css files in your project during build time.
198
+ To enable this feature you have to set `react-cli.app.plugins.cssVariableReplacement` as `true` in **package.json**.
199
+
200
+ Conversion for css Variables from Variables to px in Supportapp completed (`variableIgnore.js` && `pxParserPostcss.js` to be referred to), and px to custom variables through the new `variableModificationPlugin`. Error Log generation can also be converted on enabling
201
+
202
+ For an more information and reference, refer to `[details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/VariableConversion.md)
203
+
204
+ # 0.0.1-beta.172
205
+
206
+ We have renamed some options, For Our future features convenience.
207
+ We have given fallback support.
208
+ Deprecation Warnings:-
209
+
210
+ - `react-cli.app.hasRTL` ==> `react-cli.app.plugins.hasRTL`
211
+ - `react-cli.app.rtlExclude` ==> `react-cli.app.exclude.rtl`
212
+
213
+ - `react-cli.docs.hasRTL` ==> `react-cli.docs.plugins.hasRTL`
214
+ - `react-cli.docs.rtlExclude` ==> `react-cli.docs.exclude.rtl`
215
+ these options have fallback support.
216
+
217
+ # 0.0.1-beta.171
218
+
219
+ Features added :
220
+
221
+ 1. `react-cli.app.mediaQueryHoverActiveString` and `react-cli.docs.mediaQueryHoverActiveString` templates support added for @media(hover: hover) and @media(hover: none) queries. We can modify these to modify respective queries.
222
+
223
+ # 0.0.1-beta.170
224
+
225
+ this version has same as `0.0.1-exp.169.1`, `0.0.1-exp.169.2`
226
+
227
+ # 0.0.1-exp.169.2
228
+
229
+ 1. flags are converted to one variable 'plugin' and used in getCssLoaders.js.
230
+ 2. files for exclusion can be put in seperate arrays in 'exclude' present in package.json.
231
+ 3. `combinerMq` has been converted to `combinerMediaQuery` for clarity.
232
+
233
+ # 0.0.1-exp.169.1
234
+
235
+ File support added for mp4 for docs dev and prod mode
236
+
237
+ # 0.0.1-beta.169
238
+
239
+ this version has same as `0.0.1-exp.168.1`, `0.0.1-exp.168.2`, `0.0.1-exp.168.3` and below and some minor changes
240
+
241
+ 1. `--efc_version=v3` flag added for change efc version via commmand line option
242
+ 2. `hoverActive` flag added for conversion from usual hover to @media(hover:hover) and @media(hover:none) queries for hover support in mobile.
243
+ 3. `combinerMq` flag added for combination of the media queries that might be appended or existing media queries that are duplicates to create one media query with all rules put together.
244
+
245
+ # 0.0.1-exp.168.3
246
+
247
+ Changes :
248
+
249
+ 1. code optimization ( made functions for the hoverActive cases making it more easier to access)
250
+ 2. handled `hover:ignore`, `active:ignore`, `hoverActive:ignore` cases for usual queries and media queries
251
+
252
+ # 0.0.1-exp.168.2
253
+
254
+ Changes :
255
+
256
+ 1. hoverActive case handled with postcss `hover:hover` media query and `hover:none` media query is added
257
+ 2. flag for hoverActive used to add/remove postcss changes
258
+
259
+ # 0.0.1-exp.168.1
260
+
261
+ Changes:-
262
+
263
+ 1. `cliRootPath` option removed `react-cli.app.cliRootPath` in `package.json`
264
+ Due to the reason we updated our logic to find package's executable path.
265
+ 2. `--efc_output_file=efc-sdk-[version].js` option added to modify efc output file by terminal
266
+ 3. added logic to print error message during command run, Previously when executable not found error messages not printed
267
+
268
+ # 0.0.1-beta.168
269
+
270
+ Changes:-
271
+
272
+ 1. `enableChunkHash` option enabled for dev mode, use it as `react-cli.app.enableChunkHash` in `package.json`
273
+ 2. `--enable_efc=true` option added to enable efc by terminal
274
+ 3. unwanted pem files removed
275
+
276
+ # 0.0.1-exp.167.1
277
+
278
+ Features:-
279
+
280
+ - In docs we have added `Description` for Component Props- check out it in `PropTypes` tab
281
+
282
+ # 0.0.1-beta.167.1
283
+ In this version we merged changes from [0.0.1-betaa.138.1](#0.0.1-betaa.138.1).
284
+ and with [0.0.1-beta.167](#0.0.1-beta.167) version changes.
285
+
286
+ # 0.0.1-beta.167
287
+
288
+ SSL certificate update
289
+ this version has same as `0.0.1-exp.166.1`, `0.0.1-exp.166.2` and below and some minor changes
290
+ Features:-
291
+
292
+ - `--shallow_clone` option to `react-cli clone` this option will be usefull for shallow cloning repos in build time we don't need commit messages it will be 2x fast this way
293
+ - Example `react-cli clone --clone_type=git --clone_url=https://some.url --shallow_clone`
294
+ - `cliRootPath` option added for npm workspace related path problems
295
+ - Usage `package.json` , "react-cli" => "cliRootPath" stright key
296
+ - `unstableDepsInverse` option added for use app need library first priority over react-cli packages
297
+ - Usage `package.json` , "react-cli" => "unstableDepsInverse" stright key
298
+
299
+ Issue Fix :-
300
+
301
+ - In devmode initial html not recived after second rebuild issue fix.
302
+ - typo fix `devBulid` to `devBuild`.
303
+ - `disableES5Transpile` option missed in docs now added.
304
+ - docs libAlias not work as app for example in app we always take `es` folder to build for treshaking and reasons,
305
+ But that option not enabled in docs. now it is enabled.
306
+ - In `react-cli devbuild` command options not working properly,
307
+ when above command run via terminal not via npm run script options not working
308
+ So we send that options to webpack then it works as expected.
309
+ this behaviour need to check across os and need to be cross check with other commends as well for now we only fixed this
310
+
311
+ # 0.0.1-exp.166.2
312
+
313
+ Changes:-
314
+
315
+ - `-w` option (watch option) added for `react-cli rtl`
316
+ - Example `react-cli rtl ./src ./lib -w`
317
+ <!-- need to handle `react-cli rtl` options correctly -->
318
+ - disableES5Transpile option libAlias added for docs
319
+
320
+ # 0.0.1-exp.166.1
321
+
322
+ Changes:-
323
+
324
+ - `__testUtils__/globals.js` to jest is not mantatory
325
+ - disableES5Transpile option libAlias added
326
+
327
+ # 0.0.1-beta.166
328
+
329
+ this version has same as `# 0.0.1-exp.164.1`, `# 0.0.1-exp.164.2` and below and some minor changes
330
+
331
+ - google chorme cors preflight issue fix
332
+
333
+ # 0.0.1-beta.165
334
+
335
+ - `valueReplacer` option added in shemas for font name replace related issue handling, for more [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/ValueReplacer.md)
336
+ - `valuereplacer` option added in react-cli it takes three
337
+ 1. sourceDir
338
+ 2. distDir
339
+ 3. `copyAll` is boolean flag which is for copy all other file or not. "true" means copy all files.
340
+
341
+ # 0.0.1-exp.164.1
342
+
343
+ - extra features in custom chunks reffer [this](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/CustomChunks.md)
344
+
345
+ # 0.0.1-exp.164.2
346
+
347
+ - `devbuild` option add to react cli
348
+
349
+ # 0.0.1-beta.164
350
+
351
+ - typo fix
352
+
353
+ # 0.0.1-beta.163
354
+
355
+ - **Issue Fix:-**
356
+
357
+ - if git not installed react-cli throws error for any command due to `getCurrentBranch` in `shemas/index.js` now fixed
358
+ - jest test cases not runnig issue fix (typo moduleNameMapper => libAlias)
359
+
360
+ - **Features :-**
361
+ - feature added for pre process logic
362
+ - tailer made requirement for preprocess, just write node js file
363
+ - mention file in `"react-cli" => "preprocess" => "runner"`
364
+ - option parse logic added for react-cli (exprimental)
365
+ - `--stop_nodemon` usally preprocessor run in `nodemon` so to stop it this option is provided
366
+
367
+ # 0.0.1-exp.162.2
368
+
369
+ - **Optimazation:-**
370
+ - double time minimize optimazation
371
+
372
+ # 0.0.1-beta.162.1
373
+
374
+ - **Issue Fix:-**
375
+ - if git not installed react-cli throws error for any command due to `getCurrentBranch` in `shemas/index.js` now fixed
376
+
377
+ # 0.0.1-beta.161.1
378
+
379
+ - **Features :-**
380
+ - feature added for pre process logic
381
+ - tailer made requirement for preprocess, just write node js file
382
+ - mention file in `"react-cli" => "preprocess" => "runner"`
383
+ - option parse logic added for react-cli (exprimental)
384
+
385
+ # 0.0.1-beta.162
386
+
387
+ - @zohodesk/datetimejs package updated to beta.8
388
+
389
+ # 0.0.1-beta.161
390
+
391
+ - **Features :-**
392
+ - feature added for efc `templateFilePath` in `package.json` option palce is `"react-cli" => "efc" => "templateFilePath"`
393
+ - `(('publicPath'))` this placeholder will be replace as publicPath string `publicPath`
394
+ - `(('getInitalAssets'))` this placeholder will be replace as function `getInitalAssets`
395
+ - `getInitalAssets` this function has two arguments `assetsType`, `lang`
396
+ - `assetsType` are `js`, `css`, `i18n`
397
+ - `lang` this argument only works when `i18n` is `assetsType`
398
+ - feature added for efc `cdnStatement`
399
+ - **Issue fixes:-**
400
+ - css classname hash change issue fix
401
+ - debug package conflit issue fix in nock in (react-cli test)
402
+ - manifest.json css file name correction issue for rtl and ltr
403
+
404
+ # 0.0.1-exp.161.2
405
+
406
+ - Features
407
+ - feature added for efc `templateFilePath` in `package.json` option palce is `"react-cli" => "efc" `
408
+ - `(('publicPath'))` this placeholder will be replace as publicPath string `publicPath`
409
+ - `(('getInitalAssets'))` this placeholder will be replace as function `getInitalAssets`
410
+ - `getInitalAssets` this function has two arguments `assetsType`, `lang`
411
+ - `assetsType` are `js`, `css`, `i18n`
412
+ - `lang` this argument only works when `i18n` is `assetsType`
413
+
414
+ # 0.0.1-exp.161.1
415
+
416
+ - Features
417
+ - feature added for efc `cdnStatement`
418
+ - Issue fixes:-
419
+ - css classname hash change issue fix
420
+ - debug package conflit issue fix in nock in (react-cli test)
421
+ - manifest.json css file name correction issue for rtl and ltr
422
+
423
+ # 0.0.1-beta.160
424
+
425
+ - @zohodesk/normalizer package version updated to 1.0.2
426
+
427
+ # 0.0.1-beta.159
428
+
429
+ - @zohodesk/datetimejs package updated to beta.7
430
+
431
+ # 0.0.1-exp.159
432
+
433
+ - issue fix:-
434
+ - when rtl ltr css split enable manifest json css filename keys comes with hash .
435
+
436
+ # 0.0.1-beta.158
437
+
438
+ - Removing source map files from service worker caching.
439
+
440
+ # 0.0.1-beta.157
441
+
442
+ - Experimental version issue fix(Dummy version removed)
443
+
444
+ # 0.0.1-beta.156
445
+
446
+ - ReportPublish issue fix
447
+
448
+ # 0.0.1-beta.155
449
+
450
+ - get impacted library source files option added
451
+
452
+ # 0.0.1-beta.154
453
+
454
+ - mockPrefix option for mock url prefix change
455
+ - Issue fix:-
456
+ - un wanted {{--js-smap}} in inital html without enable smap in build
457
+
458
+ # 0.0.1-beta.153
459
+
460
+ - Vendor include array added
461
+ - If you need to include any thrid party js in vendor we can use this array
462
+
463
+ # 0.0.1-beta.152
464
+
465
+ impact servise related changes:-
466
+
467
+ - nowatchstart option added. will be used like `react-cli nowatchstart <...options>` this will be used for src file changes no need to reflect (or no need to rebulid on file changes)
468
+ - cssselector_zip option added. will be used like `--cssselector-zip=selectormapping.zip`
469
+ only work in two ways
470
+ 1. `react-cli start --disable-watch --cssselector-zip=selectormapping.zip` app start command with `--disable-watch` flag and your usaul options
471
+ 2. `react-cli nowatchstart --cssselector-zip=selectormapping.zip` app start command's usaul options
472
+ #### Urls are:-
473
+ Below express path are added, For download zip files and
474
+ - `/zips/${zipname}.zip` for css selector maps zip file (contains css_map filies and original css files)
475
+ - `/zips/build.zip` build zip file (contains bundled all files)
476
+
477
+ # 0.0.1-beta.151
478
+
479
+ - issue fix:- Docs config 'html-loader' options updated.
480
+ - sslcertUpdate feature added
481
+ - disable_watch option added. will be used like `--disable-watch` or `--disable-watch=true`
482
+ - dev_cache option added. will be used like `--dev_cache` or `--dev_cache=true`
483
+
484
+ # 0.0.1-beta.150
485
+
486
+ - issue Fix:- in npm 7 option not working issue fixed
487
+ - ssl certificate update
488
+
489
+ # 0.0.1-beta.149
490
+
491
+ - css, ltr and rtl chunk split based on [dir=ltr]
492
+ - to enable ltr and rtl chunk spilt you have to add config in you package.json
493
+ <!-- - [docs for rtl-ltr](src\plugins\RtlSplitPlugin\RtrSplit.md) -->
494
+ - we have added some options in EFCPlugin for rtlsplit related features.
495
+ - we have expoed require function for only css impact related changes with flag
496
+
497
+ # 0.0.1-beta.148
498
+
499
+ - source map enabled in prod mode for debug client
500
+ - crossorigin attribute added for scripts
501
+
502
+ # 0.0.1-beta.147
503
+
504
+ - reportpublish issue fix
505
+
506
+ # 0.0.1-beta.146
507
+
508
+ - while docs run LibraryImactPlugin not constructor issue fix
509
+ - css loader added for css impact related changes
510
+
511
+ # 0.0.1 -beta.145
512
+
513
+ - LibraryImpactPlugin added
514
+ - check impacted source components name if any version update happened with master
515
+
516
+ # 0.0.1-beta.144
517
+
518
+ - prod build bug fix
519
+
520
+ # 0.0.1-beta.143
521
+
522
+ - `babel-plugin-transform-remove-console` added for remove console properties except error and log
523
+ - `console_exculde` script added if suppose enable same in dev mode
524
+ - service worker plugin changes
525
+ - library impact changes
526
+
527
+ # 0.0.1-beta.142
528
+
529
+ - `eslint-plugin-react-hooks` added to eslint support.
530
+ - Updated exact versions to eslint plugins installation script.
531
+
532
+ # 0.0.1-beta.141
533
+
534
+ - report publish sh fixes
535
+ - duplicate removal in impacted componentTest
536
+
537
+ # 0.0.1-beta.140
538
+
539
+ - copy-webpack-plugin bug fix
540
+
541
+ # 0.0.1-beta.139
542
+
543
+ - copy-webpack-plugin downgrade
544
+ - babel runtime plugin issue fix in prod config
545
+ - few enhancements
546
+
547
+ # 0.0.1-betaa.138.1
548
+ - new feature added for custom extra attribute for dynamically added tags by webpack.
549
+ - To enable this feature you need to enable "react-cli" => "app" => "customAttributes" => "enable"
550
+ - For more [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/9eea8df14e55584b2114b5e484ca8b751a4ba191/src/plugins/CustomAttributePlugin.md)
551
+
552
+ # 0.0.1-beta.138
553
+
554
+ - sstest library version updated
555
+ - unitcase calcluation issues fixed
556
+
557
+ # 0.0.1-beta.137
558
+
559
+ - Third party css files loading issue fix
560
+
561
+ # 0.0.1-beta.136
562
+
563
+ - eslint support
564
+
565
+ # 0.0.1-beta.135
566
+
567
+ - windows publish issue
568
+
569
+ # 0.0.1-beta.134
570
+
571
+ - Build Issue Fix
572
+
573
+ # 0.0.1-beta.133
574
+
575
+ - CDN Changes in I18nSplitPlugin
576
+ - nonce support added for i18n chunks
577
+
578
+ # 0.0.1-beta.132
579
+
580
+ - CDN Changes in EFC Plugin
581
+
582
+ # 0.0.1-beta.131
583
+
584
+ - Added Cdn Change Plugin
585
+
586
+ # 0.0.1-beta.130
587
+
588
+ - Babel 7 migration, ES6 build generation config and polyfill removal
589
+ - CopyPlugin issue fix
590
+
591
+ #0.0.1-beta.129
592
+
593
+ - Upgraded 'moment' to version 2.29.1 and 'moment-timezone' to version 0.5.32
594
+
595
+ # 0.0.1-beta.128
596
+
597
+ - Added support to generate hash for the third party files(TPHashMappingPlugin)
598
+
599
+ # 0.0.1-beta.127
600
+
601
+ - service worker plugin - to recursively add multiple directories (recursive=true)
602
+
603
+ # 0.0.1-beta.126
604
+
605
+ - issue fix in i18n split plugin
606
+
607
+ # expremental versions
608
+
609
+ - 0.0.1-beta.121
610
+ - 0.0.1-beta.122
611
+ - 0.0.1-beta.123
612
+ - 0.0.1-beta.124
613
+ - 0.0.1-beta.125
614
+
615
+ # 0.0.1-beta.120
616
+
617
+ - issue fix in third party file copying
618
+
619
+ # expremental versions
620
+
621
+ - 0.0.1-beta.119
622
+ - 0.0.1-beta.118
623
+
624
+ #0.0.1-beta.117
625
+
626
+ - createSDkFile otion added for efc
627
+ - small fix in i18n split plugin
628
+
629
+ #0.0.1-beta.116
630
+
631
+ - thirdparty package move to build (tpFolder in app config)
632
+
633
+ #0.0.1-beta.115
634
+
635
+ - Added Web worker support
636
+
637
+ #0.0.1-beta.114
638
+
639
+ - i18n split based on chunk
640
+ - to enable i18n chunk spilt you have to add config in you package.json
641
+
642
+ #0.0.1-beta.113
643
+
644
+ - Upgraded 'fz-i18n' package version to 1.2.0-beta.15
645
+
646
+ #0.0.1-beta.112
647
+
648
+ - Duplicate Prefetch Request Issue Fixed (Resource Hint Plugin)
649
+ - Service worker plugin changes
650
+
651
+ #0.0.1-beta.111
652
+
653
+ - hasRTL, selectorReplace Condition Separated
654
+
655
+ #0.0.1-beta.110
656
+
657
+ - SplitChunk Order Issue Fixed
658
+ - https url issue Fixed
659
+
660
+ #0.0.1-beta.109
661
+
662
+ - @zohodesk/screenshottest package version update (19) and log for the gitlab private api to check the response
663
+
664
+ #0.0.1-beta.108
665
+
666
+ - @zohodesk/screenshottest package version update (18)
667
+
668
+ #0.0.1-beta.107
669
+
670
+ - changed component without docs finder added
671
+
672
+ #0.0.1-beta.106
673
+
674
+ - custom chunk support changes
675
+ - css absolute url fix
676
+
677
+ #0.0.1-beta.105
678
+
679
+ - @zohodesk/screenshottest package version update (17) with the issue fix
680
+
681
+ #0.0.1-beta.104
682
+
683
+ - ModuleStatsPlugin inject false option added to solve the webpack build twice issue
684
+
685
+ #0.0.1-beta.103
686
+
687
+ - @zohodesk/screenshottest package version update (16) with the issue fix
688
+
689
+ #0.0.1-beta.102
690
+
691
+ - @zohodesk/screenshottest package version update (15) with the issue fix
692
+
693
+ #0.0.1-beta.101
694
+
695
+ - 100 changes readme missing
696
+ - bundle analyser changes
697
+
698
+ #0.0.1-beta.100
699
+
700
+ - @zohodesk/screenshottest package version update with the issue fix
701
+ - font public path replace issue for url fonts - fixed
702
+
703
+ #0.0.1-beta.99
704
+
705
+ - can't publish already published
706
+
707
+ #0.0.1-beta.98
708
+
709
+ - defer break public path adding regex - fixed
710
+
711
+ #0.0.1-beta.97
712
+
713
+ - added 'babel-plugin-transform-react-remove-prop-types' in package.json (missed earlier)
714
+
715
+ #0.0.1-beta.96
716
+
717
+ - html plugin inject option expose and version udpate 4.2.0
718
+ - src html change i18n removal issue fix
719
+ - script loading defer added
720
+ - added babel plugin to remove proptypes
721
+
722
+ #0.0.1-beta.95
723
+
724
+ - schemas/index.js - issue fix
725
+
726
+ #0.0.1-beta.94
727
+
728
+ - screenshot test library version update
729
+ - ssserver issue fix
730
+
731
+ #0.0.1-beta.93
732
+
733
+ - selector replacer for Help Center usecase
734
+ - eslint performance plugin
735
+ - css classname hash selector support for docs
736
+ - service worker plugin
737
+
738
+ #0.0.1-beta.92
739
+
740
+ - docs ui fixes and edit mode
741
+ - @zohodesk/datetimejs version update
742
+
743
+ #0.0.1-beta.91
744
+
745
+ - repo clone command pull issue fix
746
+ - docs css change
747
+ - SSTest package version downgrade
748
+
749
+ #0.0.1-beta.90
750
+
751
+ - added support for copying Timezone data from @zohodesk/datetimejs
752
+ - docstool changes
753
+
754
+ #0.0.1-beta.89
755
+
756
+ - CSP nonce support for initial assets `{{--CSP-nonce}}`
757
+ - introduced new mode to disable react warns in dev mode (dev-no-warn)
758
+ - docs ui fix
759
+
760
+ #0.0.1-beta.88
761
+
762
+ - Impact run and Master seperate during SSTEST
763
+ - docs changes
764
+ - filenames and packages addedd in cssHashSelectors option
765
+
766
+ #0.0.1-beta.87
767
+
768
+ - run screenshot test for impacted components
769
+ - seperate master from the CI flow with the HBase storage
770
+ - docs changes
771
+ - coverage percentage check disabled
772
+
773
+ #0.0.1-beta.86
774
+
775
+ - exclude without js changes for unittest
776
+ - express server history fallback refactored
777
+
778
+ #0.0.1-beta.85
779
+
780
+ - i18n placeholder removal issue fixed
781
+ - css classname prefix moved to option. default is zd
782
+
783
+ #0.0.1-beta.84
784
+
785
+ - object spread operator support
786
+
787
+ #0.0.1-beta.83
788
+
789
+ - eslint report type by flag
790
+ - unitcase file exclude array issue fix
791
+ - sstesthack issue fix
792
+
793
+ #0.0.1-beta.82
794
+
795
+ - eslint impact run enable - completed
796
+ - devplugin cleanupstats filename import issue fix
797
+ - coveragecollector return format change
798
+
799
+ #0.0.1-beta.81
800
+
801
+ - unit test case syntax error issue fix - removed unwanted dependency `css-modules-require-hook`
802
+
803
+ #0.0.1-beta.80
804
+
805
+ - unitcase filecoverage testpath issue fix
806
+ - shadowdom support
807
+ - postpublish and sstest hack script
808
+ - dependencies impact list
809
+ - can change runtime chunk's character
810
+ - font preload added
811
+
812
+ #0.0.1-beta.79
813
+
814
+ - unitcase filecoverage added and also codecoverage with dependencies spec added
815
+
816
+ #0.0.1-beta.78
817
+
818
+ - components and dot library's stats added with module stats
819
+ - Mini css extract plugin's unwanted logs removed
820
+ - runtime chunk added in dev mode
821
+ - nodemon windows issue fix
822
+ - testinfo failure missing while can't get coverage
823
+ - performance eslint plugin added and normalizer moved under zohodesk
824
+
825
+ #0.0.1-beta.77
826
+
827
+ - @zohodesk/eslint-plugin-zsecurity version update
828
+ - git pull origin with branch name while screenshot test after the branch switch
829
+
830
+ #0.0.1-beta.76
831
+
832
+ - breaking issue fix from last version ( prod config issue )
833
+
834
+ #0.0.1-beta.75
835
+
836
+ - sstest - reinstall dependencies after switch branch
837
+
838
+ #0.0.1-beta.74
839
+
840
+ - docs provider support (Component.\_provider)
841
+
842
+ #0.0.1-beta.73
843
+
844
+ #0.0.1-beta.72
845
+
846
+ - run eslint security rules option enable
847
+ - add the reportURL with the result.json file
848
+ - mock server post api issue fix
849
+
850
+ #0.0.1-beta.71
851
+
852
+ - publicpath hard coding while flatten build issue fix
853
+
854
+ #0.0.1-beta.70
855
+
856
+ - css class compression flag enable
857
+ - docs src URL update
858
+
859
+ #0.0.1-beta.69
860
+
861
+ - babel-plugin-transform-dynamic-import library with webpack.docs.config.js for docs service
862
+ - babel-lodash plugin fix with getdevplugin
863
+ - cursor blink issue fix for sstest
864
+ - in result.json unitcase coverage verified boolean added
865
+
866
+ #0.0.1-beta.68
867
+
868
+ - rtl ignore [dir] changes
869
+
870
+ #0.0.1-beta.67
871
+
872
+ - babel-plugin-transform-dynamic-import library added with package.json
873
+ - schema change with hostname cli option s
874
+
875
+ #0.0.1-beta.66
876
+
877
+ - mockport hard coded issue fix
878
+
879
+ #0.0.1-beta.65
880
+
881
+ - window rtl build issue fix
882
+ - separate rtl build support added like react-cli rtl ./src ./lib
883
+
884
+ #0.0.1-beta.64
885
+
886
+ - postcss-rtl issue temp fix so move to @zohodesk/postcss-rtl
887
+
888
+ #0.0.1-beta.63
889
+
890
+ - LTR & RTL support added
891
+
892
+ #0.0.1-beta.62
893
+
894
+ - componentTest.css entry in components.html
895
+
896
+ #0.0.1-beta.60
897
+
898
+ - SSTMiddleware hook added for ssserver
899
+ - remove some unwanted class in components.css
900
+ - componentTest.css added with common animation break css rules
901
+
902
+ #0.0.1-beta.59
903
+
904
+ - vendor files exclude from app
905
+ - since the chunk hash issue, moduleIds configured as named
906
+
907
+ #0.0.1-beta.58
908
+
909
+ - Push result json with the report zip
910
+ - screenshot-test library Version update
911
+
912
+ #0.0.1-beta.57
913
+
914
+ - vendor chunk split issue fix
915
+
916
+ #0.0.1-beta.56
917
+
918
+ - css ordering issue fix
919
+
920
+ #0.0.1-beta.55
921
+
922
+ - prod build performance changes
923
+ - css duplication issue fix
924
+ - root chunk splitting logic change
925
+
926
+ #0.0.1-beta.54
927
+
928
+ - increased css hash size 5 to 10
929
+
930
+ #0.0.1-beta.53
931
+
932
+ - generate json file for all the test results during test run
933
+ - sstest version update
934
+ - some issue fixes
935
+
936
+ #0.0.1-beta.52
937
+
938
+ - template src folder missed issue fix because of npmignore all src folder
939
+
940
+ #0.0.1-beta.51
941
+
942
+ - template app updated with redux and router by kumaresan(thala)
943
+
944
+ #0.0.1-beta.50
945
+
946
+ - window machine css unique issue fix
947
+
948
+ #0.0.1-beta.49
949
+
950
+ - dev css unique issue fix
951
+
952
+ #0.0.1-beta.48
953
+
954
+ - telephony support css unique changes
955
+
956
+ #0.0.1-beta.47
957
+
958
+ - git pull during the branch switch in ssserver
959
+ - common util file for pull and switch the branches for both git and hg
960
+
961
+ #0.0.1-beta.46
962
+
963
+ - ogg file support and tmpl file support
964
+
965
+ #0.0.1-beta.45
966
+
967
+ - checkout branch with force during sstest
968
+
969
+ #0.0.1-beta.44
970
+
971
+ - sstest master trigger issue fix
972
+
973
+ #0.0.1-beta.43
974
+
975
+ - get component object from docs server by http protocol during sstest
976
+ - reach docs server by the IP address of the host.
977
+ - get the current branch name by args
978
+
979
+ #0.0.1-beta.42
980
+
981
+ - className ssTest added and screenshot test version update
982
+
983
+ #0.0.1-beta.41
984
+
985
+ - i18n replace issue fix
986
+
987
+ - some css changes related to above
988
+ - screenshottest version update
989
+
990
+ #0.0.1-beta.40
991
+
992
+ - SSTMiddleware added to get hook from webpack build process to start sstest
993
+ - run unit test for commited files except the spec file name from name list
994
+ - publicpath added for i18n js files
995
+
996
+ #0.0.1-beta.39
997
+
998
+ - prod build check issue fix
999
+
1000
+ #0.0.1-beta.38
1001
+
1002
+ - all unitcase runs only with master option removed
1003
+ - prod mode in dev setup flag issue fix
1004
+
1005
+ #0.0.1-beta.37
1006
+
1007
+ - removed hash for index.html and add publicpath when run prod mode in dev machine
1008
+ - screenshot version updated
1009
+ - docs build log issue fix
1010
+
1011
+ #0.0.1-beta.36
1012
+
1013
+ - reportpublish sh file report generation even if any breakages in test scripts
1014
+
1015
+ #0.0.1-beta.35
1016
+
1017
+ - full run of spec fils only for master option added
1018
+ - reportpublish sh for screenshot test report template issue fix
1019
+
1020
+ #0.0.1-beta.34
1021
+
1022
+ - monitor mockserver changes without affecting static server
1023
+
1024
+ #0.0.1-beta.33
1025
+
1026
+ - mail sent issue - fix
1027
+
1028
+ #0.0.1-beta.32
1029
+
1030
+ - ssl cert update
1031
+ - webpack-bundle-analyzer version update (because of npm audit fix)
1032
+
1033
+ #0.0.1-beta.31
1034
+
1035
+ - reportpublicpath plugin rename issue fix
1036
+
1037
+ #0.0.1-beta.30
1038
+
1039
+ - report generate plugin rename
1040
+ - schema changes for sstest (sstest_remotebranch => sstest_referbranch)
1041
+ - reportpublish sh update
1042
+
1043
+ #0.0.1-beta.29
1044
+
1045
+ - screenshot version updated
1046
+ - unit test case commit coverage issue fix
1047
+
1048
+ #0.0.1-beta.28
1049
+
1050
+ - Unitcase coverage for changed files issue fix
1051
+
1052
+ #0.0.1-beta.27
1053
+
1054
+ - prod build size and hash tracking report added
1055
+
1056
+ #0.0.1-beta.26
1057
+
1058
+ - inlined assets and css assets publicpath collide issue fix
1059
+
1060
+ #0.0.1-beta.25
1061
+
1062
+ - inline image public path issue fix
1063
+ - docs css change for sstest
1064
+
1065
+ #0.0.1-beta.24
1066
+
1067
+ - removed source map generation by default
1068
+
1069
+ #0.0.1-beta.23
1070
+
1071
+ - windows path issue in i18I18NInjectIntoIndexPlugin plugin
1072
+
1073
+ #0.0.1-beta.22
1074
+
1075
+ - unusedfilesplugin issue fixed and print valid info
1076
+
1077
+ #0.0.1-beta.21
1078
+
1079
+ - production build hash details exported in index html
1080
+
1081
+ #0.0.1-beta.20
1082
+
1083
+ - list the name of un documented component file name
1084
+
1085
+ #0.0.1-beta.19
1086
+
1087
+ - publicpath callback plugin added
1088
+
1089
+ #0.0.1-beta.18
1090
+
1091
+ - production build issue fix
1092
+
1093
+ #0.0.1-beta.17
1094
+
1095
+ - redux version downgraded
1096
+
1097
+ #0.0.1-beta.16
1098
+
1099
+ - Babel env and react issue fix
1100
+
1101
+ #0.0.1-beta.15
1102
+
1103
+ - Few issue fixes
1104
+ - Webpack Manifest Plugin revamped
1105
+ - @zohodesk/screenshot-test package added
1106
+
1107
+ #0.0.1-beta.14
1108
+
1109
+ - Removed minify option in css-loader config
1110
+ - Removed optimize-css-assets-webpack-plugin
1111
+ - Added UglifyCSS webpack plugin
1112
+ - Packages version up to dated expect babel-loader
1113
+ - Docs umd build issue fixed
1114
+ - CSS public path in all configs
1115
+
1116
+ #0.0.1-beta.13
1117
+
1118
+ - Breaking issues fix
1119
+ - Add eslint config file in project root folder
1120
+ - Removed hot module and SSR concepts
1121
+ - Public Path change plugin revamp
1122
+ - Replaced style-loader with MiniCssExtractPlugin for overall
1123
+
1124
+ #0.0.1-beta.12
1125
+
1126
+ - ResourceHints Plugin added
1127
+ - able to set public paths for various types of assets
1128
+ - provided few cli options for existing options
1129
+ - change ext of files while copy
1130
+ - cache directory issue fix in dev mode
1131
+ - script instrument loader added
1132
+ - eslint windows machine issue fix
1133
+
1134
+ #0.0.1-beta.11
1135
+
1136
+ - css module extension changed to .modules.css from .mcss
1137
+
1138
+ #0.0.1-beta.10
1139
+
1140
+ - css module related changes
1141
+ - unit test case breaking issue fix
1142
+
1143
+ #0.0.1-beta.9
1144
+
1145
+ - dynamic import support
1146
+ - unit test case issue fix
1147
+
1148
+ #0.0.1-beta.8
1149
+
1150
+ - major issue fixes - previous version issues
1151
+ - eslint new rules added
1152
+ - reverted babel exclude option
1153
+
1154
+ #0.0.1-beta.7
1155
+
1156
+ - optionally attributes removal - prod mode
1157
+ - pre-commit issue fixed
1158
+ - eslint fix option added
1159
+ - used exclude instead of include in babel loader
1160
+ - option lookup issue fixed
1161
+
1162
+ #0.0.1-beta.6
1163
+
1164
+ - complext proptypes support for docs
1165
+
1166
+ #0.0.1-beta.5
1167
+
1168
+ - docs slowness issue fix
1169
+ - jest update issue fix
1170
+
1171
+ #0.0.1-beta.4
1172
+
1173
+ - css chunk related changes
1174
+ - manifest json related changes
1175
+ - css bundle issue fixed
1176
+
1177
+ #0.0.1-beta.3
1178
+
1179
+ - slowness issue fixed
1180
+ - efc build issue fixed
1181
+
1182
+ 0.0.1-beta.2 changes
1183
+
1184
+ - docs changes
1185
+ - precommit hook issue fix
1186
+ - compression support
1187
+ - prod string error fix
1188
+ - efc build support
1189
+ - single style tag support