@zohodesk/react-cli 0.0.1-beta.17 → 0.0.1-beta.170

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 (292) hide show
  1. package/.eslintignore +1 -0
  2. package/.eslintrc.js +49 -10
  3. package/.prettierrc +6 -0
  4. package/CHANGELOG.md +5 -0
  5. package/README.md +855 -0
  6. package/bin/cli.js +215 -46
  7. package/cert/Tsicsezwild-22-23.crt +37 -0
  8. package/cert/Tsicsezwild-22-23.key +27 -0
  9. package/docs/CustomChunks.md +26 -0
  10. package/docs/DevStart.md +18 -0
  11. package/docs/HoverActive.md +12 -0
  12. package/docs/InstallNode.md +28 -0
  13. package/docs/TODOS.md +10 -0
  14. package/docs/ValueReplacer.md +60 -0
  15. package/docs/warnings_while_install.txt +35 -0
  16. package/files/eslintrc.js +62 -0
  17. package/files/prettierrc.js +3 -0
  18. package/lib/babel/cmjs-plugins-presets.js +24 -0
  19. package/lib/babel/es-plugins-presets.js +34 -0
  20. package/lib/common/getEntries.js +33 -46
  21. package/lib/common/getPublicPathConfig.js +40 -0
  22. package/lib/common/index.js +24 -19
  23. package/lib/common/splitChunks.js +110 -25
  24. package/lib/common/sslcertUpdater.js +59 -0
  25. package/lib/common/templateParameters.js +25 -0
  26. package/lib/common/testPattern.js +69 -0
  27. package/lib/common/valueReplacer.js +55 -0
  28. package/lib/configs/jest.config.js +31 -27
  29. package/lib/configs/libAlias.js +31 -0
  30. package/lib/configs/webpack.component.umd.config.js +46 -53
  31. package/lib/configs/webpack.css.umd.config.js +47 -46
  32. package/lib/configs/webpack.dev.config.js +98 -84
  33. package/lib/configs/webpack.docs.config.js +64 -57
  34. package/lib/configs/webpack.impact.config.js +108 -0
  35. package/lib/configs/webpack.prod.config.js +146 -104
  36. package/lib/hooks/docsProptypeHook.js +32 -38
  37. package/lib/jest/commitedFilesResult.js +144 -71
  38. package/lib/jest/coverageCollector.js +68 -35
  39. package/lib/jest/jsonMaker.js +54 -0
  40. package/lib/jest/preProcessors/cssPreprocessor.js +16 -18
  41. package/lib/jest/preProcessors/jsPreprocessor.js +5 -6
  42. package/lib/jest/preProcessors/otherFilesPreprocessor.js +5 -6
  43. package/lib/jest/result.js +92 -42
  44. package/lib/jest/run.js +75 -28
  45. package/lib/jest/setup.js +103 -102
  46. package/lib/loaderUtils/configsAssetsLoaders.js +117 -0
  47. package/lib/loaderUtils/getCSSLoaders.js +113 -0
  48. package/lib/loaderUtils/getDevJsLoaders.js +35 -23
  49. package/lib/loaderUtils/index.js +14 -7
  50. package/lib/loaders/docsLoader.js +15 -15
  51. package/lib/loaders/docsPropsLoader.js +14 -17
  52. package/lib/loaders/fileBountryLoader.js +17 -0
  53. package/lib/loaders/fileLoader.js +47 -38
  54. package/lib/loaders/scriptInstrumentLoader.js +23 -20
  55. package/lib/loaders/selectorMappingLoader.js +75 -0
  56. package/lib/loaders/workerLoader.js +136 -0
  57. package/lib/middlewares/HMRMiddleware.js +90 -72
  58. package/lib/middlewares/SSTMiddleware.js +21 -0
  59. package/lib/pluginUtils/getDevPlugins.js +177 -30
  60. package/lib/pluginUtils/getDocsPlugins.js +36 -15
  61. package/lib/pluginUtils/getLibraryImactPlugins.js +23 -0
  62. package/lib/pluginUtils/getLibraryPlugins.js +8 -10
  63. package/lib/pluginUtils/getProdPlugins.js +244 -37
  64. package/lib/pluginUtils/getServerPlugins.js +8 -11
  65. package/lib/pluginUtils/getUMDCSSPlugins.js +14 -18
  66. package/lib/pluginUtils/getUMDComponentPlugins.js +14 -9
  67. package/lib/pluginUtils/index.js +36 -43
  68. package/lib/plugins/CdnChangePlugin.js +77 -0
  69. package/lib/plugins/CleanupStatsPlugin.js +28 -0
  70. package/lib/plugins/EFCPlugin.js +241 -0
  71. package/lib/plugins/EFCPlugin.md +6 -0
  72. package/lib/plugins/EFCTemplatePlugin.js +151 -0
  73. package/lib/plugins/I18NInjectIntoIndexPlugin.js +141 -0
  74. package/lib/plugins/I18nSplitPlugin/I18nDebugPlugin.js +60 -0
  75. package/lib/plugins/I18nSplitPlugin/I18nDependency.js +44 -0
  76. package/lib/plugins/I18nSplitPlugin/I18nDownlodLogic.js +266 -0
  77. package/lib/plugins/I18nSplitPlugin/I18nFilesEmitter.js +183 -0
  78. package/lib/plugins/I18nSplitPlugin/I18nKeysIdentifer.js +100 -0
  79. package/lib/plugins/I18nSplitPlugin/I18nSplit.md +95 -0
  80. package/lib/plugins/I18nSplitPlugin/README.md +25 -0
  81. package/lib/plugins/I18nSplitPlugin/index.js +185 -0
  82. package/lib/plugins/I18nSplitPlugin/utils/collectI18nKeys.js +64 -0
  83. package/lib/plugins/I18nSplitPlugin/utils/getI18nFileUrlPathTemplate.js +13 -0
  84. package/lib/plugins/I18nSplitPlugin/utils/getI18nKeysFormModules.js +26 -0
  85. package/lib/plugins/I18nSplitPlugin/utils/hashUtils.js +40 -0
  86. package/lib/plugins/I18nSplitPlugin/utils/index.js +31 -0
  87. package/lib/plugins/I18nSplitPlugin/utils/propertiesUtils.js +112 -0
  88. package/lib/plugins/ManifestPlugin.js +86 -0
  89. package/lib/plugins/ModuleStatsPlugin.js +98 -97
  90. package/lib/plugins/OptimizeJSPlugin.js +41 -0
  91. package/lib/plugins/PublicPathCallbackPlugin.js +63 -0
  92. package/lib/plugins/PublicPathChangePlugin.js +226 -0
  93. package/lib/plugins/ReportGeneratePlugin.js +181 -0
  94. package/lib/plugins/RequireVariablePublicPlugin.js +30 -0
  95. package/lib/plugins/ResourceHintsPlugin.js +67 -0
  96. package/lib/plugins/RtlSplitPlugin/OverwriteCssPathForRTL.js +80 -0
  97. package/lib/plugins/RtlSplitPlugin/RtlCssPlugin.js +82 -0
  98. package/lib/plugins/RtlSplitPlugin/RtrSplit.md +30 -0
  99. package/lib/plugins/RtlSplitPlugin/replaceCssDirTemplate.js +26 -0
  100. package/lib/plugins/ScriptInstrumentPlugin.js +22 -37
  101. package/lib/plugins/ServiceWorkerPlugin.js +107 -0
  102. package/lib/plugins/ShadowDOMSupportPlugin.js +270 -0
  103. package/lib/plugins/SourceMapHookPlugin.js +25 -59
  104. package/lib/plugins/TPHashMappingPlugin.js +67 -0
  105. package/lib/plugins/UglifyCSSPlugin.js +39 -0
  106. package/lib/plugins/UnusedFilesFindPlugin.js +150 -97
  107. package/lib/plugins/index.js +127 -37
  108. package/lib/plugins/libraryImpactPlugin.js +190 -0
  109. package/lib/plugins/webpackwatchrunplugin.js +26 -0
  110. package/lib/postcss-plugins/ExcludePlugin.js +23 -0
  111. package/lib/postcss-plugins/RTLSplitPlugin.js +138 -0
  112. package/lib/postcss-plugins/ValueReplacer.js +46 -0
  113. package/lib/postcss-plugins/__test__/hoverActivePlugin.spec.js +22 -0
  114. package/lib/postcss-plugins/__test__/test1Input.css +39 -0
  115. package/lib/postcss-plugins/__test__/test1Output.css +39 -0
  116. package/lib/postcss-plugins/hoverActivePlugin.js +365 -0
  117. package/lib/postcss-plugins/variableModifier.js +243 -0
  118. package/lib/schemas/index.js +534 -66
  119. package/lib/servers/clusterHubServer.js +22 -26
  120. package/lib/servers/devBuild.js +102 -0
  121. package/lib/servers/docsServer.js +3 -5
  122. package/lib/servers/docsServerCore.js +94 -79
  123. package/lib/servers/getCliPath.js +28 -0
  124. package/lib/servers/helpServer.js +19 -21
  125. package/lib/servers/httpsOptions.js +18 -0
  126. package/lib/servers/impactServer.js +123 -115
  127. package/lib/servers/mockserver.js +44 -0
  128. package/lib/servers/nowatchserver.js +200 -0
  129. package/lib/servers/scrServer.js +147 -0
  130. package/lib/servers/server.js +134 -132
  131. package/lib/servers/ssServer.js +106 -70
  132. package/lib/sh/reportPublish.sh +16 -10
  133. package/lib/templates/CoverageScriptTemplate.js +45 -18
  134. package/lib/templates/WMSTemplate.js +17 -18
  135. package/lib/templates/linterConstant.js +10 -0
  136. package/lib/utils/babelPresets.js +12 -4
  137. package/lib/utils/buildstats.html +148 -0
  138. package/lib/utils/clean.js +12 -11
  139. package/lib/utils/copy.js +16 -109
  140. package/lib/utils/copyTimezones.js +21 -0
  141. package/lib/utils/createEventStream.js +24 -19
  142. package/lib/utils/cssClassNameGenerate.js +77 -0
  143. package/lib/utils/cssURLReplacer.js +136 -0
  144. package/lib/utils/dependencyPostPublish.js +42 -0
  145. package/lib/utils/fileUtils.js +125 -0
  146. package/lib/utils/folderIterator.js +47 -0
  147. package/lib/utils/getComponents.js +126 -0
  148. package/lib/utils/getCurrentBranch.js +11 -17
  149. package/lib/utils/getDependenciesImpactList.js +151 -0
  150. package/lib/utils/getHash.js +26 -0
  151. package/lib/utils/getIp.js +20 -0
  152. package/lib/utils/getOptions.js +113 -28
  153. package/lib/utils/getServerURL.js +25 -8
  154. package/lib/utils/index.js +283 -68
  155. package/lib/utils/init.js +2 -2
  156. package/lib/utils/initPreCommitHook.js +47 -27
  157. package/lib/utils/jsonHelper.js +106 -0
  158. package/lib/utils/libraryImpactConfig.js +63 -0
  159. package/lib/utils/lint/addScripts.js +27 -0
  160. package/lib/utils/lint/checkExistingConfig.js +67 -0
  161. package/lib/utils/lint/copyConfigs.js +24 -0
  162. package/lib/utils/lint/index.js +54 -0
  163. package/lib/utils/lint/lintScripts.js +11 -0
  164. package/lib/utils/lint/lintSetup.js +31 -0
  165. package/lib/utils/lint/lintStagedPreCommitHook.js +7 -0
  166. package/lib/utils/lint/question.js +30 -0
  167. package/lib/utils/lintReporter.js +142 -0
  168. package/lib/utils/mailSender.js +16 -25
  169. package/lib/utils/pullOrigin.js +28 -0
  170. package/lib/utils/reinstallDependencies.js +133 -0
  171. package/lib/utils/removeAttributes.js +25 -23
  172. package/lib/utils/repoClone.js +59 -63
  173. package/lib/utils/request.js +64 -77
  174. package/lib/utils/resultSchema.json +73 -0
  175. package/lib/utils/rtl.js +59 -0
  176. package/lib/utils/setEnvVariables.js +13 -0
  177. package/lib/utils/ssTestHack.js +48 -0
  178. package/lib/utils/switchBranch.js +28 -0
  179. package/lib/utils/urlConcat.js +22 -0
  180. package/lib/utils/useExitCleanup.js +55 -0
  181. package/npm8.md +9 -0
  182. package/package.json +96 -64
  183. package/postpublish.js +6 -0
  184. package/templates/app/.eslintrc.js +140 -0
  185. package/templates/app/README.md +12 -12
  186. package/templates/app/app/index.html +24 -8
  187. package/templates/app/app/properties/ApplicationResources_en_US.properties +1 -1
  188. package/templates/app/app/properties/i18nkeys.json +3 -3
  189. package/templates/app/docs/all.html +69 -69
  190. package/templates/app/mockapi/index.js +18 -13
  191. package/templates/app/package.json +37 -17
  192. package/templates/app/src/actions/SampleActions/index.js +37 -0
  193. package/templates/app/src/actions/index.js +65 -0
  194. package/templates/app/src/appUrls.js +19 -0
  195. package/templates/app/src/components/Alert/Alert.js +134 -0
  196. package/templates/app/src/components/Alert/Alert.module.css +79 -0
  197. package/templates/app/src/components/FreezeLayer/FreezeLayer.css +37 -0
  198. package/templates/app/src/components/FreezeLayer/FreezeLayer.js +84 -0
  199. package/templates/app/src/components/Sample/Sample.module.css +11 -0
  200. package/templates/app/src/components/Sample/SampleList.js +61 -0
  201. package/templates/app/src/components/Slider/Slider.css +41 -0
  202. package/templates/app/src/components/Slider/Slider.js +55 -0
  203. package/templates/app/src/containers/AlertContainer/index.js +15 -0
  204. package/templates/app/src/containers/AppContainer/index.js +96 -0
  205. package/templates/app/src/containers/AppContainer/index.module.css +27 -0
  206. package/templates/app/src/containers/CustomMatch/index.js +65 -0
  207. package/templates/app/src/containers/DevTools/index.js +10 -0
  208. package/templates/app/src/containers/Header/index.js +67 -0
  209. package/templates/app/src/containers/Header/index.module.css +43 -0
  210. package/templates/app/src/containers/Redirect/index.js +63 -0
  211. package/templates/app/src/containers/Redirector/index.js +47 -0
  212. package/templates/app/src/containers/SampleListContainer/ListContainer.js +42 -0
  213. package/templates/app/src/containers/SampleListContainer/ListContainer.module.css +3 -0
  214. package/templates/app/src/historyChange.js +5 -0
  215. package/templates/app/src/index.html +10 -0
  216. package/templates/app/src/index.js +24 -0
  217. package/templates/app/src/middleware/PromiseMiddleware.js +59 -0
  218. package/templates/app/src/reducers/alertData.js +11 -0
  219. package/templates/app/src/reducers/index.js +6 -0
  220. package/templates/app/src/reducers/samples.js +19 -0
  221. package/templates/app/src/store/configureStore.dev.js +51 -0
  222. package/templates/app/src/store/configureStore.js +5 -0
  223. package/templates/app/src/store/configureStore.prod.js +26 -0
  224. package/templates/app/src/util/Common.js +5 -0
  225. package/templates/app/src/util/RequestAPI.js +132 -0
  226. package/templates/appold/README.md +12 -0
  227. package/templates/appold/app/index.html +8 -0
  228. package/templates/appold/app/properties/ApplicationResources_en_US.properties +1 -0
  229. package/templates/appold/app/properties/i18nkeys.json +3 -0
  230. package/templates/appold/docs/all.html +69 -0
  231. package/templates/appold/mockapi/index.js +13 -0
  232. package/templates/{app → appold}/mockapi/tickets.json +0 -0
  233. package/templates/appold/package.json +17 -0
  234. package/templates/appold/src/components/Text/Text.css +0 -0
  235. package/templates/appold/src/components/Text/Text.js +23 -0
  236. package/templates/appold/src/components/Text/__tests__/Text.spec.js +30 -0
  237. package/templates/appold/src/components/Text/docs/Text__default.docs.js +16 -0
  238. package/templates/appold/src/components/docs.js +1 -0
  239. package/templates/appold/src/components/index.js +5 -0
  240. package/templates/appold/src/index.js +13 -0
  241. package/templates/docs/all.html +1 -1
  242. package/templates/docs/component.html +110 -69
  243. package/templates/docs/components.html +221 -0
  244. package/templates/docs/css/component.css +12 -14
  245. package/templates/docs/css/componentTest.css +7 -0
  246. package/templates/docs/css/style.css +150 -206
  247. package/templates/docs/impactReportTemplate.html +154 -0
  248. package/templates/docs/index.html +1482 -1336
  249. package/templates/library/src/index.js +0 -0
  250. package/.npmignore +0 -3
  251. package/cert/cert.pem +0 -129
  252. package/cert/key.pem +0 -27
  253. package/lib/common/getInsertAt.js +0 -36
  254. package/lib/common/getInsertIntoFunction.js +0 -13
  255. package/lib/configs/webpack.server.config.js +0 -93
  256. package/lib/plugins/ChunkManifestReplacePlugin.js +0 -94
  257. package/lib/plugins/RuntimePublicPathPlugin.js +0 -46
  258. package/lib/rmcntrlm.sh +0 -14
  259. package/lib/servers/nodeServer.js +0 -238
  260. package/lib/templates/HMRTemplate.js +0 -256
  261. package/lib/templates/publicPathTemplate.js +0 -16
  262. package/lib/utils/setConfig.js +0 -14
  263. package/node_modules/history/CHANGES.md +0 -395
  264. package/node_modules/history/DOMUtils.js +0 -3
  265. package/node_modules/history/ExecutionEnvironment.js +0 -3
  266. package/node_modules/history/LICENSE +0 -21
  267. package/node_modules/history/LocationUtils.js +0 -3
  268. package/node_modules/history/PathUtils.js +0 -3
  269. package/node_modules/history/README.md +0 -282
  270. package/node_modules/history/cjs/history.js +0 -933
  271. package/node_modules/history/cjs/history.min.js +0 -1
  272. package/node_modules/history/createBrowserHistory.js +0 -3
  273. package/node_modules/history/createHashHistory.js +0 -3
  274. package/node_modules/history/createMemoryHistory.js +0 -3
  275. package/node_modules/history/createTransitionManager.js +0 -3
  276. package/node_modules/history/es/DOMUtils.js +0 -7
  277. package/node_modules/history/es/ExecutionEnvironment.js +0 -7
  278. package/node_modules/history/es/LocationUtils.js +0 -7
  279. package/node_modules/history/es/PathUtils.js +0 -7
  280. package/node_modules/history/es/createBrowserHistory.js +0 -7
  281. package/node_modules/history/es/createHashHistory.js +0 -7
  282. package/node_modules/history/es/createMemoryHistory.js +0 -7
  283. package/node_modules/history/es/createTransitionManager.js +0 -7
  284. package/node_modules/history/es/warnAboutDeprecatedESMImport.js +0 -35
  285. package/node_modules/history/esm/history.js +0 -904
  286. package/node_modules/history/index.js +0 -7
  287. package/node_modules/history/package.json +0 -134
  288. package/node_modules/history/umd/history.js +0 -1059
  289. package/node_modules/history/umd/history.min.js +0 -1
  290. package/node_modules/history/warnAboutDeprecatedCJSRequire.js +0 -35
  291. package/templates/app/.npmignore +0 -9
  292. package/templates/library/.npmignore +0 -9
