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

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