@zohodesk/react-cli 1.1.11-exp.3 → 1.1.11-exp.4

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 (420) hide show
  1. package/.eslintignore +7 -7
  2. package/.eslintrc.js +180 -180
  3. package/.prettierrc +6 -6
  4. package/.vscode/settings.json +24 -24
  5. package/Changelog.md +1019 -1019
  6. package/README.md +1371 -1394
  7. package/bin/cli.js +458 -458
  8. package/docs/ComposeMinification.md +13 -13
  9. package/docs/CustomChunks.md +29 -29
  10. package/docs/DevServerPort.md +39 -39
  11. package/docs/DevStart.md +18 -18
  12. package/docs/HoverActive.md +12 -12
  13. package/docs/InstallNode.md +28 -28
  14. package/docs/MarkdownParser.md +17 -17
  15. package/docs/ReactLive.md +13 -13
  16. package/docs/SelectorWeight.md +8 -8
  17. package/docs/TODOS.md +10 -10
  18. package/docs/ValueReplacer.md +60 -60
  19. package/docs/VariableConversion.md +729 -729
  20. package/docs/patternFiltering.md +56 -56
  21. package/docs/warnings_while_install.txt +35 -35
  22. package/files/eslintrc.js +62 -62
  23. package/files/prettierrc.js +3 -3
  24. package/lib/configs/webpack.css.umd.config.js +4 -4
  25. package/lib/loaderUtils/configsAssetsLoaders.js +33 -33
  26. package/lib/loaderUtils/getCSSLoaders.js +50 -50
  27. package/lib/loaders/workerLoader.js +9 -9
  28. package/lib/pluginUtils/getDevPlugins.js +5 -5
  29. package/lib/pluginUtils/getProdPlugins.js +7 -20
  30. package/lib/plugins/CustomAttributePlugin.md +35 -35
  31. package/lib/plugins/EFCPlugin.md +6 -6
  32. package/lib/plugins/I18NInjectIntoIndexPlugin.js +4 -4
  33. package/lib/plugins/I18nSplitPlugin/I18nDownlodLogic.js +38 -38
  34. package/lib/plugins/I18nSplitPlugin/I18nFilesEmitter.js +30 -30
  35. package/lib/plugins/I18nSplitPlugin/I18nKeysIdentifer.js +8 -8
  36. package/lib/plugins/I18nSplitPlugin/I18nSplit.md +95 -95
  37. package/lib/plugins/I18nSplitPlugin/README.md +25 -25
  38. package/lib/plugins/I18nSplitPlugin/index.js +57 -57
  39. package/lib/plugins/ResourceHintsPlugin.js +17 -17
  40. package/lib/plugins/RtlSplitPlugin/RtlCssPlugin.js +6 -6
  41. package/lib/plugins/RtlSplitPlugin/RtrSplit.md +30 -30
  42. package/lib/plugins/SelectorPlugin.js +29 -29
  43. package/lib/plugins/ServiceWorkerPlugin.js +9 -9
  44. package/lib/plugins/TPHashMappingPlugin.js +4 -4
  45. package/lib/plugins/VariableConversionCollector.js +59 -59
  46. package/lib/plugins/utils/fileHandling.js +4 -4
  47. package/lib/plugins/variableConvertorUtils.js +13 -11
  48. package/lib/postcss-plugins/RTLSplitPlugin.js +10 -10
  49. package/lib/postcss-plugins/ValueReplacer.js +7 -0
  50. package/lib/postcss-plugins/__test__/test1Input.css +38 -38
  51. package/lib/postcss-plugins/__test__/test1Output.css +38 -38
  52. package/lib/postcss-plugins/hoverActivePlugin.js +3 -3
  53. package/lib/postcss-plugins/variableModificationPlugin/index.js +65 -17
  54. package/lib/schemas/index.js +0 -9
  55. package/lib/sh/pre-commit.sh +34 -34
  56. package/lib/sh/reportPublish.sh +45 -45
  57. package/lib/utils/buildstats.html +148 -148
  58. package/lib/utils/cssClassNameGenerate.js +13 -13
  59. package/lib/utils/getOptions.js +1 -2
  60. package/lib/utils/resultSchema.json +73 -73
  61. package/npm-shrinkwrap.json +33485 -33485
  62. package/npm8.md +9 -9
  63. package/package.json +123 -123
  64. package/packages/client_build_tool/lib/allCommandsConfigs.js +3 -1
  65. package/packages/client_build_tool/lib/commands/build/commandExecutor.js +3 -7
  66. package/packages/client_build_tool/lib/commands/build/config.js +2 -2
  67. package/packages/client_build_tool/lib/commands/build/optionsProcessor.js +45 -0
  68. package/packages/client_build_tool/lib/commands/buildEs/commandExecutor.js +20 -4
  69. package/packages/client_build_tool/lib/commands/buildEs/config.js +2 -2
  70. package/packages/client_build_tool/lib/commands/buildLib/commandExecutor.js +20 -4
  71. package/packages/client_build_tool/lib/commands/buildLib/config.js +2 -2
  72. package/packages/client_build_tool/lib/commands/mockserver/commandExecutor.js +43 -0
  73. package/packages/client_build_tool/lib/commands/mockserver/config.js +12 -0
  74. package/packages/client_build_tool/lib/commands/start/commandExecutor.js +0 -1
  75. package/packages/client_build_tool/lib/commands/start/config.js +2 -2
  76. package/packages/client_build_tool/lib/commands/start/{optionsProcesser.js → optionsProcessor.js} +14 -10
  77. package/packages/client_build_tool/lib/commands/start/postProcessor.js +10 -0
  78. package/packages/client_build_tool/lib/commands/start/preProcessor.js +10 -0
  79. package/packages/client_build_tool/lib/commands/template/commandExecutor.js +32 -0
  80. package/packages/client_build_tool/lib/commands/template/config.js +12 -0
  81. package/packages/client_build_tool/lib/commands/version/commandExecutor.js +14 -0
  82. package/packages/client_build_tool/lib/commands/version/config.js +12 -0
  83. package/packages/client_build_tool/lib/commands/version/errorHander.js +10 -0
  84. package/packages/client_build_tool/lib/commandsRouter.js +21 -16
  85. package/packages/client_build_tool/lib/index.js +12 -0
  86. package/packages/client_build_tool/lib/{buildToolLoggers.js → logger.js} +7 -5
  87. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/otherTestCases.test.js +234 -0
  88. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/passingDifferentDataTypesToSchema.test.js +103 -0
  89. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/passingEmptyObjects.test.js +41 -0
  90. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertArray.test.js +68 -0
  91. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertNumber.test.js +68 -0
  92. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertObject.test.js +141 -0
  93. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertString.test.js +68 -0
  94. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByCustomOptions/convertUndefinedAndNull.test.js +132 -0
  95. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertArray.test.js +71 -0
  96. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertNumber.test.js +71 -0
  97. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertObject.test.js +73 -0
  98. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertString.test.js +71 -0
  99. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/__test__/replacingSchemaValueByProcessEnv/convertUndefinedAndNull.test.js +138 -0
  100. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/index.js +34 -0
  101. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/isObject.js +10 -0
  102. package/packages/client_build_tool/lib/schemas/applyValuesToSchema/isValid.js +14 -0
  103. package/packages/client_build_tool/lib/{shared/schemas → schemas}/cliArgsToObject.js +12 -10
  104. package/packages/client_build_tool/lib/schemas/defaultConfigValues.js +244 -0
  105. package/packages/client_build_tool/lib/schemas/defaultConfigValuesOnly.js +161 -0
  106. package/packages/client_build_tool/lib/schemas/deprecatedOptionsHandler.js +67 -0
  107. package/packages/client_build_tool/lib/{shared/schemas → schemas}/getNpmVersion.js +3 -2
  108. package/packages/client_build_tool/lib/schemas/giveDefaultValue.js +18 -0
  109. package/packages/client_build_tool/lib/{shared/schemas → schemas}/npmConfigToObject.js +12 -9
  110. package/packages/client_build_tool/lib/{shared/schemas → schemas}/readOptions.js +11 -12
  111. package/packages/client_build_tool/lib/{shared/schemas/readOptionsForPackageJson.js → schemas/readOptionsForConfigFile.js} +18 -2
  112. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/Map.test.js +15 -0
  113. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/MathAndNumberMethod.test.js +30 -0
  114. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/ObjectAndModules.test.js +47 -0
  115. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/Sets.test.js +18 -0
  116. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/Symbol.test.js +25 -0
  117. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/arrowFunction.test.js +34 -0
  118. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/block-scoping.test.js +18 -0
  119. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/classes.test.js +55 -0
  120. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/defaultParameterValues.test.js +18 -0
  121. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/extraFeatures.test.js +82 -0
  122. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/forOf.test.js +20 -0
  123. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/promise.test.js +22 -0
  124. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/spreadOperator.test.js +20 -0
  125. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/spreadParams.test.js +24 -0
  126. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/stringAndArrayMethods.test.js +67 -0
  127. package/packages/client_build_tool/lib/shared/babel/__test__/es2015/variables.test.js +21 -0
  128. package/packages/client_build_tool/lib/shared/babel/__test__/es2016/array-includes.test.js +13 -0
  129. package/packages/client_build_tool/lib/shared/babel/__test__/es2016/exponentationOperator.test.js +20 -0
  130. package/packages/client_build_tool/lib/shared/babel/__test__/es2017/asyncAndawait.test.js +23 -0
  131. package/packages/client_build_tool/lib/shared/babel/__test__/es2017/object-entries.test.js +24 -0
  132. package/packages/client_build_tool/lib/shared/babel/__test__/es2017/object-getOwnproperties.test.js +24 -0
  133. package/packages/client_build_tool/lib/shared/babel/__test__/es2017/object-values.test.js +24 -0
  134. package/packages/client_build_tool/lib/shared/babel/__test__/es2017/stringMethods.test.js +20 -0
  135. package/packages/client_build_tool/lib/shared/babel/__test__/es2018/asynchronous-iterator.test.js +19 -0
  136. package/packages/client_build_tool/lib/shared/babel/__test__/es2018/object-rest-spread.test.js +24 -0
  137. package/packages/client_build_tool/lib/shared/babel/__test__/es2018/promise-finally.test.js +26 -0
  138. package/packages/client_build_tool/lib/shared/babel/__test__/es2018/regularExpressions.test.js +35 -0
  139. package/packages/client_build_tool/lib/shared/babel/__test__/es2019/Json.stringify.test.js +21 -0
  140. package/packages/client_build_tool/lib/shared/babel/__test__/es2019/arrayMethods.test.js +31 -0
  141. package/packages/client_build_tool/lib/shared/babel/__test__/es2019/object-fromEntriesMethod.test.js +13 -0
  142. package/packages/client_build_tool/lib/shared/babel/__test__/es2019/optionalCatchBinding.test.js +23 -0
  143. package/packages/client_build_tool/lib/shared/babel/__test__/es2019/revisedFunctionToString.test.js +17 -0
  144. package/packages/client_build_tool/lib/shared/babel/__test__/es2019/trim-startAndend-method.test.js +20 -0
  145. package/packages/client_build_tool/lib/shared/babel/__test__/es2020/AssignmentOperator.test.js +27 -0
  146. package/packages/client_build_tool/lib/shared/babel/__test__/es2020/Dynamic-Import.test.js +19 -0
  147. package/packages/client_build_tool/lib/shared/babel/__test__/es2020/NullishOperator.test.js +15 -0
  148. package/packages/client_build_tool/lib/shared/babel/__test__/es2020/bigInt.test.js +13 -0
  149. package/packages/client_build_tool/lib/shared/babel/__test__/es2020/chainOperator.test.js +17 -0
  150. package/packages/client_build_tool/lib/shared/babel/__test__/es2020/export-namespace-from.test.js +12 -0
  151. package/packages/client_build_tool/lib/shared/babel/__test__/es2020/promiseAllSettledMathod.test.js +17 -0
  152. package/packages/client_build_tool/lib/shared/babel/__test__/es2020/stringMatchMethod.test.js +13 -0
  153. package/packages/client_build_tool/lib/shared/babel/__test__/es2021/NumericSeparator.test.js +23 -0
  154. package/packages/client_build_tool/lib/shared/babel/__test__/es2021/logicalOperatorAssignments.test.js +25 -0
  155. package/packages/client_build_tool/lib/shared/babel/__test__/es2021/promiseAny.test.js +16 -0
  156. package/packages/client_build_tool/lib/shared/babel/__test__/es2021/stringReplaceMethod.test.js +16 -0
  157. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/Array-atMethod.test.js +13 -0
  158. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/ObjectKeyCheck.test.js +27 -0
  159. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/ObjecthasOwnMethod.test.js +19 -0
  160. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/RegexMatchIndices.test.js +20 -0
  161. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/String-atMethod.test.js +15 -0
  162. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/error.Cause.test.js +23 -0
  163. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/keysCheckinPrivateFields.test.js +27 -0
  164. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/privateMethodsAndFields.test.js +23 -0
  165. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/staticFieldsAndMethod.test.js +54 -0
  166. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/topLevelAwait.test.js +11 -0
  167. package/packages/client_build_tool/lib/shared/babel/__test__/es2022/weakRef.test.js +17 -0
  168. package/packages/client_build_tool/lib/shared/babel/__test__/utilities.js +28 -0
  169. package/packages/client_build_tool/lib/shared/babel/babelWebConfig.js +49 -0
  170. package/packages/client_build_tool/lib/shared/babel/runBabelForJSFile.js +24 -0
  171. package/packages/client_build_tool/lib/shared/bundler/webpack/common/decidePublicPath.js +1 -3
  172. package/packages/client_build_tool/lib/shared/bundler/webpack/common/modeUtils.js +31 -0
  173. package/packages/client_build_tool/lib/shared/bundler/webpack/common/nameTemplates.js +32 -13
  174. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/AddManifestJson/addFilesToManifestJson.js +19 -0
  175. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/AddManifestJson/utilities.js +18 -0
  176. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/CdnChangePlugin.js +15 -24
  177. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/EFCTemplatePlugin.js +112 -0
  178. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/ContributionGuide.md +10 -10
  179. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nFilesEmitPlugin.js +172 -0
  180. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nKeysIdentifer.js +20 -80
  181. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nRuntimeDealerPlugin.js +203 -0
  182. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/I18nSplit.md +95 -95
  183. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/LocaleChunkAssetsStore.js +73 -0
  184. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/ModulesI18nKeysStore.js +88 -0
  185. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/README.md +25 -25
  186. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/createHash.js +5 -5
  187. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/getI18nLoadingRuntimeModule.js +9 -14
  188. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/index.js +12 -374
  189. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/iterateModulesInChunk.js +50 -0
  190. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/optionsHandler.js +1 -0
  191. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/templateFileName.js +6 -12
  192. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/templateHashHelpers.js +23 -23
  193. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/classesAndObject.test.js +56 -0
  194. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/conditionalOperation.test.js +154 -0
  195. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/function.test.js +89 -0
  196. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/function2.test.js +71 -0
  197. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/loop.test.js +112 -0
  198. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/minifyBooleanValues.test.js +43 -0
  199. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/minimizeVariableNames.test.js +45 -0
  200. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/promise.test.js +53 -0
  201. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/removeCommentsAndEmptySpace.test.js +13 -0
  202. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/removeUnusedStrings.test.js +14 -0
  203. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/terser/__test__/variableDeclaration.test.js +30 -0
  204. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/collectI18nKeys.js +11 -8
  205. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/getChunkModules.js +13 -0
  206. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/utils/propertiesUtils.js +14 -12
  207. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/InitialHtmlPlugin.js +54 -0
  208. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/__test__/addFilesNamesToManifestJson.test.js +51 -0
  209. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/__test__/createInitialEntries.test.js +95 -0
  210. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/__test__/removeHashFromFileName.test.js +91 -0
  211. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/addFilesNamesToManifestJson.js +24 -0
  212. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/createInitialEntries.js +17 -0
  213. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/createManifestJson.js +35 -0
  214. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/findInitialFileNames.js +18 -0
  215. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/index.js +44 -0
  216. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/removeHashFromFileName.js +18 -0
  217. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ResourceHintsPlugin.js +165 -0
  218. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/OverwriteCssPathForRTL.js +4 -5
  219. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/RtlCssPlugin.js +12 -17
  220. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/RtrSplit.md +34 -34
  221. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/RtlSplitPlugin/replaceCssDirTemplate.js +13 -1
  222. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/classHandling.js +20 -0
  223. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/index.js +78 -0
  224. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/selectorWeightPrefixAdder.js +51 -0
  225. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SelectorWeightPlugin/windowsModification.js +16 -0
  226. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/ServiceWorkerPlugin.js +79 -124
  227. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/SourceMapPlugin/index.js +38 -0
  228. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/UglifyCSSPlugin/__test__/uglifyCss1.test.js +74 -0
  229. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/UglifyCSSPlugin/__test__/uglifycss.test.js +64 -0
  230. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/UglifyCSSPlugin/__test__/utilities.js +28 -0
  231. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/{UglifyCSSPlugin.js → UglifyCSSPlugin/index.js.js} +2 -2
  232. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/VariableConversionCollector/ErrorHandler.js +62 -0
  233. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/VariableConversionCollector/index.js +361 -0
  234. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/emitAsset.js +14 -0
  235. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/getInitialAssetsFuncTemplate.js +57 -0
  236. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/getInitialI18nAssetsArrayStr.js +87 -0
  237. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/classesAndObject.test.js +56 -0
  238. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/conditionalOperation.test.js +154 -0
  239. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/function.test.js +89 -0
  240. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/function2.test.js +71 -0
  241. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/loop.test.js +112 -0
  242. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/minifyBooleanValues.test.js +43 -0
  243. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/minimizeVariableNames.test.js +45 -0
  244. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/promise.test.js +53 -0
  245. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/removeCommentsAndEmptySpace.test.js +13 -0
  246. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/removeUnusedStrings.test.js +14 -0
  247. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/terser/__test__/variableDeclaration.test.js +30 -0
  248. package/packages/client_build_tool/lib/shared/bundler/webpack/entryConfig.js +28 -0
  249. package/packages/client_build_tool/lib/shared/bundler/webpack/externals.js +13 -0
  250. package/packages/client_build_tool/lib/shared/bundler/webpack/getCSSLoaders.js +9 -12
  251. package/packages/client_build_tool/lib/shared/bundler/webpack/getSourceMapType.js +10 -0
  252. package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/assetLoaders.js +0 -2
  253. package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/babelLoaderConfig.js +4 -10
  254. package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/checkIsPatternsMatchFilename.js +52 -0
  255. package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/configPostCssLoader.js +37 -0
  256. package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/configsAssetsLoaders.js +44 -44
  257. package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/cssClassNameGenerate.js +19 -43
  258. package/packages/client_build_tool/lib/shared/bundler/webpack/loaderConfigs/getCssLoaderOptions.js +0 -2
  259. package/packages/client_build_tool/lib/shared/bundler/webpack/loaders/workerLoader.js +8 -8
  260. package/packages/client_build_tool/lib/shared/bundler/webpack/optimizationConfig.js +9 -5
  261. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configBundleAnalyzer.js +40 -0
  262. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configCSSMinifierPlugin.js +24 -0
  263. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configCdnChangePlugin.js +13 -4
  264. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configCopyPublicFolders.js +80 -0
  265. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configEFCTemplatePlugin.js +46 -0
  266. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configEnvVariables.js +5 -2
  267. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configHtmlWebpackPlugin.js +38 -10
  268. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configI18nSplitPlugin.js +6 -0
  269. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configManifestJsonPlugin.js +32 -0
  270. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configProgressPlugin.js +7 -2
  271. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configResourceHintsPlugin.js +19 -0
  272. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configSelectorWeightPlugin.js +28 -0
  273. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configServiceWorkerPlugin.js +25 -3
  274. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configSourceMapPlugin.js +20 -0
  275. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configVariableConversionPlugin.js +25 -0
  276. package/packages/client_build_tool/lib/shared/bundler/webpack/plugins.js +18 -9
  277. package/packages/client_build_tool/lib/shared/bundler/webpack/resolvers.js +19 -12
  278. package/packages/client_build_tool/lib/shared/bundler/webpack/splitChunksConfig.js +117 -1
  279. package/packages/client_build_tool/lib/shared/bundler/webpack/statsConfig.js +21 -0
  280. package/packages/client_build_tool/lib/shared/bundler/webpack/utils/index.js +26 -0
  281. package/packages/client_build_tool/lib/shared/bundler/webpack/utils/updateArrayWithDefault.js +18 -0
  282. package/packages/client_build_tool/lib/shared/bundler/webpack/webpackBuild.js +7 -4
  283. package/packages/client_build_tool/lib/shared/bundler/webpack/webpackConfig.js +15 -13
  284. package/packages/client_build_tool/lib/shared/commands-utils/doBasicRequirementCheck.js +17 -0
  285. package/packages/client_build_tool/lib/shared/{commands-utlis → commands-utils}/getCliPath.js +8 -7
  286. package/packages/client_build_tool/lib/shared/{commands-utlis → commands-utils}/index.js +3 -3
  287. package/packages/client_build_tool/lib/shared/commands-utils/spawnSyncIO.js +38 -0
  288. package/packages/client_build_tool/lib/shared/constants.js +17 -5
  289. package/packages/client_build_tool/lib/shared/fileUtils/copyFile.js +38 -0
  290. package/packages/client_build_tool/lib/shared/fileUtils/directoryIterator.js +21 -0
  291. package/packages/client_build_tool/lib/shared/fileUtils/watchRun.js +100 -0
  292. package/packages/client_build_tool/lib/shared/postcss/__test__/ignoreTestCases.test.js +80 -0
  293. package/packages/client_build_tool/lib/shared/postcss/__test__/postcss-rtl-all-cases.test.js +119 -0
  294. package/packages/client_build_tool/lib/shared/postcss/__test__/postcssRtl.spec.js +34 -0
  295. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/EmptyPlugin.js +21 -0
  296. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/constants.js +10 -0
  297. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/handleIgnores.js +66 -0
  298. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/index.js +136 -0
  299. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/insertBefore.js +32 -0
  300. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/isPreviouslyProcessed.js +20 -0
  301. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/replaceUtils.js +20 -0
  302. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/separateHoveredSelectorAndNormalSelector.js +24 -0
  303. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/specialCases.js +43 -0
  304. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/HoverActivePlugin/typeCheckUtils.js +52 -0
  305. package/packages/client_build_tool/lib/shared/{bundler/webpack/custom_postcss_loaders → postcss/custom_postcss_plugins}/RTLSplitPlugin.js +10 -10
  306. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/SelectorReplace.js +90 -0
  307. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/ValueReplacer.js +57 -0
  308. package/packages/client_build_tool/lib/shared/postcss/custom_postcss_plugins/VariableModificationPlugin/index.js +343 -0
  309. package/packages/client_build_tool/lib/shared/postcss/filterPluginsAllowedForSpecficFile.js +55 -0
  310. package/packages/client_build_tool/lib/shared/postcss/getAllowedPostCssPlugins.js +30 -0
  311. package/packages/client_build_tool/lib/shared/postcss/getSpecificPostCssPlugin.js +58 -0
  312. package/packages/client_build_tool/lib/shared/postcss/runPostCssForCssFile.js +37 -0
  313. package/packages/client_build_tool/lib/shared/server/configWebpackDevMiddleware.js +4 -3
  314. package/packages/client_build_tool/lib/shared/server/{corsHandleing.js → corsHandling.js} +5 -12
  315. package/packages/client_build_tool/lib/shared/server/getIp.js +3 -3
  316. package/packages/client_build_tool/lib/shared/server/httpsOptions.js +25 -32
  317. package/packages/client_build_tool/lib/shared/server/initialHTMLHandling.js +54 -21
  318. package/packages/client_build_tool/lib/shared/server/mockApiHandler.js +60 -0
  319. package/packages/client_build_tool/lib/shared/server/mockServer.js +41 -0
  320. package/packages/client_build_tool/lib/shared/server/serveContextFiles.js +1 -0
  321. package/packages/client_build_tool/lib/shared/server/serverBywebpackDevMiddleware.js +6 -10
  322. package/packages/client_build_tool/lib/shared/server/startHttpServer.js +2 -2
  323. package/packages/client_build_tool/lib/shared/server/startHttpsServer.js +6 -2
  324. package/packages/client_build_tool/lib/shared/server/unwanted/websocketMockSetup.js +7 -7
  325. package/packages/client_build_tool/lib/shared/server/urlConcat.js +17 -10
  326. package/packages/client_build_tool/lib/shared/utils/requireLocalOrGlobal.js +81 -0
  327. package/packages/client_build_tool/lib/shared/utils/versionPrint.js +20 -0
  328. package/packages/client_build_tool/node_modules/history/package.json +11 -8
  329. package/postpublish.js +8 -8
  330. package/result.json +1 -0
  331. package/templates/app/.eslintrc.js +140 -140
  332. package/templates/app/README.md +12 -12
  333. package/templates/app/app/index.html +24 -24
  334. package/templates/app/app/properties/ApplicationResources_en_US.properties +1 -1
  335. package/templates/app/app/properties/i18nkeys.json +3 -3
  336. package/templates/app/docs/all.html +69 -69
  337. package/templates/app/mockapi/index.js +18 -18
  338. package/templates/app/package.json +37 -37
  339. package/templates/app/src/actions/SampleActions/index.js +37 -37
  340. package/templates/app/src/actions/index.js +65 -65
  341. package/templates/app/src/appUrls.js +19 -19
  342. package/templates/app/src/components/Alert/Alert.js +134 -134
  343. package/templates/app/src/components/Alert/Alert.module.css +79 -79
  344. package/templates/app/src/components/FreezeLayer/FreezeLayer.css +37 -37
  345. package/templates/app/src/components/FreezeLayer/FreezeLayer.js +84 -84
  346. package/templates/app/src/components/Sample/Sample.module.css +11 -11
  347. package/templates/app/src/components/Sample/SampleList.js +61 -61
  348. package/templates/app/src/components/Slider/Slider.css +41 -41
  349. package/templates/app/src/components/Slider/Slider.js +55 -55
  350. package/templates/app/src/containers/AlertContainer/index.js +15 -15
  351. package/templates/app/src/containers/AppContainer/index.js +96 -96
  352. package/templates/app/src/containers/AppContainer/index.module.css +27 -27
  353. package/templates/app/src/containers/CustomMatch/index.js +65 -65
  354. package/templates/app/src/containers/DevTools/index.js +10 -10
  355. package/templates/app/src/containers/Header/index.js +67 -67
  356. package/templates/app/src/containers/Header/index.module.css +43 -43
  357. package/templates/app/src/containers/Redirect/index.js +63 -63
  358. package/templates/app/src/containers/Redirector/index.js +47 -47
  359. package/templates/app/src/containers/SampleListContainer/ListContainer.js +42 -42
  360. package/templates/app/src/containers/SampleListContainer/ListContainer.module.css +3 -3
  361. package/templates/app/src/historyChange.js +5 -5
  362. package/templates/app/src/index.html +10 -10
  363. package/templates/app/src/index.js +24 -24
  364. package/templates/app/src/middleware/PromiseMiddleware.js +59 -59
  365. package/templates/app/src/reducers/alertData.js +11 -11
  366. package/templates/app/src/reducers/index.js +6 -6
  367. package/templates/app/src/reducers/samples.js +19 -19
  368. package/templates/app/src/store/configureStore.dev.js +51 -51
  369. package/templates/app/src/store/configureStore.js +5 -5
  370. package/templates/app/src/store/configureStore.prod.js +26 -26
  371. package/templates/app/src/util/Common.js +5 -5
  372. package/templates/app/src/util/RequestAPI.js +132 -132
  373. package/templates/docs/all.html +250 -250
  374. package/templates/docs/component.html +179 -179
  375. package/templates/docs/components.html +222 -222
  376. package/templates/docs/css/b.min.css +6 -6
  377. package/templates/docs/css/component.css +42 -42
  378. package/templates/docs/css/componentTest.css +6 -6
  379. package/templates/docs/css/hopscotch.css +585 -585
  380. package/templates/docs/css/markdown.css +202 -202
  381. package/templates/docs/css/style.css +988 -988
  382. package/templates/docs/impactReportTemplate.html +154 -154
  383. package/templates/docs/index.html +1664 -1664
  384. package/templates/docs/js/active-line.js +72 -72
  385. package/templates/docs/js/b.min.js +7 -7
  386. package/templates/docs/js/codemirror.js +9680 -9680
  387. package/templates/docs/js/designTokens.js +334 -334
  388. package/templates/docs/js/j.min.js +4 -4
  389. package/templates/docs/js/javascript.js +874 -874
  390. package/templates/docs/js/matchbrackets.js +145 -145
  391. package/unittest/index.html +37 -0
  392. package/lib/plugins/StatsPlugin.js +0 -114
  393. package/packages/client_build_tool/lib/commands/build/index.js +0 -35
  394. package/packages/client_build_tool/lib/commands/build/optionsProcesser.js +0 -40
  395. package/packages/client_build_tool/lib/commands/start/postProcesser.js +0 -10
  396. package/packages/client_build_tool/lib/commands/start/preProcesser.js +0 -10
  397. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/EFCPlugin.js +0 -1
  398. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/getI18nDependency.js +0 -99
  399. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/getI18nModule.js +0 -201
  400. package/packages/client_build_tool/lib/shared/bundler/webpack/custom_postcss_loaders/ExcludePlugin.js +0 -58
  401. package/packages/client_build_tool/lib/shared/bundler/webpack/devServerConfig.js +0 -34
  402. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configCopyThirdpartyFile.js +0 -38
  403. package/packages/client_build_tool/lib/shared/bundler/webpack/pluginConfigs/configUglifyCSSPlugin.js +0 -15
  404. package/packages/client_build_tool/lib/shared/bundler/webpack/postcssPlugins.js +0 -36
  405. package/packages/client_build_tool/lib/shared/bundler/webpack/webpack.dev.config.js +0 -17
  406. package/packages/client_build_tool/lib/shared/commands-utlis/doBasicRequiermentCheck.js +0 -16
  407. package/packages/client_build_tool/lib/shared/commands-utlis/spanSync.js +0 -35
  408. package/packages/client_build_tool/lib/shared/schemas/applyValuesToShema.js +0 -37
  409. package/packages/client_build_tool/lib/shared/schemas/defaultConfigValues.js +0 -119
  410. package/packages/client_build_tool/lib/shared/schemas/deprecatedOptionsHandler.js +0 -65
  411. package/packages/client_build_tool/lib/shared/schemas/getCWD.js +0 -23
  412. package/packages/client_build_tool/lib/shared/schemas/oldDefaultConfigValues.js +0 -480
  413. package/packages/client_build_tool/lib/shared/schemas/readOptionsOld.js +0 -152
  414. package/packages/client_build_tool/lib/shared/server/cert/Tsicsezwild-22-23.crt +0 -37
  415. package/packages/client_build_tool/lib/shared/server/cert/Tsicsezwild-22-23.key +0 -27
  416. package/packages/client_build_tool/lib/shared/server/unwanted/devServerUtlis.js +0 -1
  417. package/packages/client_build_tool/lib/shared/server/unwanted/webpackConfig.js +0 -32
  418. /package/packages/client_build_tool/lib/shared/{commands-utlis → commands-utils}/log.js +0 -0
  419. /package/packages/client_build_tool/lib/shared/{commands-utlis → commands-utils}/readArgsFormCommandLine.js +0 -0
  420. /package/packages/client_build_tool/lib/shared/{commands-utlis → commands-utils}/readOptionFormCommandLine.js +0 -0
