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

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