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