package/README.md CHANGED
@@ -1,1394 +1,1371 @@
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.1.11-exp.3 (22-8-2023)
48
-
49
- **Changes**
50
- - Changed the default name of stats file to `build-report-integrity.json`
51
- - Added optimization to reduce the stats file creation time. like streaming.
52
- - Added support to exclude keys suggested
53
-
54
- # 1.1.11-exp.2 (11-8-2023)
55
-
56
- **Changes**
57
- - Added more customization support for `stats.json` output.
58
- - Disabling `bundle-analyser` stats report for our customized stats output based on a flag.
59
-
60
- # 1.1.11-exp.1 (8-8-2023)
61
-
62
- **Changes**
63
-
64
- - Added a new config `stats` to control stats file generation.
65
-
66
- **Features:-**
67
-
68
- - Generating stats.json file for the build assets only in production mode. To use this feature we need to add `stats > enable` or cli flags `enable_stats`.
69
-
70
- # 1.1.11 (4-8-2023)
71
-
72
- **Changes**
73
-
74
- - we have renamed our default config file as `react-cli.config.js` instead of `build.config.js`. But we still support `build.config.js` we will remove it in later major version.
75
-
76
- - Prop-type, Prop description, Default Props support for docs given.
77
- - Docs and Docs_Code UI updated.
78
-
79
- **Features:-**
80
-
81
- - custom classname prefix for separate packages now supported.
82
- - to use custom classnames for specific patterns, we use the following pattern in `app > customClassNamePrefix` or `docs > customClassNamePrefix` :
83
-
84
- ```
85
- "customClassNamePrefix" : [
86
- {
87
- "enable": true,
88
- "prefix": "[required-prefix]",
89
- "patterns":[
90
- "**/[path-name]/**/*.css"
91
- ]
92
- }
93
- ]
94
- ```
95
-
96
- For example,
97
-
98
- ```
99
- "customClassNamePrefix": [
100
- {
101
- "enable": true,
102
- "prefix": "zdSvg",
103
- "patterns": [
104
- "**/@zohodesk/svg/**/*.css"
105
- ]
106
- },
107
- ],
108
- ```
109
-
110
- **Issue Fix:**
111
-
112
- - typo fix, (../src/common/runPreProcess.js) to (../lib/common/runPreProcess.js) in cli.js our code.
113
-
114
- # 1.1.10 (2-8-2023)
115
-
116
- **Issue Fix:**
117
-
118
- - undefined plugin postcss issue fixed for docs.
119
- - unnecessary deprecation warning stopped. (for exclude config)
120
-
121
- # 1.1.9 (25-7-2023)
122
-
123
- **Features:-**
124
-
125
- - we have added config file support for react-cli schema. the default config file name `build.config.js` support added. In `build.config.js` you must export configuration object under `config` key. And Note: `build.config.js` is high priority then `package.json` `react-cli` config.
126
- - added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
127
- only will be activate when `resourceHints` => `allowPrefetchingMultipleChunks` as `true`
128
- - added support for pattern as function for custom chunks split logic.
129
- - added options to split chunks base config in the key `app` => `customChunksBaseConfig` as object
130
- - added `postCssPluginOrder` feature :
131
-
132
- - If `app > postCssPluginOrder` or `docs > postCssPluginOrder` is set to "false", default plugin order will be followed.
133
- - If `app > postCssPluginOrder` or `docs > postCssPluginOrder` is set to "true", order preserved in `plugins` Object will be considered.
134
- - If `app > postCssPluginOrder` or `docs > postCssPluginOrder` is set to an array with plugins in a custom order, the custom order will be considered.
135
-
136
- - We use the same plugin names as in `patterns` for the plugins to execute successfully.
137
-
138
- **Issue Fix**
139
-
140
- - fixed file path separator issue with split chunks config for vendor exclude list for windows (that was work well for mac and ubuntu only issue in windows).
141
- - fixed cssUniqueness pattern not working in docs.
142
-
143
- **Changes**
144
-
145
- - previously all custom chunks are enforce true, no we have given support for enforce false for chunks on splitChunks config.
146
-
147
- # 1.1.8
148
-
149
- **Issue Fix**
150
-
151
- - Docs fix for Selector Replace 'always require argument' issue.
152
-
153
- # 1.1.7
154
-
155
- **Feature**
156
-
157
- - Markdown parser feature added in docs
158
- For more info please refer to :
159
- [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/MarkdownParser.md)
160
-
161
- # 1.1.6-exp.2
162
-
163
- - fixed file path separator issue with split chunks config for vendor exclude list.
164
- - added support for not doing enforce true for chunks on splitChunks config.
165
-
166
- # 1.1.5-exp.5
167
-
168
- - fixed the issues regarding custom chunks base config schema.
169
-
170
- # 1.1.5-exp.4
171
-
172
- - added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
173
-
174
- # 1.1.5-exp.3
175
-
176
- - added options to split chunks base config
177
- - added support for passing custom chunks split logic as function.
178
-
179
- # 1.1.6
180
-
181
- **Issue Fix**
182
-
183
- - local install react-cli spawnSync Error fix in npm 8
184
- - babel version update issue fix (Cannot read properties of undefined (reading 'file')) and (BABEL_TRANSFORM_ERROR)
185
-
186
- # 1.1.5-exp.2
187
-
188
- **Issue Fix**
189
-
190
- - local install react-cli spawnSync Error fix in npm 8
191
-
192
- # 1.1.5
193
-
194
- **Issue Fix**
195
-
196
- - include pattern fix for variable converter plugin fixed
197
-
198
- # 1.1.4
199
-
200
- **Issue Fix**
201
-
202
- - global install react-cli spawnSync Error fix
203
- - `0px` variable value conversion issue fixed
204
- - pattern exclude for postcss plugins case fixed
205
-
206
- # 1.1.3
207
-
208
- **Issue Fix**
209
-
210
- - local install react-cli spawnSync Error fix
211
-
212
- # 1.1.2
213
-
214
- **Issue Fix**
215
-
216
- - ReactLiveConverter filepath changed to 'reactLiveConverter.js' in docLoader file
217
-
218
- # 1.1.1
219
-
220
- **Issue Fix**
221
-
222
- - docs component name incorrect in windows, when using --enableReactLive issue fixed.
223
-
224
- **Feature Update**
225
-
226
- - Support for desk-library to use Selector Replace plugin using individual script. To use `react-cli selectorReplacer [source] [target]`
227
-
228
- # 1.1.0
229
-
230
- **Feature Update**
231
-
232
- - Support for desk-library to use variable conversion plugin using individual script. To use `react-cli variableConverter [source] [target]`
233
- - pattern filter changes, new filter system instead of exclude to include or exclude files for plugins.
234
- For more info please refer to :
235
- [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/patternFiltering.md)
236
- - React Live feature implemented for Docs.
237
- [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/ReactLive.md)
238
-
239
- # 1.0.3-beta.1
240
-
241
- **Issue Fix**
242
-
243
- - nock api not working issue fixed. This error throwing in @zohodesk/react-cli@1.0.2 version. but working in older versions ( 0.0.1-beta.178 )
244
-
245
- # 1.0.3
246
-
247
- **Feature Update**
248
-
249
- - Support for global httpsCerts usage
250
- - Support for global client_packages_group usage
251
- - 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).
252
- **Package Update**
253
- - @zohodesk/client_packages_group@**1.0.1** ==> @zohodesk/client_packages_group@**1.0.2**
254
-
255
- # 1.0.2
256
-
257
- **Feature Update**
258
-
259
- - Selector replace plugin made as a custom postcss-plugin with update to code that was unpublished in package.
260
-
261
- # 1.0.1
262
-
263
- **Issue Fix**
264
-
265
- - variable conversion for px and var(--) values in same declaration was not supported, now it is supported.
266
- - package-lock.json removed from `.npmignore`
267
-
268
- **Feature Update**
269
-
270
- - exclude added to Selector Plugin
271
-
272
- # 1.0.0
273
-
274
- ## Major Release
275
-
276
- **Changes:**
277
-
278
- - File support added for `.webp` for `docs`, `dev` and `prod` mode
279
- - File support added for `.webm` for `docs`, `dev` and `prod` mode
280
-
281
- **Breaking Changes:**
282
-
283
- - We have remove ssl certificate for security reasons.
284
- So default https server won't run.
285
- In order to make it work as before you need to specify two things
286
- 1. install `@zohodesk-private/client_dev_cert`
287
- 2. `react-cli.app.server.httpsCerts` option example `"httpsCerts": "@zohodesk-private/client_dev_cert"`
288
- unless configaration are proper this may break `start` , `docs` , `nowatchstart`. and mock wms `/wmsmockapi` won't work.
289
- So Please be carefull when you update this version or above without proper configaration.
290
-
291
- # 0.0.1-beta.178
292
-
293
- **Changes:**
294
-
295
- - File support added for `.webp` for `docs`, `dev` and `prod` mode
296
- - File support added for `.webm` for `docs`, `dev` and `prod` mode
297
-
298
- **Breaking Changes:**
299
-
300
- - We have remove ssl certificate for security reasons.
301
- So default https server won't run.
302
- In order to make it work as before you need to specify two things
303
- 1. install `@zohodesk-private/client_dev_cert`
304
- 2. `react-cli.app.server.httpsCerts` option example `"httpsCerts": "@zohodesk-private/client_dev_cert"`
305
- unless configaration are proper this may break `start` , `docs` , `nowatchstart`.
306
- So Please be carefull when you update this version or above without proper configaration.
307
-
308
- # 0.0.1-exp.178.2
309
-
310
- **Changes:**
311
-
312
- - File support added for `.webm` for `docs`, `dev` and `prod` mode
313
-
314
- # 0.0.1-exp.178.1
315
-
316
- **Breaking Changes:**
317
-
318
- - We have remove ssl certificate for security reasons.
319
- So default https server won't run.
320
- In order to make it work as before you need to specify two things
321
- 1. install `@zohodesk-private/client_dev_cert`
322
- 2. `react-cli.app.server.httpsCerts` option example `"httpsCerts": "@zohodesk-private/client_dev_cert"`
323
- unless configaration are proper this may break `start` , `docs` , `nowatchstart`.
324
- So Please be carefull when you update this version or above without proper configaration.
325
-
326
- # 0.0.1-beta.177
327
-
328
- **Changes:**
329
-
330
- - We have added extra new Error option `MULTIPLE_OCCURANCES` support for **convert px to custom variables**.
331
- - 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 :
332
- - `changes` : for the variables that have to be converted, manual values can be added ( eg. "--wms_height": "height" )
333
- - `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.
334
- - strict mode can be enabled for checking --variables in `cssVariableReplacementOptions.strictMode`
335
- For more information and reference, refer to `[details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/VariableConversion.md)
336
-
337
- - and this version has same as `0.0.1-exp.176.12`, `0.0.1-exp.176.11`
338
-
339
- # 0.0.1-exp.176.12
340
-
341
- **Changes:**
342
-
343
- - 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.
344
-
345
- # 0.0.1-exp.176.11
346
-
347
- **Issue Fix:**
348
-
349
- - 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.
350
-
351
- # 0.0.1-beta.176
352
-
353
- **Features:**
354
-
355
- - we have added feature to **increase Selector weight** for all css classes in your project during build time.
356
- To enable this feature you have to set `react-cli.app.plugins.selectorWeight` as `true` in **package.json**.
357
- For more [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/SelectorWeight.md)
358
- - Updates to variable replacement are given :
359
- - css variables with -- are now supported due to the webpack plugin `VariableConversionCollector` that is generated for the same.
360
- - `DECIMAL_CHECK`, `DECIMAL_REJECT` are two new errors supported.
361
- - support for text-indent, clip, flex, flex-basis, row-gap, column-gap, gap properties are now given.
362
- For more information and reference, refer to `[details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/VariableConversion.md)
363
-
364
- # 0.0.1-beta.175
365
-
366
- **Issue Fix:-**
367
-
368
- - When we use "hoverActive" @import in css not working issue fixed
369
-
370
- **Features:**
371
-
372
- - `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
373
-
374
- # 0.0.1-beta.174
375
-
376
- cli has been updated to fix compose issue faced when classname:hover exists and classname does not before compose
377
-
378
- **Issue Fix:-**
379
-
380
- - In react-cli version `0.0.1-beta.173`, when we use `start` command throws error issue fixed
381
- - while using `cssVariableReplacementOptions`, compose issue faced in css files, when classname:hover exists and classname does not exist issue fixed
382
-
383
- **Feature:-**
384
-
385
- - `react-cli.test.classnameFormat` option added to change CssModules (Ex: import style from "./a.module.css" ) className transform template unittest case.
386
- `classnameFormat` default value `[classname]` you can customize it. Example: `[classname]-[hash]`
387
-
388
- **Changes:-**
389
-
390
- - `jsonFile_test_*.json` files deleted after they used.
391
-
392
- # 0.0.1-beta.173
393
-
394
- **Features:**
395
-
396
- - we have added feature to **convert px to custom variables** for all css files in your project during build time.
397
- To enable this feature you have to set `react-cli.app.plugins.cssVariableReplacement` as `true` in **package.json**.
398
-
399
- 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
400
-
401
- For an more information and reference, refer to `[details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/VariableConversion.md)
402
-
403
- # 0.0.1-beta.172
404
-
405
- We have renamed some options, For Our future features convenience.
406
- We have given fallback support.
407
- Deprecation Warnings:-
408
-
409
- - `react-cli.app.hasRTL` ==> `react-cli.app.plugins.hasRTL`
410
- - `react-cli.app.rtlExclude` ==> `react-cli.app.exclude.rtl`
411
-
412
- - `react-cli.docs.hasRTL` ==> `react-cli.docs.plugins.hasRTL`
413
- - `react-cli.docs.rtlExclude` ==> `react-cli.docs.exclude.rtl`
414
- these options have fallback support.
415
-
416
- # 0.0.1-beta.171
417
-
418
- Features added :
419
-
420
- 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.
421
-
422
- # 0.0.1-beta.170
423
-
424
- this version has same as `0.0.1-exp.169.1`, `0.0.1-exp.169.2`
425
-
426
- # 0.0.1-exp.169.2
427
-
428
- 1. flags are converted to one variable 'plugin' and used in getCssLoaders.js.
429
- 2. files for exclusion can be put in seperate arrays in 'exclude' present in package.json.
430
- 3. `combinerMq` has been converted to `combinerMediaQuery` for clarity.
431
-
432
- # 0.0.1-exp.169.1
433
-
434
- File support added for mp4 for docs dev and prod mode
435
-
436
- # 0.0.1-beta.169
437
-
438
- 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
439
-
440
- 1. `--efc_version=v3` flag added for change efc version via commmand line option
441
- 2. `hoverActive` flag added for conversion from usual hover to @media(hover:hover) and @media(hover:none) queries for hover support in mobile.
442
- 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.
443
-
444
- # 0.0.1-exp.168.3
445
-
446
- Changes :
447
-
448
- 1. code optimization ( made functions for the hoverActive cases making it more easier to access)
449
- 2. handled `hover:ignore`, `active:ignore`, `hoverActive:ignore` cases for usual queries and media queries
450
-
451
- # 0.0.1-exp.168.2
452
-
453
- Changes :
454
-
455
- 1. hoverActive case handled with postcss `hover:hover` media query and `hover:none` media query is added
456
- 2. flag for hoverActive used to add/remove postcss changes
457
-
458
- # 0.0.1-exp.168.1
459
-
460
- Changes:-
461
-
462
- 1. `cliRootPath` option removed `react-cli.app.cliRootPath` in `package.json`
463
- Due to the reason we updated our logic to find package's executable path.
464
- 2. `--efc_output_file=efc-sdk-[version].js` option added to modify efc output file by terminal
465
- 3. added logic to print error message during command run, Previously when executable not found error messages not printed
466
-
467
- # 0.0.1-beta.168
468
-
469
- Changes:-
470
-
471
- 1. `enableChunkHash` option enabled for dev mode, use it as `react-cli.app.enableChunkHash` in `package.json`
472
- 2. `--enable_efc=true` option added to enable efc by terminal
473
- 3. unwanted pem files removed
474
-
475
- # 0.0.1-exp.167.1
476
-
477
- Features:-
478
-
479
- - In docs we have added `Description` for Component Props- check out it in `PropTypes` tab
480
-
481
- # 0.0.1-beta.167.1
482
-
483
- In this version we merged changes from [0.0.1-betaa.138.1](#0.0.1-betaa.138.1).
484
- and with [0.0.1-beta.167](#0.0.1-beta.167) version changes.
485
-
486
- # 0.0.1-beta.167
487
-
488
- SSL certificate update
489
- this version has same as `0.0.1-exp.166.1`, `0.0.1-exp.166.2` and below and some minor changes
490
- Features:-
491
-
492
- - `--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
493
- - Example `react-cli clone --clone_type=git --clone_url=https://some.url --shallow_clone`
494
- - `cliRootPath` option added for npm workspace related path problems
495
- - Usage `package.json` , "react-cli" => "cliRootPath" stright key
496
- - `unstableDepsInverse` option added for use app need library first priority over react-cli packages
497
- - Usage `package.json` , "react-cli" => "unstableDepsInverse" stright key
498
-
499
- Issue Fix :-
500
-
501
- - In devmode initial html not recived after second rebuild issue fix.
502
- - typo fix `devBulid` to `devBuild`.
503
- - `disableES5Transpile` option missed in docs now added.
504
- - docs libAlias not work as app for example in app we always take `es` folder to build for treshaking and reasons,
505
- But that option not enabled in docs. now it is enabled.
506
- - In `react-cli devbuild` command options not working properly,
507
- when above command run via terminal not via npm run script options not working
508
- So we send that options to webpack then it works as expected.
509
- this behaviour need to check across os and need to be cross check with other commends as well for now we only fixed this
510
-
511
- # 0.0.1-exp.166.2
512
-
513
- Changes:-
514
-
515
- - `-w` option (watch option) added for `react-cli rtl`
516
- - Example `react-cli rtl ./src ./lib -w`
517
- <!-- need to handle `react-cli rtl` options correctly -->
518
- - disableES5Transpile option libAlias added for docs
519
-
520
- # 0.0.1-exp.166.1
521
-
522
- Changes:-
523
-
524
- - `__testUtils__/globals.js` to jest is not mantatory
525
- - disableES5Transpile option libAlias added
526
-
527
- # 0.0.1-beta.166
528
-
529
- this version has same as `# 0.0.1-exp.164.1`, `# 0.0.1-exp.164.2` and below and some minor changes
530
-
531
- - google chorme cors preflight issue fix
532
-
533
- # 0.0.1-beta.165
534
-
535
- - `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)
536
- - `valuereplacer` option added in react-cli it takes three
537
- 1. sourceDir
538
- 2. distDir
539
- 3. `copyAll` is boolean flag which is for copy all other file or not. "true" means copy all files.
540
-
541
- # 0.0.1-exp.164.1
542
-
543
- - extra features in custom chunks reffer [this](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/CustomChunks.md)
544
-
545
- # 0.0.1-exp.164.2
546
-
547
- - `devbuild` option add to react cli
548
-
549
- # 0.0.1-beta.164
550
-
551
- - typo fix
552
-
553
- # 0.0.1-beta.163
554
-
555
- - **Issue Fix:-**
556
-
557
- - if git not installed react-cli throws error for any command due to `getCurrentBranch` in `shemas/index.js` now fixed
558
- - jest test cases not runnig issue fix (typo moduleNameMapper => libAlias)
559
-
560
- - **Features :-**
561
- - feature added for pre process logic
562
- - tailer made requirement for preprocess, just write node js file
563
- - mention file in `"react-cli" => "preprocess" => "runner"`
564
- - option parse logic added for react-cli (exprimental)
565
- - `--stop_nodemon` usally preprocessor run in `nodemon` so to stop it this option is provided
566
-
567
- # 0.0.1-exp.162.2
568
-
569
- - **Optimazation:-**
570
- - double time minimize optimazation
571
-
572
- # 0.0.1-beta.162.1
573
-
574
- - **Issue Fix:-**
575
- - if git not installed react-cli throws error for any command due to `getCurrentBranch` in `shemas/index.js` now fixed
576
-
577
- # 0.0.1-beta.161.1
578
-
579
- - **Features :-**
580
- - feature added for pre process logic
581
- - tailer made requirement for preprocess, just write node js file
582
- - mention file in `"react-cli" => "preprocess" => "runner"`
583
- - option parse logic added for react-cli (exprimental)
584
-
585
- # 0.0.1-beta.162
586
-
587
- - @zohodesk/datetimejs package updated to beta.8
588
-
589
- # 0.0.1-beta.161
590
-
591
- - **Features :-**
592
- - feature added for efc `templateFilePath` in `package.json` option palce is `"react-cli" => "efc" => "templateFilePath"`
593
- - `(('publicPath'))` this placeholder will be replace as publicPath string `publicPath`
594
- - `(('getInitalAssets'))` this placeholder will be replace as function `getInitalAssets`
595
- - `getInitalAssets` this function has two arguments `assetsType`, `lang`
596
- - `assetsType` are `js`, `css`, `i18n`
597
- - `lang` this argument only works when `i18n` is `assetsType`
598
- - feature added for efc `cdnStatement`
599
- - **Issue fixes:-**
600
- - css classname hash change issue fix
601
- - debug package conflit issue fix in nock in (react-cli test)
602
- - manifest.json css file name correction issue for rtl and ltr
603
-
604
- # 0.0.1-exp.161.2
605
-
606
- - Features
607
- - feature added for efc `templateFilePath` in `package.json` option palce is `"react-cli" => "efc" `
608
- - `(('publicPath'))` this placeholder will be replace as publicPath string `publicPath`
609
- - `(('getInitalAssets'))` this placeholder will be replace as function `getInitalAssets`
610
- - `getInitalAssets` this function has two arguments `assetsType`, `lang`
611
- - `assetsType` are `js`, `css`, `i18n`
612
- - `lang` this argument only works when `i18n` is `assetsType`
613
-
614
- # 0.0.1-exp.161.1
615
-
616
- - Features
617
- - feature added for efc `cdnStatement`
618
- - Issue fixes:-
619
- - css classname hash change issue fix
620
- - debug package conflit issue fix in nock in (react-cli test)
621
- - manifest.json css file name correction issue for rtl and ltr
622
-
623
- # 0.0.1-beta.160
624
-
625
- - @zohodesk/normalizer package version updated to 1.0.2
626
-
627
- # 0.0.1-beta.159
628
-
629
- - @zohodesk/datetimejs package updated to beta.7
630
-
631
- # 0.0.1-exp.159
632
-
633
- - issue fix:-
634
- - when rtl ltr css split enable manifest json css filename keys comes with hash .
635
-
636
- # 0.0.1-beta.158
637
-
638
- - Removing source map files from service worker caching.
639
-
640
- # 0.0.1-beta.157
641
-
642
- - Experimental version issue fix(Dummy version removed)
643
-
644
- # 0.0.1-beta.156
645
-
646
- - ReportPublish issue fix
647
-
648
- # 0.0.1-beta.155
649
-
650
- - get impacted library source files option added
651
-
652
- # 0.0.1-beta.154
653
-
654
- - mockPrefix option for mock url prefix change
655
- - Issue fix:-
656
- - un wanted {{--js-smap}} in inital html without enable smap in build
657
-
658
- # 0.0.1-beta.153
659
-
660
- - Vendor include array added
661
- - If you need to include any thrid party js in vendor we can use this array
662
-
663
- # 0.0.1-beta.152
664
-
665
- impact servise related changes:-
666
-
667
- - 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)
668
- - cssselector_zip option added. will be used like `--cssselector-zip=selectormapping.zip`
669
- only work in two ways
670
- 1. `react-cli start --disable-watch --cssselector-zip=selectormapping.zip` app start command with `--disable-watch` flag and your usaul options
671
- 2. `react-cli nowatchstart --cssselector-zip=selectormapping.zip` app start command's usaul options
672
- #### Urls are:-
673
- Below express path are added, For download zip files and
674
- - `/zips/${zipname}.zip` for css selector maps zip file (contains css_map filies and original css files)
675
- - `/zips/build.zip` build zip file (contains bundled all files)
676
-
677
- # 0.0.1-beta.151
678
-
679
- - issue fix:- Docs config 'html-loader' options updated.
680
- - sslcertUpdate feature added
681
- - disable_watch option added. will be used like `--disable-watch` or `--disable-watch=true`
682
- - dev_cache option added. will be used like `--dev_cache` or `--dev_cache=true`
683
-
684
- # 0.0.1-beta.150
685
-
686
- - issue Fix:- in npm 7 option not working issue fixed
687
- - ssl certificate update
688
-
689
- # 0.0.1-beta.149
690
-
691
- - css, ltr and rtl chunk split based on [dir=ltr]
692
- - to enable ltr and rtl chunk spilt you have to add config in you package.json
693
- <!-- - [docs for rtl-ltr](src\plugins\RtlSplitPlugin\RtrSplit.md) -->
694
- - we have added some options in EFCPlugin for rtlsplit related features.
695
- - we have expoed require function for only css impact related changes with flag
696
-
697
- # 0.0.1-beta.148
698
-
699
- - source map enabled in prod mode for debug client
700
- - crossorigin attribute added for scripts
701
-
702
- # 0.0.1-beta.147
703
-
704
- - reportpublish issue fix
705
-
706
- # 0.0.1-beta.146
707
-
708
- - while docs run LibraryImactPlugin not constructor issue fix
709
- - css loader added for css impact related changes
710
-
711
- # 0.0.1 -beta.145
712
-
713
- - LibraryImpactPlugin added
714
- - check impacted source components name if any version update happened with master
715
-
716
- # 0.0.1-beta.144
717
-
718
- - prod build bug fix
719
-
720
- # 0.0.1-beta.143
721
-
722
- - `babel-plugin-transform-remove-console` added for remove console properties except error and log
723
- - `console_exculde` script added if suppose enable same in dev mode
724
- - service worker plugin changes
725
- - library impact changes
726
-
727
- # 0.0.1-beta.142
728
-
729
- - `eslint-plugin-react-hooks` added to eslint support.
730
- - Updated exact versions to eslint plugins installation script.
731
-
732
- # 0.0.1-beta.141
733
-
734
- - report publish sh fixes
735
- - duplicate removal in impacted componentTest
736
-
737
- # 0.0.1-beta.140
738
-
739
- - copy-webpack-plugin bug fix
740
-
741
- # 0.0.1-beta.139
742
-
743
- - copy-webpack-plugin downgrade
744
- - babel runtime plugin issue fix in prod config
745
- - few enhancements
746
-
747
- # 0.0.1-betaa.138.1
748
-
749
- - new feature added for custom extra attribute for dynamically added tags by webpack.
750
- - To enable this feature you need to enable "react-cli" => "app" => "customAttributes" => "enable"
751
- - For more [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/9eea8df14e55584b2114b5e484ca8b751a4ba191/src/plugins/CustomAttributePlugin.md)
752
-
753
- # 0.0.1-beta.138
754
-
755
- - sstest library version updated
756
- - unitcase calcluation issues fixed
757
-
758
- # 0.0.1-beta.137
759
-
760
- - Third party css files loading issue fix
761
-
762
- # 0.0.1-beta.136
763
-
764
- - eslint support
765
-
766
- # 0.0.1-beta.135
767
-
768
- - windows publish issue
769
-
770
- # 0.0.1-beta.134
771
-
772
- - Build Issue Fix
773
-
774
- # 0.0.1-beta.133
775
-
776
- - CDN Changes in I18nSplitPlugin
777
- - nonce support added for i18n chunks
778
-
779
- # 0.0.1-beta.132
780
-
781
- - CDN Changes in EFC Plugin
782
-
783
- # 0.0.1-beta.131
784
-
785
- - Added Cdn Change Plugin
786
-
787
- # 0.0.1-beta.130
788
-
789
- - Babel 7 migration, ES6 build generation config and polyfill removal
790
- - CopyPlugin issue fix
791
-
792
- #0.0.1-beta.129
793
-
794
- - Upgraded 'moment' to version 2.29.1 and 'moment-timezone' to version 0.5.32
795
-
796
- # 0.0.1-beta.128
797
-
798
- - Added support to generate hash for the third party files(TPHashMappingPlugin)
799
-
800
- # 0.0.1-beta.127
801
-
802
- - service worker plugin - to recursively add multiple directories (recursive=true)
803
-
804
- # 0.0.1-beta.126
805
-
806
- - issue fix in i18n split plugin
807
-
808
- # expremental versions
809
-
810
- - 0.0.1-beta.121
811
- - 0.0.1-beta.122
812
- - 0.0.1-beta.123
813
- - 0.0.1-beta.124
814
- - 0.0.1-beta.125
815
-
816
- # 0.0.1-beta.120
817
-
818
- - issue fix in third party file copying
819
-
820
- # expremental versions
821
-
822
- - 0.0.1-beta.119
823
- - 0.0.1-beta.118
824
-
825
- #0.0.1-beta.117
826
-
827
- - createSDkFile otion added for efc
828
- - small fix in i18n split plugin
829
-
830
- #0.0.1-beta.116
831
-
832
- - thirdparty package move to build (tpFolder in app config)
833
-
834
- #0.0.1-beta.115
835
-
836
- - Added Web worker support
837
-
838
- #0.0.1-beta.114
839
-
840
- - i18n split based on chunk
841
- - to enable i18n chunk spilt you have to add config in you package.json
842
-
843
- #0.0.1-beta.113
844
-
845
- - Upgraded 'fz-i18n' package version to 1.2.0-beta.15
846
-
847
- #0.0.1-beta.112
848
-
849
- - Duplicate Prefetch Request Issue Fixed (Resource Hint Plugin)
850
- - Service worker plugin changes
851
-
852
- #0.0.1-beta.111
853
-
854
- - hasRTL, selectorReplace Condition Separated
855
-
856
- #0.0.1-beta.110
857
-
858
- - SplitChunk Order Issue Fixed
859
- - https url issue Fixed
860
-
861
- #0.0.1-beta.109
862
-
863
- - @zohodesk/screenshottest package version update (19) and log for the gitlab private api to check the response
864
-
865
- #0.0.1-beta.108
866
-
867
- - @zohodesk/screenshottest package version update (18)
868
-
869
- #0.0.1-beta.107
870
-
871
- - changed component without docs finder added
872
-
873
- #0.0.1-beta.106
874
-
875
- - custom chunk support changes
876
- - css absolute url fix
877
-
878
- #0.0.1-beta.105
879
-
880
- - @zohodesk/screenshottest package version update (17) with the issue fix
881
-
882
- #0.0.1-beta.104
883
-
884
- - ModuleStatsPlugin inject false option added to solve the webpack build twice issue
885
-
886
- #0.0.1-beta.103
887
-
888
- - @zohodesk/screenshottest package version update (16) with the issue fix
889
-
890
- #0.0.1-beta.102
891
-
892
- - @zohodesk/screenshottest package version update (15) with the issue fix
893
-
894
- #0.0.1-beta.101
895
-
896
- - 100 changes readme missing
897
- - bundle analyser changes
898
-
899
- #0.0.1-beta.100
900
-
901
- - @zohodesk/screenshottest package version update with the issue fix
902
- - font public path replace issue for url fonts - fixed
903
-
904
- #0.0.1-beta.99
905
-
906
- - can't publish already published
907
-
908
- #0.0.1-beta.98
909
-
910
- - defer break public path adding regex - fixed
911
-
912
- #0.0.1-beta.97
913
-
914
- - added 'babel-plugin-transform-react-remove-prop-types' in package.json (missed earlier)
915
-
916
- #0.0.1-beta.96
917
-
918
- - html plugin inject option expose and version udpate 4.2.0
919
- - src html change i18n removal issue fix
920
- - script loading defer added
921
- - added babel plugin to remove proptypes
922
-
923
- #0.0.1-beta.95
924
-
925
- - schemas/index.js - issue fix
926
-
927
- #0.0.1-beta.94
928
-
929
- - screenshot test library version update
930
- - ssserver issue fix
931
-
932
- #0.0.1-beta.93
933
-
934
- - selector replacer for Help Center usecase
935
- - eslint performance plugin
936
- - css classname hash selector support for docs
937
- - service worker plugin
938
-
939
- #0.0.1-beta.92
940
-
941
- - docs ui fixes and edit mode
942
- - @zohodesk/datetimejs version update
943
-
944
- #0.0.1-beta.91
945
-
946
- - repo clone command pull issue fix
947
- - docs css change
948
- - SSTest package version downgrade
949
-
950
- #0.0.1-beta.90
951
-
952
- - added support for copying Timezone data from @zohodesk/datetimejs
953
- - docstool changes
954
-
955
- #0.0.1-beta.89
956
-
957
- - CSP nonce support for initial assets `{{--CSP-nonce}}`
958
- - introduced new mode to disable react warns in dev mode (dev-no-warn)
959
- - docs ui fix
960
-
961
- #0.0.1-beta.88
962
-
963
- - Impact run and Master seperate during SSTEST
964
- - docs changes
965
- - filenames and packages addedd in cssHashSelectors option
966
-
967
- #0.0.1-beta.87
968
-
969
- - run screenshot test for impacted components
970
- - seperate master from the CI flow with the HBase storage
971
- - docs changes
972
- - coverage percentage check disabled
973
-
974
- #0.0.1-beta.86
975
-
976
- - exclude without js changes for unittest
977
- - express server history fallback refactored
978
-
979
- #0.0.1-beta.85
980
-
981
- - i18n placeholder removal issue fixed
982
- - css classname prefix moved to option. default is zd
983
-
984
- #0.0.1-beta.84
985
-
986
- - object spread operator support
987
-
988
- #0.0.1-beta.83
989
-
990
- - eslint report type by flag
991
- - unitcase file exclude array issue fix
992
- - sstesthack issue fix
993
-
994
- #0.0.1-beta.82
995
-
996
- - eslint impact run enable - completed
997
- - devplugin cleanupstats filename import issue fix
998
- - coveragecollector return format change
999
-
1000
- #0.0.1-beta.81
1001
-
1002
- - unit test case syntax error issue fix - removed unwanted dependency `css-modules-require-hook`
1003
-
1004
- #0.0.1-beta.80
1005
-
1006
- - unitcase filecoverage testpath issue fix
1007
- - shadowdom support
1008
- - postpublish and sstest hack script
1009
- - dependencies impact list
1010
- - can change runtime chunk's character
1011
- - font preload added
1012
-
1013
- #0.0.1-beta.79
1014
-
1015
- - unitcase filecoverage added and also codecoverage with dependencies spec added
1016
-
1017
- #0.0.1-beta.78
1018
-
1019
- - components and dot library's stats added with module stats
1020
- - Mini css extract plugin's unwanted logs removed
1021
- - runtime chunk added in dev mode
1022
- - nodemon windows issue fix
1023
- - testinfo failure missing while can't get coverage
1024
- - performance eslint plugin added and normalizer moved under zohodesk
1025
-
1026
- #0.0.1-beta.77
1027
-
1028
- - @zohodesk/eslint-plugin-zsecurity version update
1029
- - git pull origin with branch name while screenshot test after the branch switch
1030
-
1031
- #0.0.1-beta.76
1032
-
1033
- - breaking issue fix from last version ( prod config issue )
1034
-
1035
- #0.0.1-beta.75
1036
-
1037
- - sstest - reinstall dependencies after switch branch
1038
-
1039
- #0.0.1-beta.74
1040
-
1041
- - docs provider support (Component.\_provider)
1042
-
1043
- #0.0.1-beta.73
1044
-
1045
- #0.0.1-beta.72
1046
-
1047
- - run eslint security rules option enable
1048
- - add the reportURL with the result.json file
1049
- - mock server post api issue fix
1050
-
1051
- #0.0.1-beta.71
1052
-
1053
- - publicpath hard coding while flatten build issue fix
1054
-
1055
- #0.0.1-beta.70
1056
-
1057
- - css class compression flag enable
1058
- - docs src URL update
1059
-
1060
- #0.0.1-beta.69
1061
-
1062
- - babel-plugin-transform-dynamic-import library with webpack.docs.config.js for docs service
1063
- - babel-lodash plugin fix with getdevplugin
1064
- - cursor blink issue fix for sstest
1065
- - in result.json unitcase coverage verified boolean added
1066
-
1067
- #0.0.1-beta.68
1068
-
1069
- - rtl ignore [dir] changes
1070
-
1071
- #0.0.1-beta.67
1072
-
1073
- - babel-plugin-transform-dynamic-import library added with package.json
1074
- - schema change with hostname cli option s
1075
-
1076
- #0.0.1-beta.66
1077
-
1078
- - mockport hard coded issue fix
1079
-
1080
- #0.0.1-beta.65
1081
-
1082
- - window rtl build issue fix
1083
- - separate rtl build support added like react-cli rtl ./src ./lib
1084
-
1085
- #0.0.1-beta.64
1086
-
1087
- - postcss-rtl issue temp fix so move to @zohodesk/postcss-rtl
1088
-
1089
- #0.0.1-beta.63
1090
-
1091
- - LTR & RTL support added
1092
-
1093
- #0.0.1-beta.62
1094
-
1095
- - componentTest.css entry in components.html
1096
-
1097
- #0.0.1-beta.60
1098
-
1099
- - SSTMiddleware hook added for ssserver
1100
- - remove some unwanted class in components.css
1101
- - componentTest.css added with common animation break css rules
1102
-
1103
- #0.0.1-beta.59
1104
-
1105
- - vendor files exclude from app
1106
- - since the chunk hash issue, moduleIds configured as named
1107
-
1108
- #0.0.1-beta.58
1109
-
1110
- - Push result json with the report zip
1111
- - screenshot-test library Version update
1112
-
1113
- #0.0.1-beta.57
1114
-
1115
- - vendor chunk split issue fix
1116
-
1117
- #0.0.1-beta.56
1118
-
1119
- - css ordering issue fix
1120
-
1121
- #0.0.1-beta.55
1122
-
1123
- - prod build performance changes
1124
- - css duplication issue fix
1125
- - root chunk splitting logic change
1126
-
1127
- #0.0.1-beta.54
1128
-
1129
- - increased css hash size 5 to 10
1130
-
1131
- #0.0.1-beta.53
1132
-
1133
- - generate json file for all the test results during test run
1134
- - sstest version update
1135
- - some issue fixes
1136
-
1137
- #0.0.1-beta.52
1138
-
1139
- - template src folder missed issue fix because of npmignore all src folder
1140
-
1141
- #0.0.1-beta.51
1142
-
1143
- - template app updated with redux and router by kumaresan(thala)
1144
-
1145
- #0.0.1-beta.50
1146
-
1147
- - window machine css unique issue fix
1148
-
1149
- #0.0.1-beta.49
1150
-
1151
- - dev css unique issue fix
1152
-
1153
- #0.0.1-beta.48
1154
-
1155
- - telephony support css unique changes
1156
-
1157
- #0.0.1-beta.47
1158
-
1159
- - git pull during the branch switch in ssserver
1160
- - common util file for pull and switch the branches for both git and hg
1161
-
1162
- #0.0.1-beta.46
1163
-
1164
- - ogg file support and tmpl file support
1165
-
1166
- #0.0.1-beta.45
1167
-
1168
- - checkout branch with force during sstest
1169
-
1170
- #0.0.1-beta.44
1171
-
1172
- - sstest master trigger issue fix
1173
-
1174
- #0.0.1-beta.43
1175
-
1176
- - get component object from docs server by http protocol during sstest
1177
- - reach docs server by the IP address of the host.
1178
- - get the current branch name by args
1179
-
1180
- #0.0.1-beta.42
1181
-
1182
- - className ssTest added and screenshot test version update
1183
-
1184
- #0.0.1-beta.41
1185
-
1186
- - i18n replace issue fix
1187
-
1188
- - some css changes related to above
1189
- - screenshottest version update
1190
-
1191
- #0.0.1-beta.40
1192
-
1193
- - SSTMiddleware added to get hook from webpack build process to start sstest
1194
- - run unit test for commited files except the spec file name from name list
1195
- - publicpath added for i18n js files
1196
-
1197
- #0.0.1-beta.39
1198
-
1199
- - prod build check issue fix
1200
-
1201
- #0.0.1-beta.38
1202
-
1203
- - all unitcase runs only with master option removed
1204
- - prod mode in dev setup flag issue fix
1205
-
1206
- #0.0.1-beta.37
1207
-
1208
- - removed hash for index.html and add publicpath when run prod mode in dev machine
1209
- - screenshot version updated
1210
- - docs build log issue fix
1211
-
1212
- #0.0.1-beta.36
1213
-
1214
- - reportpublish sh file report generation even if any breakages in test scripts
1215
-
1216
- #0.0.1-beta.35
1217
-
1218
- - full run of spec fils only for master option added
1219
- - reportpublish sh for screenshot test report template issue fix
1220
-
1221
- #0.0.1-beta.34
1222
-
1223
- - monitor mockserver changes without affecting static server
1224
-
1225
- #0.0.1-beta.33
1226
-
1227
- - mail sent issue - fix
1228
-
1229
- #0.0.1-beta.32
1230
-
1231
- - ssl cert update
1232
- - webpack-bundle-analyzer version update (because of npm audit fix)
1233
-
1234
- #0.0.1-beta.31
1235
-
1236
- - reportpublicpath plugin rename issue fix
1237
-
1238
- #0.0.1-beta.30
1239
-
1240
- - report generate plugin rename
1241
- - schema changes for sstest (sstest_remotebranch => sstest_referbranch)
1242
- - reportpublish sh update
1243
-
1244
- #0.0.1-beta.29
1245
-
1246
- - screenshot version updated
1247
- - unit test case commit coverage issue fix
1248
-
1249
- #0.0.1-beta.28
1250
-
1251
- - Unitcase coverage for changed files issue fix
1252
-
1253
- #0.0.1-beta.27
1254
-
1255
- - prod build size and hash tracking report added
1256
-
1257
- #0.0.1-beta.26
1258
-
1259
- - inlined assets and css assets publicpath collide issue fix
1260
-
1261
- #0.0.1-beta.25
1262
-
1263
- - inline image public path issue fix
1264
- - docs css change for sstest
1265
-
1266
- #0.0.1-beta.24
1267
-
1268
- - removed source map generation by default
1269
-
1270
- #0.0.1-beta.23
1271
-
1272
- - windows path issue in i18I18NInjectIntoIndexPlugin plugin
1273
-
1274
- #0.0.1-beta.22
1275
-
1276
- - unusedfilesplugin issue fixed and print valid info
1277
-
1278
- #0.0.1-beta.21
1279
-
1280
- - production build hash details exported in index html
1281
-
1282
- #0.0.1-beta.20
1283
-
1284
- - list the name of un documented component file name
1285
-
1286
- #0.0.1-beta.19
1287
-
1288
- - publicpath callback plugin added
1289
-
1290
- #0.0.1-beta.18
1291
-
1292
- - production build issue fix
1293
-
1294
- #0.0.1-beta.17
1295
-
1296
- - redux version downgraded
1297
-
1298
- #0.0.1-beta.16
1299
-
1300
- - Babel env and react issue fix
1301
-
1302
- #0.0.1-beta.15
1303
-
1304
- - Few issue fixes
1305
- - Webpack Manifest Plugin revamped
1306
- - @zohodesk/screenshot-test package added
1307
-
1308
- #0.0.1-beta.14
1309
-
1310
- - Removed minify option in css-loader config
1311
- - Removed optimize-css-assets-webpack-plugin
1312
- - Added UglifyCSS webpack plugin
1313
- - Packages version up to dated expect babel-loader
1314
- - Docs umd build issue fixed
1315
- - CSS public path in all configs
1316
-
1317
- #0.0.1-beta.13
1318
-
1319
- - Breaking issues fix
1320
- - Add eslint config file in project root folder
1321
- - Removed hot module and SSR concepts
1322
- - Public Path change plugin revamp
1323
- - Replaced style-loader with MiniCssExtractPlugin for overall
1324
-
1325
- #0.0.1-beta.12
1326
-
1327
- - ResourceHints Plugin added
1328
- - able to set public paths for various types of assets
1329
- - provided few cli options for existing options
1330
- - change ext of files while copy
1331
- - cache directory issue fix in dev mode
1332
- - script instrument loader added
1333
- - eslint windows machine issue fix
1334
-
1335
- #0.0.1-beta.11
1336
-
1337
- - css module extension changed to .modules.css from .mcss
1338
-
1339
- #0.0.1-beta.10
1340
-
1341
- - css module related changes
1342
- - unit test case breaking issue fix
1343
-
1344
- #0.0.1-beta.9
1345
-
1346
- - dynamic import support
1347
- - unit test case issue fix
1348
-
1349
- #0.0.1-beta.8
1350
-
1351
- - major issue fixes - previous version issues
1352
- - eslint new rules added
1353
- - reverted babel exclude option
1354
-
1355
- #0.0.1-beta.7
1356
-
1357
- - optionally attributes removal - prod mode
1358
- - pre-commit issue fixed
1359
- - eslint fix option added
1360
- - used exclude instead of include in babel loader
1361
- - option lookup issue fixed
1362
-
1363
- #0.0.1-beta.6
1364
-
1365
- - complext proptypes support for docs
1366
-
1367
- #0.0.1-beta.5
1368
-
1369
- - docs slowness issue fix
1370
- - jest update issue fix
1371
-
1372
- #0.0.1-beta.4
1373
-
1374
- - css chunk related changes
1375
- - manifest json related changes
1376
- - css bundle issue fixed
1377
-
1378
- #0.0.1-beta.3
1379
-
1380
- - slowness issue fixed
1381
- - efc build issue fixed
1382
-
1383
- 0.0.1-beta.2 changes
1384
-
1385
- - docs changes
1386
- - precommit hook issue fix
1387
- - compression support
1388
- - prod string error fix
1389
- - efc build support
1390
- - single style tag support
1391
-
1392
- ```
1393
-
1394
- ```
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.1.11 (4-8-2023)
48
+
49
+ **Changes**
50
+
51
+ - we have renamed our default config file as `react-cli.config.js` instead of `build.config.js`. But we still support `build.config.js` we will remove it in later major version.
52
+
53
+ - Prop-type, Prop description, Default Props support for docs given.
54
+ - Docs and Docs_Code UI updated.
55
+
56
+ **Features:-**
57
+
58
+ - custom classname prefix for separate packages now supported.
59
+ - to use custom classnames for specific patterns, we use the following pattern in `app > customClassNamePrefix` or `docs > customClassNamePrefix` :
60
+
61
+ ```
62
+ "customClassNamePrefix" : [
63
+ {
64
+ "enable": true,
65
+ "prefix": "[required-prefix]",
66
+ "patterns":[
67
+ "**/[path-name]/**/*.css"
68
+ ]
69
+ }
70
+ ]
71
+ ```
72
+
73
+ For example,
74
+
75
+ ```
76
+ "customClassNamePrefix": [
77
+ {
78
+ "enable": true,
79
+ "prefix": "zdSvg",
80
+ "patterns": [
81
+ "**/@zohodesk/svg/**/*.css"
82
+ ]
83
+ },
84
+ ],
85
+ ```
86
+
87
+ **Issue Fix:**
88
+
89
+ - typo fix, (../src/common/runPreProcess.js) to (../lib/common/runPreProcess.js) in cli.js our code.
90
+
91
+ # 1.1.10 (2-8-2023)
92
+
93
+ **Issue Fix:**
94
+
95
+ - undefined plugin postcss issue fixed for docs.
96
+ - unnecessary deprecation warning stopped. (for exclude config)
97
+
98
+ # 1.1.9 (25-7-2023)
99
+
100
+ **Features:-**
101
+
102
+ - we have added config file support for react-cli schema. the default config file name `build.config.js` support added. In `build.config.js` you must export configuration object under `config` key. And Note: `build.config.js` is high priority then `package.json` `react-cli` config.
103
+ - added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
104
+ only will be activate when `resourceHints` => `allowPrefetchingMultipleChunks` as `true`
105
+ - added support for pattern as function for custom chunks split logic.
106
+ - added options to split chunks base config in the key `app` => `customChunksBaseConfig` as object
107
+ - added `postCssPluginOrder` feature :
108
+
109
+ - If `app > postCssPluginOrder` or `docs > postCssPluginOrder` is set to "false", default plugin order will be followed.
110
+ - If `app > postCssPluginOrder` or `docs > postCssPluginOrder` is set to "true", order preserved in `plugins` Object will be considered.
111
+ - If `app > postCssPluginOrder` or `docs > postCssPluginOrder` is set to an array with plugins in a custom order, the custom order will be considered.
112
+
113
+ - We use the same plugin names as in `patterns` for the plugins to execute successfully.
114
+
115
+ **Issue Fix**
116
+
117
+ - fixed file path separator issue with split chunks config for vendor exclude list for windows (that was work well for mac and ubuntu only issue in windows).
118
+ - fixed cssUniqueness pattern not working in docs.
119
+
120
+ **Changes**
121
+
122
+ - previously all custom chunks are enforce true, no we have given support for enforce false for chunks on splitChunks config.
123
+
124
+ # 1.1.8
125
+
126
+ **Issue Fix**
127
+
128
+ - Docs fix for Selector Replace 'always require argument' issue.
129
+
130
+ # 1.1.7
131
+
132
+ **Feature**
133
+
134
+ - Markdown parser feature added in docs
135
+ For more info please refer to :
136
+ [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/MarkdownParser.md)
137
+
138
+ # 1.1.6-exp.2
139
+
140
+ - fixed file path separator issue with split chunks config for vendor exclude list.
141
+ - added support for not doing enforce true for chunks on splitChunks config.
142
+
143
+ # 1.1.5-exp.5
144
+
145
+ - fixed the issues regarding custom chunks base config schema.
146
+
147
+ # 1.1.5-exp.4
148
+
149
+ - added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
150
+
151
+ # 1.1.5-exp.3
152
+
153
+ - added options to split chunks base config
154
+ - added support for passing custom chunks split logic as function.
155
+
156
+ # 1.1.6
157
+
158
+ **Issue Fix**
159
+
160
+ - local install react-cli spawnSync Error fix in npm 8
161
+ - babel version update issue fix (Cannot read properties of undefined (reading 'file')) and (BABEL_TRANSFORM_ERROR)
162
+
163
+ # 1.1.5-exp.2
164
+
165
+ **Issue Fix**
166
+
167
+ - local install react-cli spawnSync Error fix in npm 8
168
+
169
+ # 1.1.5
170
+
171
+ **Issue Fix**
172
+
173
+ - include pattern fix for variable converter plugin fixed
174
+
175
+ # 1.1.4
176
+
177
+ **Issue Fix**
178
+
179
+ - global install react-cli spawnSync Error fix
180
+ - `0px` variable value conversion issue fixed
181
+ - pattern exclude for postcss plugins case fixed
182
+
183
+ # 1.1.3
184
+
185
+ **Issue Fix**
186
+
187
+ - local install react-cli spawnSync Error fix
188
+
189
+ # 1.1.2
190
+
191
+ **Issue Fix**
192
+
193
+ - ReactLiveConverter filepath changed to 'reactLiveConverter.js' in docLoader file
194
+
195
+ # 1.1.1
196
+
197
+ **Issue Fix**
198
+
199
+ - docs component name incorrect in windows, when using --enableReactLive issue fixed.
200
+
201
+ **Feature Update**
202
+
203
+ - Support for desk-library to use Selector Replace plugin using individual script. To use `react-cli selectorReplacer [source] [target]`
204
+
205
+ # 1.1.0
206
+
207
+ **Feature Update**
208
+
209
+ - Support for desk-library to use variable conversion plugin using individual script. To use `react-cli variableConverter [source] [target]`
210
+ - pattern filter changes, new filter system instead of exclude to include or exclude files for plugins.
211
+ For more info please refer to :
212
+ [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/patternFiltering.md)
213
+ - React Live feature implemented for Docs.
214
+ [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/ReactLive.md)
215
+
216
+ # 1.0.3-beta.1
217
+
218
+ **Issue Fix**
219
+
220
+ - nock api not working issue fixed. This error throwing in @zohodesk/react-cli@1.0.2 version. but working in older versions ( 0.0.1-beta.178 )
221
+
222
+ # 1.0.3
223
+
224
+ **Feature Update**
225
+
226
+ - Support for global httpsCerts usage
227
+ - Support for global client_packages_group usage
228
+ - 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).
229
+ **Package Update**
230
+ - @zohodesk/client_packages_group@**1.0.1** ==> @zohodesk/client_packages_group@**1.0.2**
231
+
232
+ # 1.0.2
233
+
234
+ **Feature Update**
235
+
236
+ - Selector replace plugin made as a custom postcss-plugin with update to code that was unpublished in package.
237
+
238
+ # 1.0.1
239
+
240
+ **Issue Fix**
241
+
242
+ - variable conversion for px and var(--) values in same declaration was not supported, now it is supported.
243
+ - package-lock.json removed from `.npmignore`
244
+
245
+ **Feature Update**
246
+
247
+ - exclude added to Selector Plugin
248
+
249
+ # 1.0.0
250
+
251
+ ## Major Release
252
+
253
+ **Changes:**
254
+
255
+ - File support added for `.webp` for `docs`, `dev` and `prod` mode
256
+ - File support added for `.webm` for `docs`, `dev` and `prod` mode
257
+
258
+ **Breaking Changes:**
259
+
260
+ - We have remove ssl certificate for security reasons.
261
+ So default https server won't run.
262
+ In order to make it work as before you need to specify two things
263
+ 1. install `@zohodesk-private/client_dev_cert`
264
+ 2. `react-cli.app.server.httpsCerts` option example `"httpsCerts": "@zohodesk-private/client_dev_cert"`
265
+ unless configaration are proper this may break `start` , `docs` , `nowatchstart`. and mock wms `/wmsmockapi` won't work.
266
+ So Please be carefull when you update this version or above without proper configaration.
267
+
268
+ # 0.0.1-beta.178
269
+
270
+ **Changes:**
271
+
272
+ - File support added for `.webp` for `docs`, `dev` and `prod` mode
273
+ - File support added for `.webm` for `docs`, `dev` and `prod` mode
274
+
275
+ **Breaking Changes:**
276
+
277
+ - We have remove ssl certificate for security reasons.
278
+ So default https server won't run.
279
+ In order to make it work as before you need to specify two things
280
+ 1. install `@zohodesk-private/client_dev_cert`
281
+ 2. `react-cli.app.server.httpsCerts` option example `"httpsCerts": "@zohodesk-private/client_dev_cert"`
282
+ unless configaration are proper this may break `start` , `docs` , `nowatchstart`.
283
+ So Please be carefull when you update this version or above without proper configaration.
284
+
285
+ # 0.0.1-exp.178.2
286
+
287
+ **Changes:**
288
+
289
+ - File support added for `.webm` for `docs`, `dev` and `prod` mode
290
+
291
+ # 0.0.1-exp.178.1
292
+
293
+ **Breaking Changes:**
294
+
295
+ - We have remove ssl certificate for security reasons.
296
+ So default https server won't run.
297
+ In order to make it work as before you need to specify two things
298
+ 1. install `@zohodesk-private/client_dev_cert`
299
+ 2. `react-cli.app.server.httpsCerts` option example `"httpsCerts": "@zohodesk-private/client_dev_cert"`
300
+ unless configaration are proper this may break `start` , `docs` , `nowatchstart`.
301
+ So Please be carefull when you update this version or above without proper configaration.
302
+
303
+ # 0.0.1-beta.177
304
+
305
+ **Changes:**
306
+
307
+ - We have added extra new Error option `MULTIPLE_OCCURANCES` support for **convert px to custom variables**.
308
+ - 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 :
309
+ - `changes` : for the variables that have to be converted, manual values can be added ( eg. "--wms_height": "height" )
310
+ - `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.
311
+ - strict mode can be enabled for checking --variables in `cssVariableReplacementOptions.strictMode`
312
+ For more information and reference, refer to `[details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/VariableConversion.md)
313
+
314
+ - and this version has same as `0.0.1-exp.176.12`, `0.0.1-exp.176.11`
315
+
316
+ # 0.0.1-exp.176.12
317
+
318
+ **Changes:**
319
+
320
+ - 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.
321
+
322
+ # 0.0.1-exp.176.11
323
+
324
+ **Issue Fix:**
325
+
326
+ - 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.
327
+
328
+ # 0.0.1-beta.176
329
+
330
+ **Features:**
331
+
332
+ - we have added feature to **increase Selector weight** for all css classes in your project during build time.
333
+ To enable this feature you have to set `react-cli.app.plugins.selectorWeight` as `true` in **package.json**.
334
+ For more [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/SelectorWeight.md)
335
+ - Updates to variable replacement are given :
336
+ - css variables with -- are now supported due to the webpack plugin `VariableConversionCollector` that is generated for the same.
337
+ - `DECIMAL_CHECK`, `DECIMAL_REJECT` are two new errors supported.
338
+ - support for text-indent, clip, flex, flex-basis, row-gap, column-gap, gap properties are now given.
339
+ For more information and reference, refer to `[details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/VariableConversion.md)
340
+
341
+ # 0.0.1-beta.175
342
+
343
+ **Issue Fix:-**
344
+
345
+ - When we use "hoverActive" @import in css not working issue fixed
346
+
347
+ **Features:**
348
+
349
+ - `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
350
+
351
+ # 0.0.1-beta.174
352
+
353
+ cli has been updated to fix compose issue faced when classname:hover exists and classname does not before compose
354
+
355
+ **Issue Fix:-**
356
+
357
+ - In react-cli version `0.0.1-beta.173`, when we use `start` command throws error issue fixed
358
+ - while using `cssVariableReplacementOptions`, compose issue faced in css files, when classname:hover exists and classname does not exist issue fixed
359
+
360
+ **Feature:-**
361
+
362
+ - `react-cli.test.classnameFormat` option added to change CssModules (Ex: import style from "./a.module.css" ) className transform template unittest case.
363
+ `classnameFormat` default value `[classname]` you can customize it. Example: `[classname]-[hash]`
364
+
365
+ **Changes:-**
366
+
367
+ - `jsonFile_test_*.json` files deleted after they used.
368
+
369
+ # 0.0.1-beta.173
370
+
371
+ **Features:**
372
+
373
+ - we have added feature to **convert px to custom variables** for all css files in your project during build time.
374
+ To enable this feature you have to set `react-cli.app.plugins.cssVariableReplacement` as `true` in **package.json**.
375
+
376
+ 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
377
+
378
+ For an more information and reference, refer to `[details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/VariableConversion.md)
379
+
380
+ # 0.0.1-beta.172
381
+
382
+ We have renamed some options, For Our future features convenience.
383
+ We have given fallback support.
384
+ Deprecation Warnings:-
385
+
386
+ - `react-cli.app.hasRTL` ==> `react-cli.app.plugins.hasRTL`
387
+ - `react-cli.app.rtlExclude` ==> `react-cli.app.exclude.rtl`
388
+
389
+ - `react-cli.docs.hasRTL` ==> `react-cli.docs.plugins.hasRTL`
390
+ - `react-cli.docs.rtlExclude` ==> `react-cli.docs.exclude.rtl`
391
+ these options have fallback support.
392
+
393
+ # 0.0.1-beta.171
394
+
395
+ Features added :
396
+
397
+ 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.
398
+
399
+ # 0.0.1-beta.170
400
+
401
+ this version has same as `0.0.1-exp.169.1`, `0.0.1-exp.169.2`
402
+
403
+ # 0.0.1-exp.169.2
404
+
405
+ 1. flags are converted to one variable 'plugin' and used in getCssLoaders.js.
406
+ 2. files for exclusion can be put in seperate arrays in 'exclude' present in package.json.
407
+ 3. `combinerMq` has been converted to `combinerMediaQuery` for clarity.
408
+
409
+ # 0.0.1-exp.169.1
410
+
411
+ File support added for mp4 for docs dev and prod mode
412
+
413
+ # 0.0.1-beta.169
414
+
415
+ 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
416
+
417
+ 1. `--efc_version=v3` flag added for change efc version via commmand line option
418
+ 2. `hoverActive` flag added for conversion from usual hover to @media(hover:hover) and @media(hover:none) queries for hover support in mobile.
419
+ 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.
420
+
421
+ # 0.0.1-exp.168.3
422
+
423
+ Changes :
424
+
425
+ 1. code optimization ( made functions for the hoverActive cases making it more easier to access)
426
+ 2. handled `hover:ignore`, `active:ignore`, `hoverActive:ignore` cases for usual queries and media queries
427
+
428
+ # 0.0.1-exp.168.2
429
+
430
+ Changes :
431
+
432
+ 1. hoverActive case handled with postcss `hover:hover` media query and `hover:none` media query is added
433
+ 2. flag for hoverActive used to add/remove postcss changes
434
+
435
+ # 0.0.1-exp.168.1
436
+
437
+ Changes:-
438
+
439
+ 1. `cliRootPath` option removed `react-cli.app.cliRootPath` in `package.json`
440
+ Due to the reason we updated our logic to find package's executable path.
441
+ 2. `--efc_output_file=efc-sdk-[version].js` option added to modify efc output file by terminal
442
+ 3. added logic to print error message during command run, Previously when executable not found error messages not printed
443
+
444
+ # 0.0.1-beta.168
445
+
446
+ Changes:-
447
+
448
+ 1. `enableChunkHash` option enabled for dev mode, use it as `react-cli.app.enableChunkHash` in `package.json`
449
+ 2. `--enable_efc=true` option added to enable efc by terminal
450
+ 3. unwanted pem files removed
451
+
452
+ # 0.0.1-exp.167.1
453
+
454
+ Features:-
455
+
456
+ - In docs we have added `Description` for Component Props- check out it in `PropTypes` tab
457
+
458
+ # 0.0.1-beta.167.1
459
+
460
+ In this version we merged changes from [0.0.1-betaa.138.1](#0.0.1-betaa.138.1).
461
+ and with [0.0.1-beta.167](#0.0.1-beta.167) version changes.
462
+
463
+ # 0.0.1-beta.167
464
+
465
+ SSL certificate update
466
+ this version has same as `0.0.1-exp.166.1`, `0.0.1-exp.166.2` and below and some minor changes
467
+ Features:-
468
+
469
+ - `--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
470
+ - Example `react-cli clone --clone_type=git --clone_url=https://some.url --shallow_clone`
471
+ - `cliRootPath` option added for npm workspace related path problems
472
+ - Usage `package.json` , "react-cli" => "cliRootPath" stright key
473
+ - `unstableDepsInverse` option added for use app need library first priority over react-cli packages
474
+ - Usage `package.json` , "react-cli" => "unstableDepsInverse" stright key
475
+
476
+ Issue Fix :-
477
+
478
+ - In devmode initial html not recived after second rebuild issue fix.
479
+ - typo fix `devBulid` to `devBuild`.
480
+ - `disableES5Transpile` option missed in docs now added.
481
+ - docs libAlias not work as app for example in app we always take `es` folder to build for treshaking and reasons,
482
+ But that option not enabled in docs. now it is enabled.
483
+ - In `react-cli devbuild` command options not working properly,
484
+ when above command run via terminal not via npm run script options not working
485
+ So we send that options to webpack then it works as expected.
486
+ this behaviour need to check across os and need to be cross check with other commends as well for now we only fixed this
487
+
488
+ # 0.0.1-exp.166.2
489
+
490
+ Changes:-
491
+
492
+ - `-w` option (watch option) added for `react-cli rtl`
493
+ - Example `react-cli rtl ./src ./lib -w`
494
+ <!-- need to handle `react-cli rtl` options correctly -->
495
+ - disableES5Transpile option libAlias added for docs
496
+
497
+ # 0.0.1-exp.166.1
498
+
499
+ Changes:-
500
+
501
+ - `__testUtils__/globals.js` to jest is not mantatory
502
+ - disableES5Transpile option libAlias added
503
+
504
+ # 0.0.1-beta.166
505
+
506
+ this version has same as `# 0.0.1-exp.164.1`, `# 0.0.1-exp.164.2` and below and some minor changes
507
+
508
+ - google chorme cors preflight issue fix
509
+
510
+ # 0.0.1-beta.165
511
+
512
+ - `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)
513
+ - `valuereplacer` option added in react-cli it takes three
514
+ 1. sourceDir
515
+ 2. distDir
516
+ 3. `copyAll` is boolean flag which is for copy all other file or not. "true" means copy all files.
517
+
518
+ # 0.0.1-exp.164.1
519
+
520
+ - extra features in custom chunks reffer [this](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/2.0.0/docs/CustomChunks.md)
521
+
522
+ # 0.0.1-exp.164.2
523
+
524
+ - `devbuild` option add to react cli
525
+
526
+ # 0.0.1-beta.164
527
+
528
+ - typo fix
529
+
530
+ # 0.0.1-beta.163
531
+
532
+ - **Issue Fix:-**
533
+
534
+ - if git not installed react-cli throws error for any command due to `getCurrentBranch` in `shemas/index.js` now fixed
535
+ - jest test cases not runnig issue fix (typo moduleNameMapper => libAlias)
536
+
537
+ - **Features :-**
538
+ - feature added for pre process logic
539
+ - tailer made requirement for preprocess, just write node js file
540
+ - mention file in `"react-cli" => "preprocess" => "runner"`
541
+ - option parse logic added for react-cli (exprimental)
542
+ - `--stop_nodemon` usally preprocessor run in `nodemon` so to stop it this option is provided
543
+
544
+ # 0.0.1-exp.162.2
545
+
546
+ - **Optimazation:-**
547
+ - double time minimize optimazation
548
+
549
+ # 0.0.1-beta.162.1
550
+
551
+ - **Issue Fix:-**
552
+ - if git not installed react-cli throws error for any command due to `getCurrentBranch` in `shemas/index.js` now fixed
553
+
554
+ # 0.0.1-beta.161.1
555
+
556
+ - **Features :-**
557
+ - feature added for pre process logic
558
+ - tailer made requirement for preprocess, just write node js file
559
+ - mention file in `"react-cli" => "preprocess" => "runner"`
560
+ - option parse logic added for react-cli (exprimental)
561
+
562
+ # 0.0.1-beta.162
563
+
564
+ - @zohodesk/datetimejs package updated to beta.8
565
+
566
+ # 0.0.1-beta.161
567
+
568
+ - **Features :-**
569
+ - feature added for efc `templateFilePath` in `package.json` option palce is `"react-cli" => "efc" => "templateFilePath"`
570
+ - `(('publicPath'))` this placeholder will be replace as publicPath string `publicPath`
571
+ - `(('getInitalAssets'))` this placeholder will be replace as function `getInitalAssets`
572
+ - `getInitalAssets` this function has two arguments `assetsType`, `lang`
573
+ - `assetsType` are `js`, `css`, `i18n`
574
+ - `lang` this argument only works when `i18n` is `assetsType`
575
+ - feature added for efc `cdnStatement`
576
+ - **Issue fixes:-**
577
+ - css classname hash change issue fix
578
+ - debug package conflit issue fix in nock in (react-cli test)
579
+ - manifest.json css file name correction issue for rtl and ltr
580
+
581
+ # 0.0.1-exp.161.2
582
+
583
+ - Features
584
+ - feature added for efc `templateFilePath` in `package.json` option palce is `"react-cli" => "efc" `
585
+ - `(('publicPath'))` this placeholder will be replace as publicPath string `publicPath`
586
+ - `(('getInitalAssets'))` this placeholder will be replace as function `getInitalAssets`
587
+ - `getInitalAssets` this function has two arguments `assetsType`, `lang`
588
+ - `assetsType` are `js`, `css`, `i18n`
589
+ - `lang` this argument only works when `i18n` is `assetsType`
590
+
591
+ # 0.0.1-exp.161.1
592
+
593
+ - Features
594
+ - feature added for efc `cdnStatement`
595
+ - Issue fixes:-
596
+ - css classname hash change issue fix
597
+ - debug package conflit issue fix in nock in (react-cli test)
598
+ - manifest.json css file name correction issue for rtl and ltr
599
+
600
+ # 0.0.1-beta.160
601
+
602
+ - @zohodesk/normalizer package version updated to 1.0.2
603
+
604
+ # 0.0.1-beta.159
605
+
606
+ - @zohodesk/datetimejs package updated to beta.7
607
+
608
+ # 0.0.1-exp.159
609
+
610
+ - issue fix:-
611
+ - when rtl ltr css split enable manifest json css filename keys comes with hash .
612
+
613
+ # 0.0.1-beta.158
614
+
615
+ - Removing source map files from service worker caching.
616
+
617
+ # 0.0.1-beta.157
618
+
619
+ - Experimental version issue fix(Dummy version removed)
620
+
621
+ # 0.0.1-beta.156
622
+
623
+ - ReportPublish issue fix
624
+
625
+ # 0.0.1-beta.155
626
+
627
+ - get impacted library source files option added
628
+
629
+ # 0.0.1-beta.154
630
+
631
+ - mockPrefix option for mock url prefix change
632
+ - Issue fix:-
633
+ - un wanted {{--js-smap}} in inital html without enable smap in build
634
+
635
+ # 0.0.1-beta.153
636
+
637
+ - Vendor include array added
638
+ - If you need to include any thrid party js in vendor we can use this array
639
+
640
+ # 0.0.1-beta.152
641
+
642
+ impact servise related changes:-
643
+
644
+ - 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)
645
+ - cssselector_zip option added. will be used like `--cssselector-zip=selectormapping.zip`
646
+ only work in two ways
647
+ 1. `react-cli start --disable-watch --cssselector-zip=selectormapping.zip` app start command with `--disable-watch` flag and your usaul options
648
+ 2. `react-cli nowatchstart --cssselector-zip=selectormapping.zip` app start command's usaul options
649
+ #### Urls are:-
650
+ Below express path are added, For download zip files and
651
+ - `/zips/${zipname}.zip` for css selector maps zip file (contains css_map filies and original css files)
652
+ - `/zips/build.zip` build zip file (contains bundled all files)
653
+
654
+ # 0.0.1-beta.151
655
+
656
+ - issue fix:- Docs config 'html-loader' options updated.
657
+ - sslcertUpdate feature added
658
+ - disable_watch option added. will be used like `--disable-watch` or `--disable-watch=true`
659
+ - dev_cache option added. will be used like `--dev_cache` or `--dev_cache=true`
660
+
661
+ # 0.0.1-beta.150
662
+
663
+ - issue Fix:- in npm 7 option not working issue fixed
664
+ - ssl certificate update
665
+
666
+ # 0.0.1-beta.149
667
+
668
+ - css, ltr and rtl chunk split based on [dir=ltr]
669
+ - to enable ltr and rtl chunk spilt you have to add config in you package.json
670
+ <!-- - [docs for rtl-ltr](src\plugins\RtlSplitPlugin\RtrSplit.md) -->
671
+ - we have added some options in EFCPlugin for rtlsplit related features.
672
+ - we have expoed require function for only css impact related changes with flag
673
+
674
+ # 0.0.1-beta.148
675
+
676
+ - source map enabled in prod mode for debug client
677
+ - crossorigin attribute added for scripts
678
+
679
+ # 0.0.1-beta.147
680
+
681
+ - reportpublish issue fix
682
+
683
+ # 0.0.1-beta.146
684
+
685
+ - while docs run LibraryImactPlugin not constructor issue fix
686
+ - css loader added for css impact related changes
687
+
688
+ # 0.0.1 -beta.145
689
+
690
+ - LibraryImpactPlugin added
691
+ - check impacted source components name if any version update happened with master
692
+
693
+ # 0.0.1-beta.144
694
+
695
+ - prod build bug fix
696
+
697
+ # 0.0.1-beta.143
698
+
699
+ - `babel-plugin-transform-remove-console` added for remove console properties except error and log
700
+ - `console_exculde` script added if suppose enable same in dev mode
701
+ - service worker plugin changes
702
+ - library impact changes
703
+
704
+ # 0.0.1-beta.142
705
+
706
+ - `eslint-plugin-react-hooks` added to eslint support.
707
+ - Updated exact versions to eslint plugins installation script.
708
+
709
+ # 0.0.1-beta.141
710
+
711
+ - report publish sh fixes
712
+ - duplicate removal in impacted componentTest
713
+
714
+ # 0.0.1-beta.140
715
+
716
+ - copy-webpack-plugin bug fix
717
+
718
+ # 0.0.1-beta.139
719
+
720
+ - copy-webpack-plugin downgrade
721
+ - babel runtime plugin issue fix in prod config
722
+ - few enhancements
723
+
724
+ # 0.0.1-betaa.138.1
725
+
726
+ - new feature added for custom extra attribute for dynamically added tags by webpack.
727
+ - To enable this feature you need to enable "react-cli" => "app" => "customAttributes" => "enable"
728
+ - For more [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/9eea8df14e55584b2114b5e484ca8b751a4ba191/src/plugins/CustomAttributePlugin.md)
729
+
730
+ # 0.0.1-beta.138
731
+
732
+ - sstest library version updated
733
+ - unitcase calcluation issues fixed
734
+
735
+ # 0.0.1-beta.137
736
+
737
+ - Third party css files loading issue fix
738
+
739
+ # 0.0.1-beta.136
740
+
741
+ - eslint support
742
+
743
+ # 0.0.1-beta.135
744
+
745
+ - windows publish issue
746
+
747
+ # 0.0.1-beta.134
748
+
749
+ - Build Issue Fix
750
+
751
+ # 0.0.1-beta.133
752
+
753
+ - CDN Changes in I18nSplitPlugin
754
+ - nonce support added for i18n chunks
755
+
756
+ # 0.0.1-beta.132
757
+
758
+ - CDN Changes in EFC Plugin
759
+
760
+ # 0.0.1-beta.131
761
+
762
+ - Added Cdn Change Plugin
763
+
764
+ # 0.0.1-beta.130
765
+
766
+ - Babel 7 migration, ES6 build generation config and polyfill removal
767
+ - CopyPlugin issue fix
768
+
769
+ #0.0.1-beta.129
770
+
771
+ - Upgraded 'moment' to version 2.29.1 and 'moment-timezone' to version 0.5.32
772
+
773
+ # 0.0.1-beta.128
774
+
775
+ - Added support to generate hash for the third party files(TPHashMappingPlugin)
776
+
777
+ # 0.0.1-beta.127
778
+
779
+ - service worker plugin - to recursively add multiple directories (recursive=true)
780
+
781
+ # 0.0.1-beta.126
782
+
783
+ - issue fix in i18n split plugin
784
+
785
+ # expremental versions
786
+
787
+ - 0.0.1-beta.121
788
+ - 0.0.1-beta.122
789
+ - 0.0.1-beta.123
790
+ - 0.0.1-beta.124
791
+ - 0.0.1-beta.125
792
+
793
+ # 0.0.1-beta.120
794
+
795
+ - issue fix in third party file copying
796
+
797
+ # expremental versions
798
+
799
+ - 0.0.1-beta.119
800
+ - 0.0.1-beta.118
801
+
802
+ #0.0.1-beta.117
803
+
804
+ - createSDkFile otion added for efc
805
+ - small fix in i18n split plugin
806
+
807
+ #0.0.1-beta.116
808
+
809
+ - thirdparty package move to build (tpFolder in app config)
810
+
811
+ #0.0.1-beta.115
812
+
813
+ - Added Web worker support
814
+
815
+ #0.0.1-beta.114
816
+
817
+ - i18n split based on chunk
818
+ - to enable i18n chunk spilt you have to add config in you package.json
819
+
820
+ #0.0.1-beta.113
821
+
822
+ - Upgraded 'fz-i18n' package version to 1.2.0-beta.15
823
+
824
+ #0.0.1-beta.112
825
+
826
+ - Duplicate Prefetch Request Issue Fixed (Resource Hint Plugin)
827
+ - Service worker plugin changes
828
+
829
+ #0.0.1-beta.111
830
+
831
+ - hasRTL, selectorReplace Condition Separated
832
+
833
+ #0.0.1-beta.110
834
+
835
+ - SplitChunk Order Issue Fixed
836
+ - https url issue Fixed
837
+
838
+ #0.0.1-beta.109
839
+
840
+ - @zohodesk/screenshottest package version update (19) and log for the gitlab private api to check the response
841
+
842
+ #0.0.1-beta.108
843
+
844
+ - @zohodesk/screenshottest package version update (18)
845
+
846
+ #0.0.1-beta.107
847
+
848
+ - changed component without docs finder added
849
+
850
+ #0.0.1-beta.106
851
+
852
+ - custom chunk support changes
853
+ - css absolute url fix
854
+
855
+ #0.0.1-beta.105
856
+
857
+ - @zohodesk/screenshottest package version update (17) with the issue fix
858
+
859
+ #0.0.1-beta.104
860
+
861
+ - ModuleStatsPlugin inject false option added to solve the webpack build twice issue
862
+
863
+ #0.0.1-beta.103
864
+
865
+ - @zohodesk/screenshottest package version update (16) with the issue fix
866
+
867
+ #0.0.1-beta.102
868
+
869
+ - @zohodesk/screenshottest package version update (15) with the issue fix
870
+
871
+ #0.0.1-beta.101
872
+
873
+ - 100 changes readme missing
874
+ - bundle analyser changes
875
+
876
+ #0.0.1-beta.100
877
+
878
+ - @zohodesk/screenshottest package version update with the issue fix
879
+ - font public path replace issue for url fonts - fixed
880
+
881
+ #0.0.1-beta.99
882
+
883
+ - can't publish already published
884
+
885
+ #0.0.1-beta.98
886
+
887
+ - defer break public path adding regex - fixed
888
+
889
+ #0.0.1-beta.97
890
+
891
+ - added 'babel-plugin-transform-react-remove-prop-types' in package.json (missed earlier)
892
+
893
+ #0.0.1-beta.96
894
+
895
+ - html plugin inject option expose and version udpate 4.2.0
896
+ - src html change i18n removal issue fix
897
+ - script loading defer added
898
+ - added babel plugin to remove proptypes
899
+
900
+ #0.0.1-beta.95
901
+
902
+ - schemas/index.js - issue fix
903
+
904
+ #0.0.1-beta.94
905
+
906
+ - screenshot test library version update
907
+ - ssserver issue fix
908
+
909
+ #0.0.1-beta.93
910
+
911
+ - selector replacer for Help Center usecase
912
+ - eslint performance plugin
913
+ - css classname hash selector support for docs
914
+ - service worker plugin
915
+
916
+ #0.0.1-beta.92
917
+
918
+ - docs ui fixes and edit mode
919
+ - @zohodesk/datetimejs version update
920
+
921
+ #0.0.1-beta.91
922
+
923
+ - repo clone command pull issue fix
924
+ - docs css change
925
+ - SSTest package version downgrade
926
+
927
+ #0.0.1-beta.90
928
+
929
+ - added support for copying Timezone data from @zohodesk/datetimejs
930
+ - docstool changes
931
+
932
+ #0.0.1-beta.89
933
+
934
+ - CSP nonce support for initial assets `{{--CSP-nonce}}`
935
+ - introduced new mode to disable react warns in dev mode (dev-no-warn)
936
+ - docs ui fix
937
+
938
+ #0.0.1-beta.88
939
+
940
+ - Impact run and Master seperate during SSTEST
941
+ - docs changes
942
+ - filenames and packages addedd in cssHashSelectors option
943
+
944
+ #0.0.1-beta.87
945
+
946
+ - run screenshot test for impacted components
947
+ - seperate master from the CI flow with the HBase storage
948
+ - docs changes
949
+ - coverage percentage check disabled
950
+
951
+ #0.0.1-beta.86
952
+
953
+ - exclude without js changes for unittest
954
+ - express server history fallback refactored
955
+
956
+ #0.0.1-beta.85
957
+
958
+ - i18n placeholder removal issue fixed
959
+ - css classname prefix moved to option. default is zd
960
+
961
+ #0.0.1-beta.84
962
+
963
+ - object spread operator support
964
+
965
+ #0.0.1-beta.83
966
+
967
+ - eslint report type by flag
968
+ - unitcase file exclude array issue fix
969
+ - sstesthack issue fix
970
+
971
+ #0.0.1-beta.82
972
+
973
+ - eslint impact run enable - completed
974
+ - devplugin cleanupstats filename import issue fix
975
+ - coveragecollector return format change
976
+
977
+ #0.0.1-beta.81
978
+
979
+ - unit test case syntax error issue fix - removed unwanted dependency `css-modules-require-hook`
980
+
981
+ #0.0.1-beta.80
982
+
983
+ - unitcase filecoverage testpath issue fix
984
+ - shadowdom support
985
+ - postpublish and sstest hack script
986
+ - dependencies impact list
987
+ - can change runtime chunk's character
988
+ - font preload added
989
+
990
+ #0.0.1-beta.79
991
+
992
+ - unitcase filecoverage added and also codecoverage with dependencies spec added
993
+
994
+ #0.0.1-beta.78
995
+
996
+ - components and dot library's stats added with module stats
997
+ - Mini css extract plugin's unwanted logs removed
998
+ - runtime chunk added in dev mode
999
+ - nodemon windows issue fix
1000
+ - testinfo failure missing while can't get coverage
1001
+ - performance eslint plugin added and normalizer moved under zohodesk
1002
+
1003
+ #0.0.1-beta.77
1004
+
1005
+ - @zohodesk/eslint-plugin-zsecurity version update
1006
+ - git pull origin with branch name while screenshot test after the branch switch
1007
+
1008
+ #0.0.1-beta.76
1009
+
1010
+ - breaking issue fix from last version ( prod config issue )
1011
+
1012
+ #0.0.1-beta.75
1013
+
1014
+ - sstest - reinstall dependencies after switch branch
1015
+
1016
+ #0.0.1-beta.74
1017
+
1018
+ - docs provider support (Component.\_provider)
1019
+
1020
+ #0.0.1-beta.73
1021
+
1022
+ #0.0.1-beta.72
1023
+
1024
+ - run eslint security rules option enable
1025
+ - add the reportURL with the result.json file
1026
+ - mock server post api issue fix
1027
+
1028
+ #0.0.1-beta.71
1029
+
1030
+ - publicpath hard coding while flatten build issue fix
1031
+
1032
+ #0.0.1-beta.70
1033
+
1034
+ - css class compression flag enable
1035
+ - docs src URL update
1036
+
1037
+ #0.0.1-beta.69
1038
+
1039
+ - babel-plugin-transform-dynamic-import library with webpack.docs.config.js for docs service
1040
+ - babel-lodash plugin fix with getdevplugin
1041
+ - cursor blink issue fix for sstest
1042
+ - in result.json unitcase coverage verified boolean added
1043
+
1044
+ #0.0.1-beta.68
1045
+
1046
+ - rtl ignore [dir] changes
1047
+
1048
+ #0.0.1-beta.67
1049
+
1050
+ - babel-plugin-transform-dynamic-import library added with package.json
1051
+ - schema change with hostname cli option s
1052
+
1053
+ #0.0.1-beta.66
1054
+
1055
+ - mockport hard coded issue fix
1056
+
1057
+ #0.0.1-beta.65
1058
+
1059
+ - window rtl build issue fix
1060
+ - separate rtl build support added like react-cli rtl ./src ./lib
1061
+
1062
+ #0.0.1-beta.64
1063
+
1064
+ - postcss-rtl issue temp fix so move to @zohodesk/postcss-rtl
1065
+
1066
+ #0.0.1-beta.63
1067
+
1068
+ - LTR & RTL support added
1069
+
1070
+ #0.0.1-beta.62
1071
+
1072
+ - componentTest.css entry in components.html
1073
+
1074
+ #0.0.1-beta.60
1075
+
1076
+ - SSTMiddleware hook added for ssserver
1077
+ - remove some unwanted class in components.css
1078
+ - componentTest.css added with common animation break css rules
1079
+
1080
+ #0.0.1-beta.59
1081
+
1082
+ - vendor files exclude from app
1083
+ - since the chunk hash issue, moduleIds configured as named
1084
+
1085
+ #0.0.1-beta.58
1086
+
1087
+ - Push result json with the report zip
1088
+ - screenshot-test library Version update
1089
+
1090
+ #0.0.1-beta.57
1091
+
1092
+ - vendor chunk split issue fix
1093
+
1094
+ #0.0.1-beta.56
1095
+
1096
+ - css ordering issue fix
1097
+
1098
+ #0.0.1-beta.55
1099
+
1100
+ - prod build performance changes
1101
+ - css duplication issue fix
1102
+ - root chunk splitting logic change
1103
+
1104
+ #0.0.1-beta.54
1105
+
1106
+ - increased css hash size 5 to 10
1107
+
1108
+ #0.0.1-beta.53
1109
+
1110
+ - generate json file for all the test results during test run
1111
+ - sstest version update
1112
+ - some issue fixes
1113
+
1114
+ #0.0.1-beta.52
1115
+
1116
+ - template src folder missed issue fix because of npmignore all src folder
1117
+
1118
+ #0.0.1-beta.51
1119
+
1120
+ - template app updated with redux and router by kumaresan(thala)
1121
+
1122
+ #0.0.1-beta.50
1123
+
1124
+ - window machine css unique issue fix
1125
+
1126
+ #0.0.1-beta.49
1127
+
1128
+ - dev css unique issue fix
1129
+
1130
+ #0.0.1-beta.48
1131
+
1132
+ - telephony support css unique changes
1133
+
1134
+ #0.0.1-beta.47
1135
+
1136
+ - git pull during the branch switch in ssserver
1137
+ - common util file for pull and switch the branches for both git and hg
1138
+
1139
+ #0.0.1-beta.46
1140
+
1141
+ - ogg file support and tmpl file support
1142
+
1143
+ #0.0.1-beta.45
1144
+
1145
+ - checkout branch with force during sstest
1146
+
1147
+ #0.0.1-beta.44
1148
+
1149
+ - sstest master trigger issue fix
1150
+
1151
+ #0.0.1-beta.43
1152
+
1153
+ - get component object from docs server by http protocol during sstest
1154
+ - reach docs server by the IP address of the host.
1155
+ - get the current branch name by args
1156
+
1157
+ #0.0.1-beta.42
1158
+
1159
+ - className ssTest added and screenshot test version update
1160
+
1161
+ #0.0.1-beta.41
1162
+
1163
+ - i18n replace issue fix
1164
+
1165
+ - some css changes related to above
1166
+ - screenshottest version update
1167
+
1168
+ #0.0.1-beta.40
1169
+
1170
+ - SSTMiddleware added to get hook from webpack build process to start sstest
1171
+ - run unit test for commited files except the spec file name from name list
1172
+ - publicpath added for i18n js files
1173
+
1174
+ #0.0.1-beta.39
1175
+
1176
+ - prod build check issue fix
1177
+
1178
+ #0.0.1-beta.38
1179
+
1180
+ - all unitcase runs only with master option removed
1181
+ - prod mode in dev setup flag issue fix
1182
+
1183
+ #0.0.1-beta.37
1184
+
1185
+ - removed hash for index.html and add publicpath when run prod mode in dev machine
1186
+ - screenshot version updated
1187
+ - docs build log issue fix
1188
+
1189
+ #0.0.1-beta.36
1190
+
1191
+ - reportpublish sh file report generation even if any breakages in test scripts
1192
+
1193
+ #0.0.1-beta.35
1194
+
1195
+ - full run of spec fils only for master option added
1196
+ - reportpublish sh for screenshot test report template issue fix
1197
+
1198
+ #0.0.1-beta.34
1199
+
1200
+ - monitor mockserver changes without affecting static server
1201
+
1202
+ #0.0.1-beta.33
1203
+
1204
+ - mail sent issue - fix
1205
+
1206
+ #0.0.1-beta.32
1207
+
1208
+ - ssl cert update
1209
+ - webpack-bundle-analyzer version update (because of npm audit fix)
1210
+
1211
+ #0.0.1-beta.31
1212
+
1213
+ - reportpublicpath plugin rename issue fix
1214
+
1215
+ #0.0.1-beta.30
1216
+
1217
+ - report generate plugin rename
1218
+ - schema changes for sstest (sstest_remotebranch => sstest_referbranch)
1219
+ - reportpublish sh update
1220
+
1221
+ #0.0.1-beta.29
1222
+
1223
+ - screenshot version updated
1224
+ - unit test case commit coverage issue fix
1225
+
1226
+ #0.0.1-beta.28
1227
+
1228
+ - Unitcase coverage for changed files issue fix
1229
+
1230
+ #0.0.1-beta.27
1231
+
1232
+ - prod build size and hash tracking report added
1233
+
1234
+ #0.0.1-beta.26
1235
+
1236
+ - inlined assets and css assets publicpath collide issue fix
1237
+
1238
+ #0.0.1-beta.25
1239
+
1240
+ - inline image public path issue fix
1241
+ - docs css change for sstest
1242
+
1243
+ #0.0.1-beta.24
1244
+
1245
+ - removed source map generation by default
1246
+
1247
+ #0.0.1-beta.23
1248
+
1249
+ - windows path issue in i18I18NInjectIntoIndexPlugin plugin
1250
+
1251
+ #0.0.1-beta.22
1252
+
1253
+ - unusedfilesplugin issue fixed and print valid info
1254
+
1255
+ #0.0.1-beta.21
1256
+
1257
+ - production build hash details exported in index html
1258
+
1259
+ #0.0.1-beta.20
1260
+
1261
+ - list the name of un documented component file name
1262
+
1263
+ #0.0.1-beta.19
1264
+
1265
+ - publicpath callback plugin added
1266
+
1267
+ #0.0.1-beta.18
1268
+
1269
+ - production build issue fix
1270
+
1271
+ #0.0.1-beta.17
1272
+
1273
+ - redux version downgraded
1274
+
1275
+ #0.0.1-beta.16
1276
+
1277
+ - Babel env and react issue fix
1278
+
1279
+ #0.0.1-beta.15
1280
+
1281
+ - Few issue fixes
1282
+ - Webpack Manifest Plugin revamped
1283
+ - @zohodesk/screenshot-test package added
1284
+
1285
+ #0.0.1-beta.14
1286
+
1287
+ - Removed minify option in css-loader config
1288
+ - Removed optimize-css-assets-webpack-plugin
1289
+ - Added UglifyCSS webpack plugin
1290
+ - Packages version up to dated expect babel-loader
1291
+ - Docs umd build issue fixed
1292
+ - CSS public path in all configs
1293
+
1294
+ #0.0.1-beta.13
1295
+
1296
+ - Breaking issues fix
1297
+ - Add eslint config file in project root folder
1298
+ - Removed hot module and SSR concepts
1299
+ - Public Path change plugin revamp
1300
+ - Replaced style-loader with MiniCssExtractPlugin for overall
1301
+
1302
+ #0.0.1-beta.12
1303
+
1304
+ - ResourceHints Plugin added
1305
+ - able to set public paths for various types of assets
1306
+ - provided few cli options for existing options
1307
+ - change ext of files while copy
1308
+ - cache directory issue fix in dev mode
1309
+ - script instrument loader added
1310
+ - eslint windows machine issue fix
1311
+
1312
+ #0.0.1-beta.11
1313
+
1314
+ - css module extension changed to .modules.css from .mcss
1315
+
1316
+ #0.0.1-beta.10
1317
+
1318
+ - css module related changes
1319
+ - unit test case breaking issue fix
1320
+
1321
+ #0.0.1-beta.9
1322
+
1323
+ - dynamic import support
1324
+ - unit test case issue fix
1325
+
1326
+ #0.0.1-beta.8
1327
+
1328
+ - major issue fixes - previous version issues
1329
+ - eslint new rules added
1330
+ - reverted babel exclude option
1331
+
1332
+ #0.0.1-beta.7
1333
+
1334
+ - optionally attributes removal - prod mode
1335
+ - pre-commit issue fixed
1336
+ - eslint fix option added
1337
+ - used exclude instead of include in babel loader
1338
+ - option lookup issue fixed
1339
+
1340
+ #0.0.1-beta.6
1341
+
1342
+ - complext proptypes support for docs
1343
+
1344
+ #0.0.1-beta.5
1345
+
1346
+ - docs slowness issue fix
1347
+ - jest update issue fix
1348
+
1349
+ #0.0.1-beta.4
1350
+
1351
+ - css chunk related changes
1352
+ - manifest json related changes
1353
+ - css bundle issue fixed
1354
+
1355
+ #0.0.1-beta.3
1356
+
1357
+ - slowness issue fixed
1358
+ - efc build issue fixed
1359
+
1360
+ 0.0.1-beta.2 changes
1361
+
1362
+ - docs changes
1363
+ - precommit hook issue fix
1364
+ - compression support
1365
+ - prod string error fix
1366
+ - efc build support
1367
+ - single style tag support
1368
+
1369
+ ```
1370
+
1371
+ ```