@zohodesk/react-cli 1.1.5-exp.1 → 1.1.5-exp.2

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