package/README.md CHANGED
@@ -2,6 +2,861 @@
2
2
 
3
3
  A CLI tool for build modern web application and libraries
4
4
 
5
+ # 0.0.1-beta.170
6
+
7
+ this version has same as `0.0.1-exp.169.1`, `0.0.1-exp.169.2`
8
+
9
+ # 0.0.1-exp.169.2
10
+
11
+ 1. flags are converted to one variable 'plugin' and used in getCssLoaders.js.
12
+ 2. files for exclusion can be put in seperate arrays in 'exclude' present in package.json.
13
+ 3. `combinerMq` has been converted to `combinerMediaQuery` for clarity.
14
+
15
+ # 0.0.1-exp.169.1
16
+
17
+ File support added for mp4 for docs dev and prod mode
18
+
19
+ # 0.0.1-beta.169
20
+
21
+ 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
22
+
23
+ 1. `--efc_version=v3` flag added for change efc version via commmand line option
24
+ 2. `hoverActive` flag added for conversion from usual hover to @media(hover:hover) and @media(hover:none) queries for hover support in mobile.
25
+ 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.
26
+
27
+ # 0.0.1-exp.168.3
28
+
29
+ Changes :
30
+
31
+ 1. code optimization ( made functions for the hoverActive cases making it more easier to access)
32
+ 2. handled `hover:ignore`, `active:ignore`, `hoverActive:ignore` cases for usual queries and media queries
33
+
34
+ # 0.0.1-exp.168.2
35
+
36
+ Changes :
37
+
38
+ 1. hoverActive case handled with postcss `hover:hover` media query and `hover:none` media query is added
39
+ 2. flag for hoverActive used to add/remove postcss changes
40
+
41
+ # 0.0.1-exp.168.1
42
+
43
+ Changes:-
44
+
45
+ 1. `cliRootPath` option removed `react-cli.app.cliRootPath` in `package.json`
46
+ Due to the reason we updated our logic to find package's executable path.
47
+ 2. `--efc_output_file=efc-sdk-[version].js` option added to modify efc output file by terminal
48
+ 3. added logic to print error message during command run, Previously when executable not found error messages not printed
49
+
50
+ # 0.0.1-beta.168
51
+
52
+ Changes:-
53
+
54
+ 1. `enableChunkHash` option enabled for dev mode, use it as `react-cli.app.enableChunkHash` in `package.json`
55
+ 2. `--enable_efc=true` option added to enable efc by terminal
56
+ 3. unwanted pem files removed
57
+
58
+ # 0.0.1-beta.167
59
+
60
+ SSL certificate update
61
+ this version has same as `0.0.1-exp.166.1`, `0.0.1-exp.166.2` and below and some minor changes
62
+ Features:-
63
+
64
+ - `--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
65
+ - Example `react-cli clone --clone_type=git --clone_url=https://some.url --shallow_clone`
66
+ - `cliRootPath` option added for npm workspace related path problems
67
+ - Usage `package.json` , "react-cli" => "cliRootPath" stright key
68
+ - `unstableDepsInverse` option added for use app need library first priority over react-cli packages
69
+ - Usage `package.json` , "react-cli" => "unstableDepsInverse" stright key
70
+
71
+ Issue Fix :-
72
+
73
+ - In devmode initial html not recived after second rebuild issue fix.
74
+ - typo fix `devBulid` to `devBuild`.
75
+ - `disableES5Transpile` option missed in docs now added.
76
+ - docs libAlias not work as app for example in app we always take `es` folder to build for treshaking and reasons,
77
+ But that option not enabled in docs. now it is enabled.
78
+ - In `react-cli devbuild` command options not working properly,
79
+ when above command run via terminal not via npm run script options not working
80
+ So we send that options to webpack then it works as expected.
81
+ this behaviour need to check across os and need to be cross check with other commends as well for now we only fixed this
82
+
83
+ # 0.0.1-exp.166.2
84
+
85
+ Changes:-
86
+
87
+ - `-w` option (watch option) added for `react-cli rtl`
88
+ - Example `react-cli rtl ./src ./lib -w`
89
+ <!-- need to handle `react-cli rtl` options correctly -->
90
+ - disableES5Transpile option libAlias added for docs
91
+
92
+ # 0.0.1-exp.166.1
93
+
94
+ Changes:-
95
+
96
+ - `__testUtils__/globals.js` to jest is not mantatory
97
+ - disableES5Transpile option libAlias added
98
+
99
+ # 0.0.1-beta.166
100
+
101
+ this version has same as `# 0.0.1-exp.164.1`, `# 0.0.1-exp.164.2` and below and some minor changes
102
+
103
+ - google chorme cors preflight issue fix
104
+
105
+ # 0.0.1-beta.165
106
+
107
+ - `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)
108
+ - `valuereplacer` option added in react-cli it takes three
109
+ 1. sourceDir
110
+ 2. distDir
111
+ 3. `copyAll` is boolean flag which is for copy all other file or not. "true" means copy all files.
112
+
113
+ # 0.0.1-exp.164.1
114
+
115
+ - extra features in custom chunks reffer [this](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/CustomChunks.md)
116
+
117
+ # 0.0.1-exp.164.2
118
+
119
+ - `devbuild` option add to react cli
120
+
121
+ # 0.0.1-beta.164
122
+
123
+ - typo fix
124
+
125
+ # 0.0.1-beta.163
126
+
127
+ - **Issue Fix:-**
128
+
129
+ - if git not installed react-cli throws error for any command due to `getCurrentBranch` in `shemas/index.js` now fixed
130
+ - jest test cases not runnig issue fix (typo moduleNameMapper => libAlias)
131
+
132
+ - **Features :-**
133
+ - feature added for pre process logic
134
+ - tailer made requirement for preprocess, just write node js file
135
+ - mention file in `"react-cli" => "preprocess" => "runner"`
136
+ - option parse logic added for react-cli (exprimental)
137
+ - `--stop_nodemon` usally preprocessor run in `nodemon` so to stop it this option is provided
138
+
139
+ # 0.0.1-exp.162.2
140
+
141
+ - **Optimazation:-**
142
+ - double time minimize optimazation
143
+
144
+ # 0.0.1-beta.162.1
145
+
146
+ - **Issue Fix:-**
147
+ - if git not installed react-cli throws error for any command due to `getCurrentBranch` in `shemas/index.js` now fixed
148
+
149
+ # 0.0.1-beta.161.1
150
+
151
+ - **Features :-**
152
+ - feature added for pre process logic
153
+ - tailer made requirement for preprocess, just write node js file
154
+ - mention file in `"react-cli" => "preprocess" => "runner"`
155
+ - option parse logic added for react-cli (exprimental)
156
+
157
+ # 0.0.1-beta.162
158
+
159
+ - @zohodesk/datetimejs package updated to beta.8
160
+
161
+ # 0.0.1-beta.161
162
+
163
+ - **Features :-**
164
+ - feature added for efc `templateFilePath` in `package.json` option palce is `"react-cli" => "efc" => "templateFilePath"`
165
+ - `(('publicPath'))` this placeholder will be replace as publicPath string `publicPath`
166
+ - `(('getInitalAssets'))` this placeholder will be replace as function `getInitalAssets`
167
+ - `getInitalAssets` this function has two arguments `assetsType`, `lang`
168
+ - `assetsType` are `js`, `css`, `i18n`
169
+ - `lang` this argument only works when `i18n` is `assetsType`
170
+ - feature added for efc `cdnStatement`
171
+ - **Issue fixes:-**
172
+ - css classname hash change issue fix
173
+ - debug package conflit issue fix in nock in (react-cli test)
174
+ - manifest.json css file name correction issue for rtl and ltr
175
+
176
+ # 0.0.1-exp.161.2
177
+
178
+ - Features
179
+ - feature added for efc `templateFilePath` in `package.json` option palce is `"react-cli" => "efc" `
180
+ - `(('publicPath'))` this placeholder will be replace as publicPath string `publicPath`
181
+ - `(('getInitalAssets'))` this placeholder will be replace as function `getInitalAssets`
182
+ - `getInitalAssets` this function has two arguments `assetsType`, `lang`
183
+ - `assetsType` are `js`, `css`, `i18n`
184
+ - `lang` this argument only works when `i18n` is `assetsType`
185
+
186
+ # 0.0.1-exp.161.1
187
+
188
+ - Features
189
+ - feature added for efc `cdnStatement`
190
+ - Issue fixes:-
191
+ - css classname hash change issue fix
192
+ - debug package conflit issue fix in nock in (react-cli test)
193
+ - manifest.json css file name correction issue for rtl and ltr
194
+
195
+ # 0.0.1-beta.160
196
+
197
+ - @zohodesk/normalizer package version updated to 1.0.2
198
+
199
+ # 0.0.1-beta.159
200
+
201
+ - @zohodesk/datetimejs package updated to beta.7
202
+
203
+ # 0.0.1-exp.159
204
+
205
+ - issue fix:-
206
+ - when rtl ltr css split enable manifest json css filename keys comes with hash .
207
+
208
+ # 0.0.1-beta.158
209
+
210
+ - Removing source map files from service worker caching.
211
+
212
+ # 0.0.1-beta.157
213
+
214
+ - Experimental version issue fix(Dummy version removed)
215
+
216
+ # 0.0.1-beta.156
217
+
218
+ - ReportPublish issue fix
219
+
220
+ # 0.0.1-beta.155
221
+
222
+ - get impacted library source files option added
223
+
224
+ # 0.0.1-beta.154
225
+
226
+ - mockPrefix option for mock url prefix change
227
+ - Issue fix:-
228
+ - un wanted {{--js-smap}} in inital html without enable smap in build
229
+
230
+ # 0.0.1-beta.153
231
+
232
+ - Vendor include array added
233
+ - If you need to include any thrid party js in vendor we can use this array
234
+
235
+ # 0.0.1-beta.152
236
+
237
+ impact servise related changes:-
238
+
239
+ - 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)
240
+ - cssselector_zip option added. will be used like `--cssselector-zip=selectormapping.zip`
241
+ only work in two ways
242
+ 1. `react-cli start --disable-watch --cssselector-zip=selectormapping.zip` app start command with `--disable-watch` flag and your usaul options
243
+ 2. `react-cli nowatchstart --cssselector-zip=selectormapping.zip` app start command's usaul options
244
+ #### Urls are:-
245
+ Below express path are added, For download zip files and
246
+ - `/zips/${zipname}.zip` for css selector maps zip file (contains css_map filies and original css files)
247
+ - `/zips/build.zip` build zip file (contains bundled all files)
248
+
249
+ # 0.0.1-beta.151
250
+
251
+ - issue fix:- Docs config 'html-loader' options updated.
252
+ - sslcertUpdate feature added
253
+ - disable_watch option added. will be used like `--disable-watch` or `--disable-watch=true`
254
+ - dev_cache option added. will be used like `--dev_cache` or `--dev_cache=true`
255
+
256
+ # 0.0.1-beta.150
257
+
258
+ - issue Fix:- in npm 7 option not working issue fixed
259
+ - ssl certificate update
260
+
261
+ # 0.0.1-beta.149
262
+
263
+ - css, ltr and rtl chunk split based on [dir=ltr]
264
+ - to enable ltr and rtl chunk spilt you have to add config in you package.json
265
+ <!-- - [docs for rtl-ltr](src\plugins\RtlSplitPlugin\RtrSplit.md) -->
266
+ - we have added some options in EFCPlugin for rtlsplit related features.
267
+ - we have expoed require function for only css impact related changes with flag
268
+
269
+ # 0.0.1-beta.148
270
+
271
+ - source map enabled in prod mode for debug client
272
+ - crossorigin attribute added for scripts
273
+
274
+ # 0.0.1-beta.147
275
+
276
+ - reportpublish issue fix
277
+
278
+ # 0.0.1-beta.146
279
+
280
+ - while docs run LibraryImactPlugin not constructor issue fix
281
+ - css loader added for css impact related changes
282
+
283
+ # 0.0.1 -beta.145
284
+
285
+ - LibraryImpactPlugin added
286
+ - check impacted source components name if any version update happened with master
287
+
288
+ # 0.0.1-beta.144
289
+
290
+ - prod build bug fix
291
+
292
+ # 0.0.1-beta.143
293
+
294
+ - `babel-plugin-transform-remove-console` added for remove console properties except error and log
295
+ - `console_exculde` script added if suppose enable same in dev mode
296
+ - service worker plugin changes
297
+ - library impact changes
298
+
299
+ # 0.0.1-beta.142
300
+
301
+ - `eslint-plugin-react-hooks` added to eslint support.
302
+ - Updated exact versions to eslint plugins installation script.
303
+
304
+ # 0.0.1-beta.141
305
+
306
+ - report publish sh fixes
307
+ - duplicate removal in impacted componentTest
308
+
309
+ # 0.0.1-beta.140
310
+
311
+ - copy-webpack-plugin bug fix
312
+
313
+ # 0.0.1-beta.139
314
+
315
+ - copy-webpack-plugin downgrade
316
+ - babel runtime plugin issue fix in prod config
317
+ - few enhancements
318
+
319
+ # 0.0.1-beta.138
320
+
321
+ - sstest library version updated
322
+ - unitcase calcluation issues fixed
323
+
324
+ # 0.0.1-beta.137
325
+
326
+ - Third party css files loading issue fix
327
+
328
+ # 0.0.1-beta.136
329
+
330
+ - eslint support
331
+
332
+ # 0.0.1-beta.135
333
+
334
+ - windows publish issue
335
+
336
+ # 0.0.1-beta.134
337
+
338
+ - Build Issue Fix
339
+
340
+ # 0.0.1-beta.133
341
+
342
+ - CDN Changes in I18nSplitPlugin
343
+ - nonce support added for i18n chunks
344
+
345
+ # 0.0.1-beta.132
346
+
347
+ - CDN Changes in EFC Plugin
348
+
349
+ # 0.0.1-beta.131
350
+
351
+ - Added Cdn Change Plugin
352
+
353
+ # 0.0.1-beta.130
354
+
355
+ - Babel 7 migration, ES6 build generation config and polyfill removal
356
+ - CopyPlugin issue fix
357
+
358
+ #0.0.1-beta.129
359
+
360
+ - Upgraded 'moment' to version 2.29.1 and 'moment-timezone' to version 0.5.32
361
+
362
+ # 0.0.1-beta.128
363
+
364
+ - Added support to generate hash for the third party files(TPHashMappingPlugin)
365
+
366
+ # 0.0.1-beta.127
367
+
368
+ - service worker plugin - to recursively add multiple directories (recursive=true)
369
+
370
+ # 0.0.1-beta.126
371
+
372
+ - issue fix in i18n split plugin
373
+
374
+ # expremental versions
375
+
376
+ - 0.0.1-beta.121
377
+ - 0.0.1-beta.122
378
+ - 0.0.1-beta.123
379
+ - 0.0.1-beta.124
380
+ - 0.0.1-beta.125
381
+
382
+ # 0.0.1-beta.120
383
+
384
+ - issue fix in third party file copying
385
+
386
+ # expremental versions
387
+
388
+ - 0.0.1-beta.119
389
+ - 0.0.1-beta.118
390
+
391
+ #0.0.1-beta.117
392
+
393
+ - createSDkFile otion added for efc
394
+ - small fix in i18n split plugin
395
+
396
+ #0.0.1-beta.116
397
+
398
+ - thirdparty package move to build (tpFolder in app config)
399
+
400
+ #0.0.1-beta.115
401
+
402
+ - Added Web worker support
403
+
404
+ #0.0.1-beta.114
405
+
406
+ - i18n split based on chunk
407
+ - to enable i18n chunk spilt you have to add config in you package.json
408
+
409
+ #0.0.1-beta.113
410
+
411
+ - Upgraded 'fz-i18n' package version to 1.2.0-beta.15
412
+
413
+ #0.0.1-beta.112
414
+
415
+ - Duplicate Prefetch Request Issue Fixed (Resource Hint Plugin)
416
+ - Service worker plugin changes
417
+
418
+ #0.0.1-beta.111
419
+
420
+ - hasRTL, selectorReplace Condition Separated
421
+
422
+ #0.0.1-beta.110
423
+
424
+ - SplitChunk Order Issue Fixed
425
+ - https url issue Fixed
426
+
427
+ #0.0.1-beta.109
428
+
429
+ - @zohodesk/screenshottest package version update (19) and log for the gitlab private api to check the response
430
+
431
+ #0.0.1-beta.108
432
+
433
+ - @zohodesk/screenshottest package version update (18)
434
+
435
+ #0.0.1-beta.107
436
+
437
+ - changed component without docs finder added
438
+
439
+ #0.0.1-beta.106
440
+
441
+ - custom chunk support changes
442
+ - css absolute url fix
443
+
444
+ #0.0.1-beta.105
445
+
446
+ - @zohodesk/screenshottest package version update (17) with the issue fix
447
+
448
+ #0.0.1-beta.104
449
+
450
+ - ModuleStatsPlugin inject false option added to solve the webpack build twice issue
451
+
452
+ #0.0.1-beta.103
453
+
454
+ - @zohodesk/screenshottest package version update (16) with the issue fix
455
+
456
+ #0.0.1-beta.102
457
+
458
+ - @zohodesk/screenshottest package version update (15) with the issue fix
459
+
460
+ #0.0.1-beta.101
461
+
462
+ - 100 changes readme missing
463
+ - bundle analyser changes
464
+
465
+ #0.0.1-beta.100
466
+
467
+ - @zohodesk/screenshottest package version update with the issue fix
468
+ - font public path replace issue for url fonts - fixed
469
+
470
+ #0.0.1-beta.99
471
+
472
+ - can't publish already published
473
+
474
+ #0.0.1-beta.98
475
+
476
+ - defer break public path adding regex - fixed
477
+
478
+ #0.0.1-beta.97
479
+
480
+ - added 'babel-plugin-transform-react-remove-prop-types' in package.json (missed earlier)
481
+
482
+ #0.0.1-beta.96
483
+
484
+ - html plugin inject option expose and version udpate 4.2.0
485
+ - src html change i18n removal issue fix
486
+ - script loading defer added
487
+ - added babel plugin to remove proptypes
488
+
489
+ #0.0.1-beta.95
490
+
491
+ - schemas/index.js - issue fix
492
+
493
+ #0.0.1-beta.94
494
+
495
+ - screenshot test library version update
496
+ - ssserver issue fix
497
+
498
+ #0.0.1-beta.93
499
+
500
+ - selector replacer for Help Center usecase
501
+ - eslint performance plugin
502
+ - css classname hash selector support for docs
503
+ - service worker plugin
504
+
505
+ #0.0.1-beta.92
506
+
507
+ - docs ui fixes and edit mode
508
+ - @zohodesk/datetimejs version update
509
+
510
+ #0.0.1-beta.91
511
+
512
+ - repo clone command pull issue fix
513
+ - docs css change
514
+ - SSTest package version downgrade
515
+
516
+ #0.0.1-beta.90
517
+
518
+ - added support for copying Timezone data from @zohodesk/datetimejs
519
+ - docstool changes
520
+
521
+ #0.0.1-beta.89
522
+
523
+ - CSP nonce support for initial assets `{{--CSP-nonce}}`
524
+ - introduced new mode to disable react warns in dev mode (dev-no-warn)
525
+ - docs ui fix
526
+
527
+ #0.0.1-beta.88
528
+
529
+ - Impact run and Master seperate during SSTEST
530
+ - docs changes
531
+ - filenames and packages addedd in cssHashSelectors option
532
+
533
+ #0.0.1-beta.87
534
+
535
+ - run screenshot test for impacted components
536
+ - seperate master from the CI flow with the HBase storage
537
+ - docs changes
538
+ - coverage percentage check disabled
539
+
540
+ #0.0.1-beta.86
541
+
542
+ - exclude without js changes for unittest
543
+ - express server history fallback refactored
544
+
545
+ #0.0.1-beta.85
546
+
547
+ - i18n placeholder removal issue fixed
548
+ - css classname prefix moved to option. default is zd
549
+
550
+ #0.0.1-beta.84
551
+
552
+ - object spread operator support
553
+
554
+ #0.0.1-beta.83
555
+
556
+ - eslint report type by flag
557
+ - unitcase file exclude array issue fix
558
+ - sstesthack issue fix
559
+
560
+ #0.0.1-beta.82
561
+
562
+ - eslint impact run enable - completed
563
+ - devplugin cleanupstats filename import issue fix
564
+ - coveragecollector return format change
565
+
566
+ #0.0.1-beta.81
567
+
568
+ - unit test case syntax error issue fix - removed unwanted dependency `css-modules-require-hook`
569
+
570
+ #0.0.1-beta.80
571
+
572
+ - unitcase filecoverage testpath issue fix
573
+ - shadowdom support
574
+ - postpublish and sstest hack script
575
+ - dependencies impact list
576
+ - can change runtime chunk's character
577
+ - font preload added
578
+
579
+ #0.0.1-beta.79
580
+
581
+ - unitcase filecoverage added and also codecoverage with dependencies spec added
582
+
583
+ #0.0.1-beta.78
584
+
585
+ - components and dot library's stats added with module stats
586
+ - Mini css extract plugin's unwanted logs removed
587
+ - runtime chunk added in dev mode
588
+ - nodemon windows issue fix
589
+ - testinfo failure missing while can't get coverage
590
+ - performance eslint plugin added and normalizer moved under zohodesk
591
+
592
+ #0.0.1-beta.77
593
+
594
+ - @zohodesk/eslint-plugin-zsecurity version update
595
+ - git pull origin with branch name while screenshot test after the branch switch
596
+
597
+ #0.0.1-beta.76
598
+
599
+ - breaking issue fix from last version ( prod config issue )
600
+
601
+ #0.0.1-beta.75
602
+
603
+ - sstest - reinstall dependencies after switch branch
604
+
605
+ #0.0.1-beta.74
606
+
607
+ - docs provider support (Component.\_provider)
608
+
609
+ #0.0.1-beta.73
610
+
611
+ #0.0.1-beta.72
612
+
613
+ - run eslint security rules option enable
614
+ - add the reportURL with the result.json file
615
+ - mock server post api issue fix
616
+
617
+ #0.0.1-beta.71
618
+
619
+ - publicpath hard coding while flatten build issue fix
620
+
621
+ #0.0.1-beta.70
622
+
623
+ - css class compression flag enable
624
+ - docs src URL update
625
+
626
+ #0.0.1-beta.69
627
+
628
+ - babel-plugin-transform-dynamic-import library with webpack.docs.config.js for docs service
629
+ - babel-lodash plugin fix with getdevplugin
630
+ - cursor blink issue fix for sstest
631
+ - in result.json unitcase coverage verified boolean added
632
+
633
+ #0.0.1-beta.68
634
+
635
+ - rtl ignore [dir] changes
636
+
637
+ #0.0.1-beta.67
638
+
639
+ - babel-plugin-transform-dynamic-import library added with package.json
640
+ - schema change with hostname cli option s
641
+
642
+ #0.0.1-beta.66
643
+
644
+ - mockport hard coded issue fix
645
+
646
+ #0.0.1-beta.65
647
+
648
+ - window rtl build issue fix
649
+ - separate rtl build support added like react-cli rtl ./src ./lib
650
+
651
+ #0.0.1-beta.64
652
+
653
+ - postcss-rtl issue temp fix so move to @zohodesk/postcss-rtl
654
+
655
+ #0.0.1-beta.63
656
+
657
+ - LTR & RTL support added
658
+
659
+ #0.0.1-beta.62
660
+
661
+ - componentTest.css entry in components.html
662
+
663
+ #0.0.1-beta.60
664
+
665
+ - SSTMiddleware hook added for ssserver
666
+ - remove some unwanted class in components.css
667
+ - componentTest.css added with common animation break css rules
668
+
669
+ #0.0.1-beta.59
670
+
671
+ - vendor files exclude from app
672
+ - since the chunk hash issue, moduleIds configured as named
673
+
674
+ #0.0.1-beta.58
675
+
676
+ - Push result json with the report zip
677
+ - screenshot-test library Version update
678
+
679
+ #0.0.1-beta.57
680
+
681
+ - vendor chunk split issue fix
682
+
683
+ #0.0.1-beta.56
684
+
685
+ - css ordering issue fix
686
+
687
+ #0.0.1-beta.55
688
+
689
+ - prod build performance changes
690
+ - css duplication issue fix
691
+ - root chunk splitting logic change
692
+
693
+ #0.0.1-beta.54
694
+
695
+ - increased css hash size 5 to 10
696
+
697
+ #0.0.1-beta.53
698
+
699
+ - generate json file for all the test results during test run
700
+ - sstest version update
701
+ - some issue fixes
702
+
703
+ #0.0.1-beta.52
704
+
705
+ - template src folder missed issue fix because of npmignore all src folder
706
+
707
+ #0.0.1-beta.51
708
+
709
+ - template app updated with redux and router by kumaresan(thala)
710
+
711
+ #0.0.1-beta.50
712
+
713
+ - window machine css unique issue fix
714
+
715
+ #0.0.1-beta.49
716
+
717
+ - dev css unique issue fix
718
+
719
+ #0.0.1-beta.48
720
+
721
+ - telephony support css unique changes
722
+
723
+ #0.0.1-beta.47
724
+
725
+ - git pull during the branch switch in ssserver
726
+ - common util file for pull and switch the branches for both git and hg
727
+
728
+ #0.0.1-beta.46
729
+
730
+ - ogg file support and tmpl file support
731
+
732
+ #0.0.1-beta.45
733
+
734
+ - checkout branch with force during sstest
735
+
736
+ #0.0.1-beta.44
737
+
738
+ - sstest master trigger issue fix
739
+
740
+ #0.0.1-beta.43
741
+
742
+ - get component object from docs server by http protocol during sstest
743
+ - reach docs server by the IP address of the host.
744
+ - get the current branch name by args
745
+
746
+ #0.0.1-beta.42
747
+
748
+ - className ssTest added and screenshot test version update
749
+
750
+ #0.0.1-beta.41
751
+
752
+ - i18n replace issue fix
753
+
754
+ - some css changes related to above
755
+ - screenshottest version update
756
+
757
+ #0.0.1-beta.40
758
+
759
+ - SSTMiddleware added to get hook from webpack build process to start sstest
760
+ - run unit test for commited files except the spec file name from name list
761
+ - publicpath added for i18n js files
762
+
763
+ #0.0.1-beta.39
764
+
765
+ - prod build check issue fix
766
+
767
+ #0.0.1-beta.38
768
+
769
+ - all unitcase runs only with master option removed
770
+ - prod mode in dev setup flag issue fix
771
+
772
+ #0.0.1-beta.37
773
+
774
+ - removed hash for index.html and add publicpath when run prod mode in dev machine
775
+ - screenshot version updated
776
+ - docs build log issue fix
777
+
778
+ #0.0.1-beta.36
779
+
780
+ - reportpublish sh file report generation even if any breakages in test scripts
781
+
782
+ #0.0.1-beta.35
783
+
784
+ - full run of spec fils only for master option added
785
+ - reportpublish sh for screenshot test report template issue fix
786
+
787
+ #0.0.1-beta.34
788
+
789
+ - monitor mockserver changes without affecting static server
790
+
791
+ #0.0.1-beta.33
792
+
793
+ - mail sent issue - fix
794
+
795
+ #0.0.1-beta.32
796
+
797
+ - ssl cert update
798
+ - webpack-bundle-analyzer version update (because of npm audit fix)
799
+
800
+ #0.0.1-beta.31
801
+
802
+ - reportpublicpath plugin rename issue fix
803
+
804
+ #0.0.1-beta.30
805
+
806
+ - report generate plugin rename
807
+ - schema changes for sstest (sstest_remotebranch => sstest_referbranch)
808
+ - reportpublish sh update
809
+
810
+ #0.0.1-beta.29
811
+
812
+ - screenshot version updated
813
+ - unit test case commit coverage issue fix
814
+
815
+ #0.0.1-beta.28
816
+
817
+ - Unitcase coverage for changed files issue fix
818
+
819
+ #0.0.1-beta.27
820
+
821
+ - prod build size and hash tracking report added
822
+
823
+ #0.0.1-beta.26
824
+
825
+ - inlined assets and css assets publicpath collide issue fix
826
+
827
+ #0.0.1-beta.25
828
+
829
+ - inline image public path issue fix
830
+ - docs css change for sstest
831
+
832
+ #0.0.1-beta.24
833
+
834
+ - removed source map generation by default
835
+
836
+ #0.0.1-beta.23
837
+
838
+ - windows path issue in i18I18NInjectIntoIndexPlugin plugin
839
+
840
+ #0.0.1-beta.22
841
+
842
+ - unusedfilesplugin issue fixed and print valid info
843
+
844
+ #0.0.1-beta.21
845
+
846
+ - production build hash details exported in index html
847
+
848
+ #0.0.1-beta.20
849
+
850
+ - list the name of un documented component file name
851
+
852
+ #0.0.1-beta.19
853
+
854
+ - publicpath callback plugin added
855
+
856
+ #0.0.1-beta.18
857
+
858
+ - production build issue fix
859
+
5
860
  #0.0.1-beta.17
6
861
 
7
862
  - redux version downgraded