@zohodesk/react-cli 0.0.1-beta.99 → 0.0.1-betaa.138.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. package/.eslintignore +7 -7
  2. package/.eslintrc.js +183 -183
  3. package/CHANGELOG.md +5 -0
  4. package/README.md +636 -491
  5. package/bin/cli.js +372 -367
  6. package/files/eslintrc.js +57 -0
  7. package/files/prettierrc.js +3 -0
  8. package/lib/babel/cmjs-plugins-presets.js +16 -9
  9. package/lib/babel/es-plugins-presets.js +26 -14
  10. package/lib/common/getEntries.js +31 -22
  11. package/lib/common/getPublicPathConfig.js +27 -13
  12. package/lib/common/index.js +21 -25
  13. package/lib/common/splitChunks.js +62 -53
  14. package/lib/common/templateParameters.js +10 -8
  15. package/lib/configs/jest.config.js +15 -25
  16. package/lib/configs/webpack.component.umd.config.js +31 -37
  17. package/lib/configs/webpack.css.umd.config.js +44 -47
  18. package/lib/configs/webpack.dev.config.js +70 -52
  19. package/lib/configs/webpack.docs.config.js +106 -106
  20. package/lib/configs/webpack.prod.config.js +95 -75
  21. package/lib/hooks/docsProptypeHook.js +32 -38
  22. package/lib/jest/commitedFilesResult.js +103 -74
  23. package/lib/jest/coverageCollector.js +41 -21
  24. package/lib/jest/jsonMaker.js +15 -16
  25. package/lib/jest/preProcessors/cssPreprocessor.js +16 -18
  26. package/lib/jest/preProcessors/jsPreprocessor.js +3 -5
  27. package/lib/jest/preProcessors/otherFilesPreprocessor.js +5 -6
  28. package/lib/jest/result.js +90 -45
  29. package/lib/jest/run.js +43 -43
  30. package/lib/jest/setup.js +102 -95
  31. package/lib/loaderUtils/getCSSLoaders.js +21 -22
  32. package/lib/loaderUtils/getDevJsLoaders.js +25 -23
  33. package/lib/loaderUtils/index.js +11 -13
  34. package/lib/loaders/docsLoader.js +15 -15
  35. package/lib/loaders/docsPropsLoader.js +14 -17
  36. package/lib/loaders/fileLoader.js +33 -35
  37. package/lib/loaders/scriptInstrumentLoader.js +21 -20
  38. package/lib/loaders/workerLoader.js +136 -0
  39. package/lib/middlewares/HMRMiddleware.js +54 -45
  40. package/lib/middlewares/SSTMiddleware.js +8 -5
  41. package/lib/pluginUtils/getDevPlugins.js +114 -52
  42. package/lib/pluginUtils/getDocsPlugins.js +25 -29
  43. package/lib/pluginUtils/getLibraryPlugins.js +8 -10
  44. package/lib/pluginUtils/getProdPlugins.js +163 -74
  45. package/lib/pluginUtils/getServerPlugins.js +8 -11
  46. package/lib/pluginUtils/getUMDCSSPlugins.js +11 -15
  47. package/lib/pluginUtils/getUMDComponentPlugins.js +11 -15
  48. package/lib/pluginUtils/index.js +36 -43
  49. package/lib/plugins/CdnChangePlugin.js +63 -0
  50. package/lib/plugins/CleanupStatsPlugin.js +18 -32
  51. package/lib/plugins/CustomAttributePlugin.js +79 -0
  52. package/lib/plugins/CustomAttributePlugin.md +35 -0
  53. package/lib/plugins/EFCPlugin.js +185 -0
  54. package/lib/plugins/I18NInjectIntoIndexPlugin.js +118 -52
  55. package/lib/plugins/I18nSplitPlugin/I18nDebugPlugin.js +60 -0
  56. package/lib/plugins/I18nSplitPlugin/I18nDependency.js +44 -0
  57. package/lib/plugins/I18nSplitPlugin/I18nDownlodLogic.js +266 -0
  58. package/lib/plugins/I18nSplitPlugin/I18nFilesEmitter.js +183 -0
  59. package/lib/plugins/I18nSplitPlugin/I18nKeysIdentifer.js +100 -0
  60. package/lib/plugins/I18nSplitPlugin/I18nSplit.md +86 -0
  61. package/lib/plugins/I18nSplitPlugin/README.md +25 -0
  62. package/lib/plugins/I18nSplitPlugin/index.js +185 -0
  63. package/lib/plugins/I18nSplitPlugin/utils/collectI18nKeys.js +64 -0
  64. package/lib/plugins/I18nSplitPlugin/utils/getI18nFileUrlPathTemplate.js +13 -0
  65. package/lib/plugins/I18nSplitPlugin/utils/getI18nKeysFormModules.js +26 -0
  66. package/lib/plugins/I18nSplitPlugin/utils/hashUtils.js +40 -0
  67. package/lib/plugins/I18nSplitPlugin/utils/index.js +31 -0
  68. package/lib/plugins/I18nSplitPlugin/utils/propertiesUtils.js +112 -0
  69. package/lib/plugins/ManifestPlugin.js +52 -63
  70. package/lib/plugins/ModuleStatsPlugin.js +83 -173
  71. package/lib/plugins/OptimizeJSPlugin.js +24 -41
  72. package/lib/plugins/PublicPathCallbackPlugin.js +42 -116
  73. package/lib/plugins/PublicPathChangePlugin.js +175 -284
  74. package/lib/plugins/ReportGeneratePlugin.js +150 -151
  75. package/lib/plugins/ResourceHintsPlugin.js +53 -35
  76. package/lib/plugins/ScriptInstrumentPlugin.js +22 -37
  77. package/lib/plugins/ServiceWorkerPlugin.js +81 -57
  78. package/lib/plugins/ShadowDOMSupportPlugin.js +153 -234
  79. package/lib/plugins/SourceMapHookPlugin.js +21 -33
  80. package/lib/plugins/TPHashMappingPlugin.js +67 -0
  81. package/lib/plugins/UglifyCSSPlugin.js +23 -30
  82. package/lib/plugins/UnusedFilesFindPlugin.js +137 -152
  83. package/lib/plugins/index.js +100 -91
  84. package/lib/plugins/webpackwatchrunplugin.js +18 -30
  85. package/lib/postcss-plugins/ExcludeRTLPlugin.js +14 -17
  86. package/lib/schemas/index.js +336 -81
  87. package/lib/servers/clusterHubServer.js +22 -26
  88. package/lib/servers/docsServer.js +3 -5
  89. package/lib/servers/docsServerCore.js +84 -91
  90. package/lib/servers/helpServer.js +19 -21
  91. package/lib/servers/impactServer.js +99 -92
  92. package/lib/servers/mockserver.js +24 -24
  93. package/lib/servers/scrServer.js +78 -98
  94. package/lib/servers/server.js +101 -122
  95. package/lib/servers/ssServer.js +63 -61
  96. package/lib/sh/pre-commit.sh +34 -34
  97. package/lib/sh/reportPublish.sh +45 -46
  98. package/lib/templates/CoverageScriptTemplate.js +45 -18
  99. package/lib/templates/WMSTemplate.js +17 -18
  100. package/lib/templates/linterConstant.js +6 -4
  101. package/lib/utils/babelPresets.js +12 -5
  102. package/lib/utils/buildstats.html +148 -148
  103. package/lib/utils/clean.js +12 -11
  104. package/lib/utils/copy.js +12 -34
  105. package/lib/utils/copyTimezones.js +9 -16
  106. package/lib/utils/createEventStream.js +24 -19
  107. package/lib/utils/cssClassNameGenerate.js +44 -73
  108. package/lib/utils/cssURLReplacer.js +60 -54
  109. package/lib/utils/dependencyPostPublish.js +20 -19
  110. package/lib/utils/fileUtils.js +66 -54
  111. package/lib/utils/folderIterator.js +20 -21
  112. package/lib/utils/getComponents.js +70 -27
  113. package/lib/utils/getCurrentBranch.js +11 -17
  114. package/lib/utils/getDependenciesImpactList.js +114 -187
  115. package/lib/utils/getHash.js +9 -13
  116. package/lib/utils/getIp.js +9 -9
  117. package/lib/utils/getOptions.js +26 -29
  118. package/lib/utils/getServerURL.js +19 -10
  119. package/lib/utils/index.js +147 -126
  120. package/lib/utils/init.js +2 -2
  121. package/lib/utils/initPreCommitHook.js +40 -32
  122. package/lib/utils/jsonHelper.js +37 -21
  123. package/lib/utils/lint/addScripts.js +27 -0
  124. package/lib/utils/lint/checkExistingConfig.js +67 -0
  125. package/lib/utils/lint/copyConfigs.js +24 -0
  126. package/lib/utils/lint/index.js +54 -0
  127. package/lib/utils/lint/lintScripts.js +11 -0
  128. package/lib/utils/lint/lintSetup.js +31 -0
  129. package/lib/utils/lint/lintStagedPreCommitHook.js +7 -0
  130. package/lib/utils/lint/question.js +30 -0
  131. package/lib/utils/lintReporter.js +70 -56
  132. package/lib/utils/mailSender.js +12 -27
  133. package/lib/utils/pullOrigin.js +21 -18
  134. package/lib/utils/reinstallDependencies.js +76 -85
  135. package/lib/utils/removeAttributes.js +25 -23
  136. package/lib/utils/repoClone.js +47 -45
  137. package/lib/utils/request.js +64 -77
  138. package/lib/utils/resultSchema.json +73 -73
  139. package/lib/utils/rtl.js +22 -29
  140. package/lib/utils/setEnvVariables.js +5 -6
  141. package/lib/utils/ssTestHack.js +21 -19
  142. package/lib/utils/switchBranch.js +21 -20
  143. package/lib/utils/urlConcat.js +22 -0
  144. package/package.json +141 -136
  145. package/templates/app/.eslintrc.js +140 -140
  146. package/templates/app/README.md +12 -12
  147. package/templates/app/app/index.html +24 -24
  148. package/templates/app/app/properties/ApplicationResources_en_US.properties +1 -1
  149. package/templates/app/app/properties/i18nkeys.json +3 -3
  150. package/templates/app/docs/all.html +69 -69
  151. package/templates/app/mockapi/index.js +18 -18
  152. package/templates/app/package.json +37 -37
  153. package/templates/app/src/actions/SampleActions/index.js +37 -37
  154. package/templates/app/src/actions/index.js +65 -65
  155. package/templates/app/src/appUrls.js +19 -19
  156. package/templates/app/src/components/Alert/Alert.js +134 -134
  157. package/templates/app/src/components/Alert/Alert.module.css +79 -79
  158. package/templates/app/src/components/FreezeLayer/FreezeLayer.css +37 -37
  159. package/templates/app/src/components/FreezeLayer/FreezeLayer.js +84 -84
  160. package/templates/app/src/components/Sample/Sample.module.css +11 -11
  161. package/templates/app/src/components/Sample/SampleList.js +61 -61
  162. package/templates/app/src/components/Slider/Slider.css +41 -41
  163. package/templates/app/src/components/Slider/Slider.js +55 -55
  164. package/templates/app/src/containers/AlertContainer/index.js +15 -15
  165. package/templates/app/src/containers/AppContainer/index.js +96 -96
  166. package/templates/app/src/containers/AppContainer/index.module.css +27 -27
  167. package/templates/app/src/containers/CustomMatch/index.js +65 -65
  168. package/templates/app/src/containers/DevTools/index.js +10 -10
  169. package/templates/app/src/containers/Header/index.js +67 -67
  170. package/templates/app/src/containers/Header/index.module.css +43 -43
  171. package/templates/app/src/containers/Redirect/index.js +63 -63
  172. package/templates/app/src/containers/Redirector/index.js +47 -47
  173. package/templates/app/src/containers/SampleListContainer/ListContainer.js +42 -42
  174. package/templates/app/src/containers/SampleListContainer/ListContainer.module.css +3 -3
  175. package/templates/app/src/historyChange.js +5 -5
  176. package/templates/app/src/index.html +10 -10
  177. package/templates/app/src/index.js +24 -24
  178. package/templates/app/src/middleware/PromiseMiddleware.js +59 -59
  179. package/templates/app/src/reducers/alertData.js +11 -11
  180. package/templates/app/src/reducers/index.js +6 -6
  181. package/templates/app/src/reducers/samples.js +19 -19
  182. package/templates/app/src/store/configureStore.dev.js +51 -51
  183. package/templates/app/src/store/configureStore.js +5 -5
  184. package/templates/app/src/store/configureStore.prod.js +26 -26
  185. package/templates/app/src/util/Common.js +5 -5
  186. package/templates/app/src/util/RequestAPI.js +132 -132
  187. package/templates/docs/all.html +249 -249
  188. package/templates/docs/component.html +178 -178
  189. package/templates/docs/components.html +221 -221
  190. package/templates/docs/css/b.min.css +6 -6
  191. package/templates/docs/css/component.css +42 -42
  192. package/templates/docs/css/componentTest.css +6 -6
  193. package/templates/docs/css/hopscotch.css +585 -585
  194. package/templates/docs/css/style.css +1022 -1022
  195. package/templates/docs/index.html +1493 -1493
  196. package/templates/docs/js/active-line.js +72 -72
  197. package/templates/docs/js/b.min.js +7 -7
  198. package/templates/docs/js/codemirror.js +9680 -9680
  199. package/templates/docs/js/designTokens.js +334 -334
  200. package/templates/docs/js/j.min.js +4 -4
  201. package/templates/docs/js/javascript.js +874 -874
  202. package/templates/docs/js/matchbrackets.js +145 -145
