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

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