@zohodesk/react-cli 1.1.3 → 1.1.4-exp.2

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