@zohodesk/react-cli 0.0.1-test.148.3 → 1.0.0

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