@zohodesk/client_build_tool 0.0.6 → 0.0.7-exp.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +13 -0
  3. package/index.html +600 -0
  4. package/lib/schemas/defaultConfigValues.js +23 -1
  5. package/lib/schemas/readOptions.js +33 -0
  6. package/lib/shared/babel/babelWebConfig.js +4 -1
  7. package/lib/shared/babel/runBabelForTsFile.js +30 -0
  8. package/lib/shared/bundler/webpack/common/decidePublicPath.js +5 -0
  9. package/lib/shared/bundler/webpack/common/nameTemplates.js +13 -9
  10. package/lib/shared/bundler/webpack/custom_plugins/{CdnChangePlugin.js → CdnChangePlugin/index.js} +29 -5
  11. package/lib/shared/bundler/webpack/custom_plugins/CdnChangePlugin/webpackCustomJsUrlLoader.js +46 -0
  12. package/lib/shared/bundler/webpack/custom_plugins/CustomScriptLoadingPlugin.js +109 -0
  13. package/lib/shared/bundler/webpack/custom_plugins/I18nSplitPlugin/getI18nLoadingRuntimeModule.js +1 -1
  14. package/lib/shared/bundler/webpack/custom_plugins/InitialHtmlPlugin.js +4 -0
  15. package/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/addFilesNamesToManifestJson.js +8 -2
  16. package/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/createInitialEntries.js +7 -1
  17. package/lib/shared/bundler/webpack/custom_plugins/ManifestJsonPlugin/createManifestJson.js +1 -1
  18. package/lib/shared/bundler/webpack/custom_plugins/ResourceHintsPlugin.js +1 -0
  19. package/lib/shared/bundler/webpack/custom_plugins/ServiceWorkerPlugin.js +5 -1
  20. package/lib/shared/bundler/webpack/custom_plugins/ServiceWorkerPluginUtils.js +13 -0
  21. package/lib/shared/bundler/webpack/custom_plugins/SourceMapPlugin/index.js +20 -2
  22. package/lib/shared/bundler/webpack/custom_plugins/TPHashMappingPlugin/index.js +1 -1
  23. package/lib/shared/bundler/webpack/custom_plugins/getInitialAssetsFuncTemplate.js +4 -4
  24. package/lib/shared/bundler/webpack/custom_plugins/getInitialI18nAssetsArrayStr.js +1 -1
  25. package/lib/shared/bundler/webpack/devtoolConfig.js +4 -1
  26. package/lib/shared/bundler/webpack/externals.js +5 -1
  27. package/lib/shared/bundler/webpack/loaderConfigs/configsAssetsLoaders.js +1 -1
  28. package/lib/shared/bundler/webpack/loaderConfigs/cssClassNameGenerate.js +6 -1
  29. package/lib/shared/bundler/webpack/optimizationConfig.js +15 -2
  30. package/lib/shared/bundler/webpack/pluginConfigs/configCSSMinifierPlugin.js +5 -1
  31. package/lib/shared/bundler/webpack/pluginConfigs/configCustomScriptLoadingStrategyPlugin.js +76 -0
  32. package/lib/shared/bundler/webpack/pluginConfigs/configI18nSplitPlugin.js +1 -1
  33. package/lib/shared/bundler/webpack/pluginConfigs/configManifestJsonPlugin.js +25 -13
  34. package/lib/shared/bundler/webpack/pluginConfigs/configMiniCSSExtractPlugin.js +2 -1
  35. package/lib/shared/bundler/webpack/plugins.js +3 -1
  36. package/lib/shared/bundler/webpack/resolvers.js +2 -1
  37. package/lib/shared/bundler/webpack/tsLoaders.js +17 -0
  38. package/lib/shared/bundler/webpack/utils/index.js +6 -1
  39. package/lib/shared/bundler/webpack/webpackConfig.js +3 -1
  40. package/lib/shared/fileUtils/watchRun.js +13 -1
  41. package/lib/shared/postcss/custom_postcss_plugins/ValueReplacer.js +1 -1
  42. package/lib/shared/postcss/custom_postcss_plugins/VariableModificationPlugin/index.js +4 -0
  43. package/lib/shared/server/getServerURL.js +9 -2
  44. package/npm-shrinkwrap.json +412 -7328
  45. package/package.json +5 -2
  46. package/coverage/addFilesNamesToManifestJson.js.html +0 -148
  47. package/coverage/base.css +0 -224
  48. package/coverage/block-navigation.js +0 -87
  49. package/coverage/bundler/webpack/custom_plugins/AddManifestJson/addFilesNamesToManifestJson.js.html +0 -148
  50. package/coverage/bundler/webpack/custom_plugins/AddManifestJson/createInitialEntries.js.html +0 -136
  51. package/coverage/bundler/webpack/custom_plugins/AddManifestJson/createManifestJson.js.html +0 -181
  52. package/coverage/bundler/webpack/custom_plugins/AddManifestJson/findInitialFileNames.js.html +0 -133
  53. package/coverage/bundler/webpack/custom_plugins/AddManifestJson/index.html +0 -146
  54. package/coverage/bundler/webpack/custom_plugins/AddManifestJson/index.js.html +0 -199
  55. package/coverage/bundler/webpack/custom_plugins/AddManifestJson/removeHashFromFileName.js.html +0 -127
  56. package/coverage/bundler/webpack/custom_plugins/VariableConversionCollector/ErrorHandler.js.html +0 -346
  57. package/coverage/bundler/webpack/custom_plugins/VariableConversionCollector/index.html +0 -116
  58. package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/constants.js.html +0 -94
  59. package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/handleIgnores.js.html +0 -259
  60. package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/index.html +0 -236
  61. package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/index.js.html +0 -442
  62. package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/insertBefore.js.html +0 -154
  63. package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/isPreviouslyProcessed.js.html +0 -142
  64. package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/replaceUtils.js.html +0 -127
  65. package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/separateHoveredSelectorAndNormalSelector.js.html +0 -139
  66. package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/specialCases.js.html +0 -184
  67. package/coverage/bundler/webpack/custom_postcss_plugins/HoverActivePlugin/typeCheckUtils.js.html +0 -193
  68. package/coverage/bundler/webpack/custom_postcss_plugins/SelectorReplace.js.html +0 -292
  69. package/coverage/bundler/webpack/custom_postcss_plugins/ValueReplacer.js.html +0 -223
  70. package/coverage/bundler/webpack/custom_postcss_plugins/VariableModificationPlugin/index.html +0 -116
  71. package/coverage/bundler/webpack/custom_postcss_plugins/VariableModificationPlugin/index.js.html +0 -1126
  72. package/coverage/bundler/webpack/custom_postcss_plugins/index.html +0 -131
  73. package/coverage/bundler/webpack/loaderConfigs/getSpecificPostCssPlugin.js.html +0 -247
  74. package/coverage/bundler/webpack/loaderConfigs/index.html +0 -116
  75. package/coverage/coverage-final.json +0 -4
  76. package/coverage/coverage-summary.json +0 -5
  77. package/coverage/createInitialEntries.js.html +0 -136
  78. package/coverage/dummy.js.html +0 -238
  79. package/coverage/favicon.png +0 -0
  80. package/coverage/index.html +0 -146
  81. package/coverage/index.js.html +0 -169
  82. package/coverage/isObject.js.html +0 -94
  83. package/coverage/isValid.js.html +0 -106
  84. package/coverage/prettify.css +0 -1
  85. package/coverage/prettify.js +0 -2
  86. package/coverage/removeHashFromFileName.js.html +0 -127
  87. package/coverage/sort-arrow-sprite.png +0 -0
  88. package/coverage/sorter.js +0 -196
  89. package/result.json +0 -1
  90. package/unittest/index.html +0 -35
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog and Release Notes
2
2
 
3
+
4
+
5
+ **Feature:-**
6
+ - externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
7
+ - to use externals, we use the following pattern in `app > externals` :
8
+
9
+ For example
10
+ ```
11
+ externals: {
12
+ <key> : <value>
13
+ }
14
+ ```
15
+
3
16
  ## v0.0.6 (4-09-2023)
4
17
 
5
18
  **Feature:-**
package/README.md CHANGED
@@ -84,6 +84,19 @@ These commands provide flexibility and control over your client-side build proce
84
84
  For more [Details](ConfigurationDocumentation.md)
85
85
  # Changelog and Release Notes
86
86
 
87
+
88
+
89
+ **Feature:-**
90
+ - externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
91
+ - to use externals, we use the following pattern in `app > externals` :
92
+
93
+ For example
94
+ ```
95
+ externals: {
96
+ <key> : <value>
97
+ }
98
+ ```
99
+
87
100
  ## v0.0.6 (4-09-2023)
88
101
 
89
102
  **Feature:-**