package/README.md CHANGED
@@ -1,491 +1,636 @@
1
- # React CLI
2
-
3
- A CLI tool for build modern web application and libraries
4
-
5
- #0.0.1-beta.99
6
-
7
- - font public path replace issue for url fonts - fixed
8
-
9
- #0.0.1-beta.98
10
-
11
- - defer break public path adding regex - fixed
12
-
13
- #0.0.1-beta.97
14
-
15
- - added 'babel-plugin-transform-react-remove-prop-types' in package.json (missed earlier)
16
-
17
- #0.0.1-beta.96
18
-
19
- - html plugin inject option expose and version udpate 4.2.0
20
- - src html change i18n removal issue fix
21
- - script loading defer added
22
- - added babel plugin to remove proptypes
23
-
24
- #0.0.1-beta.95
25
-
26
- - schemas/index.js - issue fix
27
-
28
- #0.0.1-beta.94
29
-
30
- - screenshot test library version update
31
- - ssserver issue fix
32
-
33
- #0.0.1-beta.93
34
-
35
- - selector replacer for Help Center usecase
36
- - eslint performance plugin
37
- - css classname hash selector support for docs
38
- - service worker plugin
39
-
40
- #0.0.1-beta.92
41
-
42
- - docs ui fixes and edit mode
43
- - @zohodesk/datetimejs version update
44
-
45
- #0.0.1-beta.91
46
-
47
- - repo clone command pull issue fix
48
- - docs css change
49
- - SSTest package version downgrade
50
-
51
- #0.0.1-beta.90
52
-
53
- - added support for copying Timezone data from @zohodesk/datetimejs
54
- - docstool changes
55
-
56
- #0.0.1-beta.89
57
-
58
- - CSP nonce support for initial assets `{{--CSP-nonce}}`
59
- - introduced new mode to disable react warns in dev mode (dev-no-warn)
60
- - docs ui fix
61
-
62
- #0.0.1-beta.88
63
-
64
- - Impact run and Master seperate during SSTEST
65
- - docs changes
66
- - filenames and packages addedd in cssHashSelectors option
67
-
68
- #0.0.1-beta.87
69
-
70
- - run screenshot test for impacted components
71
- - seperate master from the CI flow with the HBase storage
72
- - docs changes
73
- - coverage percentage check disabled
74
-
75
- #0.0.1-beta.86
76
-
77
- - exclude without js changes for unittest
78
- - express server history fallback refactored
79
-
80
- #0.0.1-beta.85
81
-
82
- - i18n placeholder removal issue fixed
83
- - css classname prefix moved to option. default is zd
84
-
85
- #0.0.1-beta.84
86
-
87
- - object spread operator support
88
-
89
- #0.0.1-beta.83
90
-
91
- - eslint report type by flag
92
- - unitcase file exclude array issue fix
93
- - sstesthack issue fix
94
-
95
- #0.0.1-beta.82
96
-
97
- - eslint impact run enable - completed
98
- - devplugin cleanupstats filename import issue fix
99
- - coveragecollector return format change
100
-
101
- #0.0.1-beta.81
102
-
103
- - unit test case syntax error issue fix - removed unwanted dependency `css-modules-require-hook`
104
-
105
- #0.0.1-beta.80
106
-
107
- - unitcase filecoverage testpath issue fix
108
- - shadowdom support
109
- - postpublish and sstest hack script
110
- - dependencies impact list
111
- - can change runtime chunk's character
112
- - font preload added
113
-
114
- #0.0.1-beta.79
115
-
116
- - unitcase filecoverage added and also codecoverage with dependencies spec added
117
-
118
- #0.0.1-beta.78
119
-
120
- - components and dot library's stats added with module stats
121
- - Mini css extract plugin's unwanted logs removed
122
- - runtime chunk added in dev mode
123
- - nodemon windows issue fix
124
- - testinfo failure missing while can't get coverage
125
- - performance eslint plugin added and normalizer moved under zohodesk
126
-
127
- #0.0.1-beta.77
128
-
129
- - @zohodesk/eslint-plugin-zsecurity version update
130
- - git pull origin with branch name while screenshot test after the branch switch
131
-
132
- #0.0.1-beta.76
133
-
134
- - breaking issue fix from last version ( prod config issue )
135
-
136
- #0.0.1-beta.75
137
-
138
- - sstest - reinstall dependencies after switch branch
139
-
140
- #0.0.1-beta.74
141
-
142
- - docs provider support (Component.\_provider)
143
-
144
- #0.0.1-beta.73
145
-
146
- #0.0.1-beta.72
147
-
148
- - run eslint security rules option enable
149
- - add the reportURL with the result.json file
150
- - mock server post api issue fix
151
-
152
- #0.0.1-beta.71
153
-
154
- - publicpath hard coding while flatten build issue fix
155
-
156
- #0.0.1-beta.70
157
-
158
- - css class compression flag enable
159
- - docs src URL update
160
-
161
- #0.0.1-beta.69
162
-
163
- - babel-plugin-transform-dynamic-import library with webpack.docs.config.js for docs service
164
- - babel-lodash plugin fix with getdevplugin
165
- - cursor blink issue fix for sstest
166
- - in result.json unitcase coverage verified boolean added
167
-
168
- #0.0.1-beta.68
169
-
170
- - rtl ignore [dir] changes
171
-
172
- #0.0.1-beta.67
173
-
174
- - babel-plugin-transform-dynamic-import library added with package.json
175
- - schema change with hostname cli option s
176
-
177
- #0.0.1-beta.66
178
-
179
- - mockport hard coded issue fix
180
-
181
- #0.0.1-beta.65
182
-
183
- - window rtl build issue fix
184
- - separate rtl build support added like react-cli rtl ./src ./lib
185
-
186
- #0.0.1-beta.64
187
-
188
- - postcss-rtl issue temp fix so move to @zohodesk/postcss-rtl
189
-
190
- #0.0.1-beta.63
191
-
192
- - LTR & RTL support added
193
-
194
- #0.0.1-beta.62
195
-
196
- - componentTest.css entry in components.html
197
-
198
- #0.0.1-beta.60
199
-
200
- - SSTMiddleware hook added for ssserver
201
- - remove some unwanted class in components.css
202
- - componentTest.css added with common animation break css rules
203
-
204
- #0.0.1-beta.59
205
-
206
- - vendor files exclude from app
207
- - since the chunk hash issue, moduleIds configured as named
208
-
209
- #0.0.1-beta.58
210
-
211
- - Push result json with the report zip
212
- - screenshot-test library Version update
213
-
214
- #0.0.1-beta.57
215
-
216
- - vendor chunk split issue fix
217
-
218
- #0.0.1-beta.56
219
-
220
- - css ordering issue fix
221
-
222
- #0.0.1-beta.55
223
-
224
- - prod build performance changes
225
- - css duplication issue fix
226
- - root chunk splitting logic change
227
-
228
- #0.0.1-beta.54
229
-
230
- - increased css hash size 5 to 10
231
-
232
- #0.0.1-beta.53
233
-
234
- - generate json file for all the test results during test run
235
- - sstest version update
236
- - some issue fixes
237
-
238
- #0.0.1-beta.52
239
-
240
- - template src folder missed issue fix because of npmignore all src folder
241
-
242
- #0.0.1-beta.51
243
-
244
- - template app updated with redux and router by kumaresan(thala)
245
-
246
- #0.0.1-beta.50
247
-
248
- - window machine css unique issue fix
249
-
250
- #0.0.1-beta.49
251
-
252
- - dev css unique issue fix
253
-
254
- #0.0.1-beta.48
255
-
256
- - telephony support css unique changes
257
-
258
- #0.0.1-beta.47
259
-
260
- - git pull during the branch switch in ssserver
261
- - common util file for pull and switch the branches for both git and hg
262
-
263
- #0.0.1-beta.46
264
-
265
- - ogg file support and tmpl file support
266
-
267
- #0.0.1-beta.45
268
-
269
- - checkout branch with force during sstest
270
-
271
- #0.0.1-beta.44
272
-
273
- - sstest master trigger issue fix
274
-
275
- #0.0.1-beta.43
276
-
277
- - get component object from docs server by http protocol during sstest
278
- - reach docs server by the IP address of the host.
279
- - get the current branch name by args
280
-
281
- #0.0.1-beta.42
282
-
283
- - className ssTest added and screenshot test version update
284
-
285
- #0.0.1-beta.41
286
-
287
- - i18n replace issue fix
288
-
289
- - some css changes related to above
290
- - screenshottest version update
291
-
292
- #0.0.1-beta.40
293
-
294
- - SSTMiddleware added to get hook from webpack build process to start sstest
295
- - run unit test for commited files except the spec file name from name list
296
- - publicpath added for i18n js files
297
-
298
- #0.0.1-beta.39
299
-
300
- - prod build check issue fix
301
-
302
- #0.0.1-beta.38
303
-
304
- - all unitcase runs only with master option removed
305
- - prod mode in dev setup flag issue fix
306
-
307
- #0.0.1-beta.37
308
-
309
- - removed hash for index.html and add publicpath when run prod mode in dev machine
310
- - screenshot version updated
311
- - docs build log issue fix
312
-
313
- #0.0.1-beta.36
314
-
315
- - reportpublish sh file report generation even if any breakages in test scripts
316
-
317
- #0.0.1-beta.35
318
-
319
- - full run of spec fils only for master option added
320
- - reportpublish sh for screenshot test report template issue fix
321
-
322
- #0.0.1-beta.34
323
-
324
- - monitor mockserver changes without affecting static server
325
-
326
- #0.0.1-beta.33
327
-
328
- - mail sent issue - fix
329
-
330
- #0.0.1-beta.32
331
-
332
- - ssl cert update
333
- - webpack-bundle-analyzer version update (because of npm audit fix)
334
-
335
- #0.0.1-beta.31
336
-
337
- - reportpublicpath plugin rename issue fix
338
-
339
- #0.0.1-beta.30
340
-
341
- - report generate plugin rename
342
- - schema changes for sstest (sstest_remotebranch => sstest_referbranch)
343
- - reportpublish sh update
344
-
345
- #0.0.1-beta.29
346
-
347
- - screenshot version updated
348
- - unit test case commit coverage issue fix
349
-
350
- #0.0.1-beta.28
351
-
352
- - Unitcase coverage for changed files issue fix
353
-
354
- #0.0.1-beta.27
355
-
356
- - prod build size and hash tracking report added
357
-
358
- #0.0.1-beta.26
359
-
360
- - inlined assets and css assets publicpath collide issue fix
361
-
362
- #0.0.1-beta.25
363
-
364
- - inline image public path issue fix
365
- - docs css change for sstest
366
-
367
- #0.0.1-beta.24
368
-
369
- - removed source map generation by default
370
-
371
- #0.0.1-beta.23
372
-
373
- - windows path issue in i18I18NInjectIntoIndexPlugin plugin
374
-
375
- #0.0.1-beta.22
376
-
377
- - unusedfilesplugin issue fixed and print valid info
378
-
379
- #0.0.1-beta.21
380
-
381
- - production build hash details exported in index html
382
-
383
- #0.0.1-beta.20
384
-
385
- - list the name of un documented component file name
386
-
387
- #0.0.1-beta.19
388
-
389
- - publicpath callback plugin added
390
-
391
- #0.0.1-beta.18
392
-
393
- - production build issue fix
394
-
395
- #0.0.1-beta.17
396
-
397
- - redux version downgraded
398
-
399
- #0.0.1-beta.16
400
-
401
- - Babel env and react issue fix
402
-
403
- #0.0.1-beta.15
404
-
405
- - Few issue fixes
406
- - Webpack Manifest Plugin revamped
407
- - @zohodesk/screenshot-test package added
408
-
409
- #0.0.1-beta.14
410
-
411
- - Removed minify option in css-loader config
412
- - Removed optimize-css-assets-webpack-plugin
413
- - Added UglifyCSS webpack plugin
414
- - Packages version up to dated expect babel-loader
415
- - Docs umd build issue fixed
416
- - CSS public path in all configs
417
-
418
- #0.0.1-beta.13
419
-
420
- - Breaking issues fix
421
- - Add eslint config file in project root folder
422
- - Removed hot module and SSR concepts
423
- - Public Path change plugin revamp
424
- - Replaced style-loader with MiniCssExtractPlugin for overall
425
-
426
- #0.0.1-beta.12
427
-
428
- - ResourceHints Plugin added
429
- - able to set public paths for various types of assets
430
- - provided few cli options for existing options
431
- - change ext of files while copy
432
- - cache directory issue fix in dev mode
433
- - script instrument loader added
434
- - eslint windows machine issue fix
435
-
436
- #0.0.1-beta.11
437
-
438
- - css module extension changed to .modules.css from .mcss
439
-
440
- #0.0.1-beta.10
441
-
442
- - css module related changes
443
- - unit test case breaking issue fix
444
-
445
- #0.0.1-beta.9
446
-
447
- - dynamic import support
448
- - unit test case issue fix
449
-
450
- #0.0.1-beta.8
451
-
452
- - major issue fixes - previous version issues
453
- - eslint new rules added
454
- - reverted babel exclude option
455
-
456
- #0.0.1-beta.7
457
-
458
- - optionally attributes removal - prod mode
459
- - pre-commit issue fixed
460
- - eslint fix option added
461
- - used exclude instead of include in babel loader
462
- - option lookup issue fixed
463
-
464
- #0.0.1-beta.6
465
-
466
- - complext proptypes support for docs
467
-
468
- #0.0.1-beta.5
469
-
470
- - docs slowness issue fix
471
- - jest update issue fix
472
-
473
- #0.0.1-beta.4
474
-
475
- - css chunk related changes
476
- - manifest json related changes
477
- - css bundle issue fixed
478
-
479
- #0.0.1-beta.3
480
-
481
- - slowness issue fixed
482
- - efc build issue fixed
483
-
484
- 0.0.1-beta.2 changes
485
-
486
- - docs changes
487
- - precommit hook issue fix
488
- - compression support
489
- - prod string error fix
490
- - efc build support
491
- - single style tag support
1
+ # React CLI
2
+
3
+ A CLI tool for build modern web application and libraries
4
+
5
+ # 0.0.1-betaa.138.1
6
+ - new feature added for custom extra attribute for dynamically added tags by webpack.
7
+ - To enable this feature you need to enable "react-cli" => "app" => "customAttributes" => "enable"
8
+ - For more [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/9eea8df14e55584b2114b5e484ca8b751a4ba191/src/plugins/CustomAttributePlugin.md)
9
+
10
+ # 0.0.1-beta.138
11
+
12
+ - sstest library version updated
13
+ - unitcase calcluation issues fixed
14
+
15
+
16
+ # 0.0.1-beta.137
17
+ - Third party css files loading issue fix
18
+ # 0.0.1-beta.136
19
+ - eslint support
20
+ # 0.0.1-beta.135
21
+ - windows publish issue
22
+
23
+ # 0.0.1-beta.134
24
+ - Build Issue Fix
25
+ # 0.0.1-beta.133
26
+ - CDN Changes in I18nSplitPlugin
27
+ - nonce support added for i18n chunks
28
+
29
+ # 0.0.1-beta.132
30
+ - CDN Changes in EFC Plugin
31
+ # 0.0.1-beta.131
32
+ - Added Cdn Change Plugin
33
+ # 0.0.1-beta.130
34
+
35
+ - Babel 7 migration, ES6 build generation config and polyfill removal
36
+ - CopyPlugin issue fix
37
+
38
+ #0.0.1-beta.129
39
+
40
+ - Upgraded 'moment' to version 2.29.1 and 'moment-timezone' to version 0.5.32
41
+
42
+ # 0.0.1-beta.128
43
+
44
+ - Added support to generate hash for the third party files(TPHashMappingPlugin)
45
+
46
+ # 0.0.1-beta.127
47
+
48
+ - service worker plugin - to recursively add multiple directories (recursive=true)
49
+
50
+ # 0.0.1-beta.126
51
+
52
+ - issue fix in i18n split plugin
53
+
54
+ ## expremental versions
55
+
56
+ - 0.0.1-beta.121
57
+ - 0.0.1-beta.122
58
+ - 0.0.1-beta.123
59
+ - 0.0.1-beta.124
60
+ - 0.0.1-beta.125
61
+
62
+ # 0.0.1-beta.120
63
+
64
+ - issue fix in third party file copying
65
+
66
+ ## expremental versions
67
+
68
+ - 0.0.1-beta.119
69
+ - 0.0.1-beta.118
70
+
71
+ #0.0.1-beta.117
72
+
73
+ - createSDkFile otion added for efc
74
+ - small fix in i18n split plugin
75
+
76
+ #0.0.1-beta.116
77
+
78
+ - thirdparty package move to build (tpFolder in app config)
79
+
80
+ #0.0.1-beta.115
81
+
82
+ - Added Web worker support
83
+
84
+ #0.0.1-beta.114
85
+
86
+ - i18n split based on chunk
87
+ - to enable i18n chunk spilt you have to add config in you package.json
88
+
89
+ #0.0.1-beta.113
90
+
91
+ - Upgraded 'fz-i18n' package version to 1.2.0-beta.15
92
+
93
+ #0.0.1-beta.112
94
+
95
+ - Duplicate Prefetch Request Issue Fixed (Resource Hint Plugin)
96
+ - Service worker plugin changes
97
+
98
+ #0.0.1-beta.111
99
+
100
+ - hasRTL, selectorReplace Condition Separated
101
+
102
+ #0.0.1-beta.110
103
+
104
+ - SplitChunk Order Issue Fixed
105
+ - https url issue Fixed
106
+
107
+ #0.0.1-beta.109
108
+
109
+ - @zohodesk/screenshottest package version update (19) and log for the gitlab private api to check the response
110
+
111
+ #0.0.1-beta.108
112
+
113
+ - @zohodesk/screenshottest package version update (18)
114
+
115
+ #0.0.1-beta.107
116
+
117
+ - changed component without docs finder added
118
+
119
+ #0.0.1-beta.106
120
+
121
+ - custom chunk support changes
122
+ - css absolute url fix
123
+
124
+ #0.0.1-beta.105
125
+
126
+ - @zohodesk/screenshottest package version update (17) with the issue fix
127
+
128
+ #0.0.1-beta.104
129
+
130
+ - ModuleStatsPlugin inject false option added to solve the webpack build twice issue
131
+
132
+ #0.0.1-beta.103
133
+
134
+ - @zohodesk/screenshottest package version update (16) with the issue fix
135
+
136
+ #0.0.1-beta.102
137
+
138
+ - @zohodesk/screenshottest package version update (15) with the issue fix
139
+
140
+ #0.0.1-beta.101
141
+
142
+ - 100 changes readme missing
143
+ - bundle analyser changes
144
+
145
+ #0.0.1-beta.100
146
+
147
+ - @zohodesk/screenshottest package version update with the issue fix
148
+ - font public path replace issue for url fonts - fixed
149
+
150
+ #0.0.1-beta.99
151
+
152
+ - can't publish already published
153
+
154
+ #0.0.1-beta.98
155
+
156
+ - defer break public path adding regex - fixed
157
+
158
+ #0.0.1-beta.97
159
+
160
+ - added 'babel-plugin-transform-react-remove-prop-types' in package.json (missed earlier)
161
+
162
+ #0.0.1-beta.96
163
+
164
+ - html plugin inject option expose and version udpate 4.2.0
165
+ - src html change i18n removal issue fix
166
+ - script loading defer added
167
+ - added babel plugin to remove proptypes
168
+
169
+ #0.0.1-beta.95
170
+
171
+ - schemas/index.js - issue fix
172
+
173
+ #0.0.1-beta.94
174
+
175
+ - screenshot test library version update
176
+ - ssserver issue fix
177
+
178
+ #0.0.1-beta.93
179
+
180
+ - selector replacer for Help Center usecase
181
+ - eslint performance plugin
182
+ - css classname hash selector support for docs
183
+ - service worker plugin
184
+
185
+ #0.0.1-beta.92
186
+
187
+ - docs ui fixes and edit mode
188
+ - @zohodesk/datetimejs version update
189
+
190
+ #0.0.1-beta.91
191
+
192
+ - repo clone command pull issue fix
193
+ - docs css change
194
+ - SSTest package version downgrade
195
+
196
+ #0.0.1-beta.90
197
+
198
+ - added support for copying Timezone data from @zohodesk/datetimejs
199
+ - docstool changes
200
+
201
+ #0.0.1-beta.89
202
+
203
+ - CSP nonce support for initial assets `{{--CSP-nonce}}`
204
+ - introduced new mode to disable react warns in dev mode (dev-no-warn)
205
+ - docs ui fix
206
+
207
+ #0.0.1-beta.88
208
+
209
+ - Impact run and Master seperate during SSTEST
210
+ - docs changes
211
+ - filenames and packages addedd in cssHashSelectors option
212
+
213
+ #0.0.1-beta.87
214
+
215
+ - run screenshot test for impacted components
216
+ - seperate master from the CI flow with the HBase storage
217
+ - docs changes
218
+ - coverage percentage check disabled
219
+
220
+ #0.0.1-beta.86
221
+
222
+ - exclude without js changes for unittest
223
+ - express server history fallback refactored
224
+
225
+ #0.0.1-beta.85
226
+
227
+ - i18n placeholder removal issue fixed
228
+ - css classname prefix moved to option. default is zd
229
+
230
+ #0.0.1-beta.84
231
+
232
+ - object spread operator support
233
+
234
+ #0.0.1-beta.83
235
+
236
+ - eslint report type by flag
237
+ - unitcase file exclude array issue fix
238
+ - sstesthack issue fix
239
+
240
+ #0.0.1-beta.82
241
+
242
+ - eslint impact run enable - completed
243
+ - devplugin cleanupstats filename import issue fix
244
+ - coveragecollector return format change
245
+
246
+ #0.0.1-beta.81
247
+
248
+ - unit test case syntax error issue fix - removed unwanted dependency `css-modules-require-hook`
249
+
250
+ #0.0.1-beta.80
251
+
252
+ - unitcase filecoverage testpath issue fix
253
+ - shadowdom support
254
+ - postpublish and sstest hack script
255
+ - dependencies impact list
256
+ - can change runtime chunk's character
257
+ - font preload added
258
+
259
+ #0.0.1-beta.79
260
+
261
+ - unitcase filecoverage added and also codecoverage with dependencies spec added
262
+
263
+ #0.0.1-beta.78
264
+
265
+ - components and dot library's stats added with module stats
266
+ - Mini css extract plugin's unwanted logs removed
267
+ - runtime chunk added in dev mode
268
+ - nodemon windows issue fix
269
+ - testinfo failure missing while can't get coverage
270
+ - performance eslint plugin added and normalizer moved under zohodesk
271
+
272
+ #0.0.1-beta.77
273
+
274
+ - @zohodesk/eslint-plugin-zsecurity version update
275
+ - git pull origin with branch name while screenshot test after the branch switch
276
+
277
+ #0.0.1-beta.76
278
+
279
+ - breaking issue fix from last version ( prod config issue )
280
+
281
+ #0.0.1-beta.75
282
+
283
+ - sstest - reinstall dependencies after switch branch
284
+
285
+ #0.0.1-beta.74
286
+
287
+ - docs provider support (Component.\_provider)
288
+
289
+ #0.0.1-beta.73
290
+
291
+ #0.0.1-beta.72
292
+
293
+ - run eslint security rules option enable
294
+ - add the reportURL with the result.json file
295
+ - mock server post api issue fix
296
+
297
+ #0.0.1-beta.71
298
+
299
+ - publicpath hard coding while flatten build issue fix
300
+
301
+ #0.0.1-beta.70
302
+
303
+ - css class compression flag enable
304
+ - docs src URL update
305
+
306
+ #0.0.1-beta.69
307
+
308
+ - babel-plugin-transform-dynamic-import library with webpack.docs.config.js for docs service
309
+ - babel-lodash plugin fix with getdevplugin
310
+ - cursor blink issue fix for sstest
311
+ - in result.json unitcase coverage verified boolean added
312
+
313
+ #0.0.1-beta.68
314
+
315
+ - rtl ignore [dir] changes
316
+
317
+ #0.0.1-beta.67
318
+
319
+ - babel-plugin-transform-dynamic-import library added with package.json
320
+ - schema change with hostname cli option s
321
+
322
+ #0.0.1-beta.66
323
+
324
+ - mockport hard coded issue fix
325
+
326
+ #0.0.1-beta.65
327
+
328
+ - window rtl build issue fix
329
+ - separate rtl build support added like react-cli rtl ./src ./lib
330
+
331
+ #0.0.1-beta.64
332
+
333
+ - postcss-rtl issue temp fix so move to @zohodesk/postcss-rtl
334
+
335
+ #0.0.1-beta.63
336
+
337
+ - LTR & RTL support added
338
+
339
+ #0.0.1-beta.62
340
+
341
+ - componentTest.css entry in components.html
342
+
343
+ #0.0.1-beta.60
344
+
345
+ - SSTMiddleware hook added for ssserver
346
+ - remove some unwanted class in components.css
347
+ - componentTest.css added with common animation break css rules
348
+
349
+ #0.0.1-beta.59
350
+
351
+ - vendor files exclude from app
352
+ - since the chunk hash issue, moduleIds configured as named
353
+
354
+ #0.0.1-beta.58
355
+
356
+ - Push result json with the report zip
357
+ - screenshot-test library Version update
358
+
359
+ #0.0.1-beta.57
360
+
361
+ - vendor chunk split issue fix
362
+
363
+ #0.0.1-beta.56
364
+
365
+ - css ordering issue fix
366
+
367
+ #0.0.1-beta.55
368
+
369
+ - prod build performance changes
370
+ - css duplication issue fix
371
+ - root chunk splitting logic change
372
+
373
+ #0.0.1-beta.54
374
+
375
+ - increased css hash size 5 to 10
376
+
377
+ #0.0.1-beta.53
378
+
379
+ - generate json file for all the test results during test run
380
+ - sstest version update
381
+ - some issue fixes
382
+
383
+ #0.0.1-beta.52
384
+
385
+ - template src folder missed issue fix because of npmignore all src folder
386
+
387
+ #0.0.1-beta.51
388
+
389
+ - template app updated with redux and router by kumaresan(thala)
390
+
391
+ #0.0.1-beta.50
392
+
393
+ - window machine css unique issue fix
394
+
395
+ #0.0.1-beta.49
396
+
397
+ - dev css unique issue fix
398
+
399
+ #0.0.1-beta.48
400
+
401
+ - telephony support css unique changes
402
+
403
+ #0.0.1-beta.47
404
+
405
+ - git pull during the branch switch in ssserver
406
+ - common util file for pull and switch the branches for both git and hg
407
+
408
+ #0.0.1-beta.46
409
+
410
+ - ogg file support and tmpl file support
411
+
412
+ #0.0.1-beta.45
413
+
414
+ - checkout branch with force during sstest
415
+
416
+ #0.0.1-beta.44
417
+
418
+ - sstest master trigger issue fix
419
+
420
+ #0.0.1-beta.43
421
+
422
+ - get component object from docs server by http protocol during sstest
423
+ - reach docs server by the IP address of the host.
424
+ - get the current branch name by args
425
+
426
+ #0.0.1-beta.42
427
+
428
+ - className ssTest added and screenshot test version update
429
+
430
+ #0.0.1-beta.41
431
+
432
+ - i18n replace issue fix
433
+
434
+ - some css changes related to above
435
+ - screenshottest version update
436
+
437
+ #0.0.1-beta.40
438
+
439
+ - SSTMiddleware added to get hook from webpack build process to start sstest
440
+ - run unit test for commited files except the spec file name from name list
441
+ - publicpath added for i18n js files
442
+
443
+ #0.0.1-beta.39
444
+
445
+ - prod build check issue fix
446
+
447
+ #0.0.1-beta.38
448
+
449
+ - all unitcase runs only with master option removed
450
+ - prod mode in dev setup flag issue fix
451
+
452
+ #0.0.1-beta.37
453
+
454
+ - removed hash for index.html and add publicpath when run prod mode in dev machine
455
+ - screenshot version updated
456
+ - docs build log issue fix
457
+
458
+ #0.0.1-beta.36
459
+
460
+ - reportpublish sh file report generation even if any breakages in test scripts
461
+
462
+ #0.0.1-beta.35
463
+
464
+ - full run of spec fils only for master option added
465
+ - reportpublish sh for screenshot test report template issue fix
466
+
467
+ #0.0.1-beta.34
468
+
469
+ - monitor mockserver changes without affecting static server
470
+
471
+ #0.0.1-beta.33
472
+
473
+ - mail sent issue - fix
474
+
475
+ #0.0.1-beta.32
476
+
477
+ - ssl cert update
478
+ - webpack-bundle-analyzer version update (because of npm audit fix)
479
+
480
+ #0.0.1-beta.31
481
+
482
+ - reportpublicpath plugin rename issue fix
483
+
484
+ #0.0.1-beta.30
485
+
486
+ - report generate plugin rename
487
+ - schema changes for sstest (sstest_remotebranch => sstest_referbranch)
488
+ - reportpublish sh update
489
+
490
+ #0.0.1-beta.29
491
+
492
+ - screenshot version updated
493
+ - unit test case commit coverage issue fix
494
+
495
+ #0.0.1-beta.28
496
+
497
+ - Unitcase coverage for changed files issue fix
498
+
499
+ #0.0.1-beta.27
500
+
501
+ - prod build size and hash tracking report added
502
+
503
+ #0.0.1-beta.26
504
+
505
+ - inlined assets and css assets publicpath collide issue fix
506
+
507
+ #0.0.1-beta.25
508
+
509
+ - inline image public path issue fix
510
+ - docs css change for sstest
511
+
512
+ #0.0.1-beta.24
513
+
514
+ - removed source map generation by default
515
+
516
+ #0.0.1-beta.23
517
+
518
+ - windows path issue in i18I18NInjectIntoIndexPlugin plugin
519
+
520
+ #0.0.1-beta.22
521
+
522
+ - unusedfilesplugin issue fixed and print valid info
523
+
524
+ #0.0.1-beta.21
525
+
526
+ - production build hash details exported in index html
527
+
528
+ #0.0.1-beta.20
529
+
530
+ - list the name of un documented component file name
531
+
532
+ #0.0.1-beta.19
533
+
534
+ - publicpath callback plugin added
535
+
536
+ #0.0.1-beta.18
537
+
538
+ - production build issue fix
539
+
540
+ #0.0.1-beta.17
541
+
542
+ - redux version downgraded
543
+
544
+ #0.0.1-beta.16
545
+
546
+ - Babel env and react issue fix
547
+
548
+ #0.0.1-beta.15
549
+
550
+ - Few issue fixes
551
+ - Webpack Manifest Plugin revamped
552
+ - @zohodesk/screenshot-test package added
553
+
554
+ #0.0.1-beta.14
555
+
556
+ - Removed minify option in css-loader config
557
+ - Removed optimize-css-assets-webpack-plugin
558
+ - Added UglifyCSS webpack plugin
559
+ - Packages version up to dated expect babel-loader
560
+ - Docs umd build issue fixed
561
+ - CSS public path in all configs
562
+
563
+ #0.0.1-beta.13
564
+
565
+ - Breaking issues fix
566
+ - Add eslint config file in project root folder
567
+ - Removed hot module and SSR concepts
568
+ - Public Path change plugin revamp
569
+ - Replaced style-loader with MiniCssExtractPlugin for overall
570
+
571
+ #0.0.1-beta.12
572
+
573
+ - ResourceHints Plugin added
574
+ - able to set public paths for various types of assets
575
+ - provided few cli options for existing options
576
+ - change ext of files while copy
577
+ - cache directory issue fix in dev mode
578
+ - script instrument loader added
579
+ - eslint windows machine issue fix
580
+
581
+ #0.0.1-beta.11
582
+
583
+ - css module extension changed to .modules.css from .mcss
584
+
585
+ #0.0.1-beta.10
586
+
587
+ - css module related changes
588
+ - unit test case breaking issue fix
589
+
590
+ #0.0.1-beta.9
591
+
592
+ - dynamic import support
593
+ - unit test case issue fix
594
+
595
+ #0.0.1-beta.8
596
+
597
+ - major issue fixes - previous version issues
598
+ - eslint new rules added
599
+ - reverted babel exclude option
600
+
601
+ #0.0.1-beta.7
602
+
603
+ - optionally attributes removal - prod mode
604
+ - pre-commit issue fixed
605
+ - eslint fix option added
606
+ - used exclude instead of include in babel loader
607
+ - option lookup issue fixed
608
+
609
+ #0.0.1-beta.6
610
+
611
+ - complext proptypes support for docs
612
+
613
+ #0.0.1-beta.5
614
+
615
+ - docs slowness issue fix
616
+ - jest update issue fix
617
+
618
+ #0.0.1-beta.4
619
+
620
+ - css chunk related changes
621
+ - manifest json related changes
622
+ - css bundle issue fixed
623
+
624
+ #0.0.1-beta.3
625
+
626
+ - slowness issue fixed
627
+ - efc build issue fixed
628
+
629
+ 0.0.1-beta.2 changes
630
+
631
+ - docs changes
632
+ - precommit hook issue fix
633
+ - compression support
634
+ - prod string error fix
635
+ - efc build support
636
+ - single style tag support