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

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