@zohodesk/react-cli 0.0.1-test.148.2 → 1.0.0-exp.1

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