@zohodesk/react-cli 1.0.3-beta.1 → 1.0.3-exp.2

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