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

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