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

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