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