@zohodesk/client_build_tool 0.0.17-exp.1 → 0.0.18

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog and Release Notes
2
2
 
3
+ # v0.0.18 (23-12-2025)
4
+
5
+ **Adjustments:-**
6
+ - remove the unwanted console in the previous version
7
+ - html not creation issue due to the generate html option fixed
8
+
3
9
  # v0.0.17 (22-12-2025)
4
10
 
5
11
  **Feature:-**
package/README.md CHANGED
@@ -475,6 +475,201 @@ First Release
475
475
  - 'templates' command to create es for react library
476
476
  # Changelog and Release Notes
477
477
 
478
+ # v0.0.18 (23-12-2025)
479
+
480
+ **Adjustments:-**
481
+ - remove the unwanted console in the previous version
482
+ - html not creation issue due to the generate html option fixed
483
+
484
+ # v0.0.17 (22-12-2025)
485
+
486
+ **Feature:-**
487
+ - `alias` support for `build:es` and `build:lib`
488
+ - Add babel-plugin-module-resolver dependencies for library only
489
+ - Modify getBabelPlugin to include module resolver with aliases
490
+ - An additional entry point support has been added.
491
+ - An option for HTML generation has been provided.
492
+ - Support for CssCustomOrderPlugin has been added.
493
+
494
+ **Adjustments:-**
495
+ - ChunkHierarchyPlugin.js – modified and rewrite the plugin to get the proper output (this is the stable version of this plugin).
496
+
497
+
498
+ # v0.0.16 (05-11-2025)
499
+
500
+ **Adjustments:-**
501
+ - ChunkHierarchyPlugin.js – Added support for ConcatenatedModule modules.
502
+ - InjectChunkGraphPlugin.js – Changed the template name from {{--preload-chunk-graph-object}} to __PRELOAD_CHUNK_GRAPH__ to resolve minification issues.
503
+ - Disabled CSS source map generation – CSS source maps were being created when RTL split was disabled and sourceMap was enabled, causing issues. Hence, CSS source map creation has been disabled
504
+ - Source map path correction – The resolving paths in source map files appeared as zohodesk-react/./src, which was incompatible with the Murphy tool. Updated it to zohodesk-react/src by adding a function to devtoolModuleFilenameTemplate in the output configuration.
505
+ - ChunkHierarchyPlugin – Made it active in development mode as well by removing the “run only in production” condition.
506
+
507
+ # v0.0.15 (11-10-2025)
508
+
509
+ **Feature:-**
510
+ - Chunk Dependency Mapping: Added a new feature that generates a JSON file listing all chunk dependencies in the Webpack build
511
+ For example, if main.js is a chunk, the generated JSON will include all of its direct imports (dependencies).
512
+ - Purpose:
513
+ To provide clear visibility into chunk relationships and dependencies for debugging, optimization, and performance analysis.
514
+
515
+ ```
516
+ chunkGraph:{
517
+ enable: { value: true },
518
+ fileName: ''
519
+ }
520
+ ```
521
+
522
+ - Preload Chunk Split Visualization
523
+ Enhanced the Preload Chunk (PLC) mechanism to identify and list the sub-chunks generated from a preloaded parent chunk.
524
+ When a chunk is configured for preloading (e.g., ticket.js), the system now traces and records all the split chunks associated with it — for example
525
+
526
+ if resourceHints not enabled plc , pfc and custom function related to this are not created
527
+
528
+ ```
529
+ resourceHints: {
530
+ enable: true,
531
+ PreloadChunkNames: [//name of chunks to be preload//]
532
+ },
533
+ ```
534
+
535
+
536
+ # v0.0.14 (06-10-2025)
537
+
538
+ **Feature:-**
539
+ - Added integrity and crossorigin attributes for all the js and css files in index.html
540
+
541
+ ```enableSubResourceIntegrity: true
542
+ ```
543
+ **Adjustments:-**
544
+ - add ts-loader to parse tsx and ts files
545
+
546
+ # v0.0.13 (02-09-2025)
547
+
548
+ **Adjustments:-**
549
+ - Source map files are created in the smap/ folder by default. However, they are also being created in the js/ folder to resolve the issue where Murphy was unable to locate them.
550
+
551
+ **Feature:-**
552
+ - Added support for Murphy to be built as a separate chunk and injected as the top script in the initial HTML.
553
+ - To enable this support , add this in your configuration
554
+
555
+ ```murphyBootstrapHtml{
556
+ enable: true,
557
+ chunkName: '',
558
+ filePath: ''
559
+ }```
560
+
561
+
562
+
563
+ # v0.0.12 (14-08-2025)
564
+
565
+ - Fixed the initial i18n loading issue caused by using the same function in both the i18nRuntimeDealer plugin and decidePublicPath
566
+
567
+ # v0.0.11 (07-08-2025) (had an issue while enable i18n chunk split plugin)
568
+ - remove babel-plugin-module-resolver dependencies
569
+
570
+ **Adjustments:-**
571
+ - Public Folder configuration is separated for development and production
572
+
573
+ **Bug Fix:-**
574
+ - Fixed the issue where the build log was not visible when `stats (bundle integrity)` was enabled. The problem was resolved by adding an error check in the `bundleIntegrity plugin`.
575
+ - Removed the babel-plugin-module-resolver dependency to resolve the alias resolution issue in the application.
576
+ - Fixed the issue where a space in the variable name causes it to return an undefined value.
577
+ - Fixed the URL path generation issue that occurred while using context in the development setup.
578
+
579
+
580
+ # v0.0.10 (12-05-2025)
581
+ **Feature:-**
582
+ - `alias` support for `build:es` and `build:lib`
583
+ - Add babel-plugin-module-resolver dependencies
584
+ - Modify getBabelPlugin to include module resolver with aliases
585
+
586
+ **Bug Fix:-**
587
+ - Enhance runBabelForTSFile to handle both .tsx and .ts file extensions
588
+ - Update mockApiHandler to ensure mock function is called correctly
589
+
590
+ **Change:-**
591
+ - Refactor defaultConfigValues.js to include cli options for enableRTLSplit
592
+
593
+ ## v0.0.9
594
+
595
+ **Feature:-**
596
+ - externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
597
+ - to use externals, we use the following pattern in `app > externals` :
598
+
599
+ For example
600
+ ```
601
+ externals: {
602
+ <key> : <value>
603
+ }
604
+ ```
605
+
606
+ ## v0.0.6 (4-09-2023)
607
+
608
+ **Feature:-**
609
+ - Generating bundle integrity report 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`.
610
+ - Added Resource Cleanup plugin to cleanup resource retained by build tool. this plugin is controlled by efc flag resourcecleanup flag.
611
+ - added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
612
+ only will be activate when `resourceHints` => `allowPrefetchingMultipleChunks` as `true`
613
+ - added support for glob pattern for custom chunks split logic.
614
+ - added options to split chunks base config in the key `app` => `customChunksBaseConfig` as object
615
+
616
+ **Change:-**
617
+ - i18n name not generated issue fix.
618
+ - public path not correctly set issue fix.
619
+ - changing plugin hook stages in i18nRuntimePlugin and sourceMapPlugin
620
+ ## v0.0.5 (6-08-2023)
621
+
622
+ **Changes:--**
623
+ - Typo fix in i18nRuntimeDealerPlugin.js
624
+ - fixing some bugs in resolvers.js file
625
+
626
+ ## v0.0.3 (1-08-2023)
627
+
628
+ **Changes:--**
629
+ - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
630
+ - unwanted files deleted from build
631
+
632
+ **Issue Fix:--**
633
+ - The issue with the source map not being created in the build has been fixed."
634
+
635
+
636
+ ## v0.0.2 (28-04-2023)
637
+
638
+ **Features:-**
639
+
640
+ - `devModeContentHashAllowedTypes` support added for some project there will be a need for hash even though they run dev mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devModeContentHashAllowedTypes)
641
+ - `devLikeHash` support for disable content hash for file names in production mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devLikeHash)
642
+ - `disableReactDevWarning` disable react dev warning such as prop-type warnings will be removed in dev mode build or server. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#disableReactDevWarning) can be enabled via `--disable_react_dev_warning` too.
643
+ - `statsLogConfig` support to customize default webpack log after build finished. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#statsLogConfig) can be enabled via `--disable_react_dev_warning` too.
644
+ - `enableChunkHash` renamed as `enableFileNameHashing`
645
+
646
+ - `pre_processor` command to run the preprocessor.js file.preProcessor runs in build, start, buildEs, buildLib commands bu default. and we have watch mode support as well with the option (`-w`)
647
+ - `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
648
+ - `removeAttribute` option changes as `babelCustomizations.removeAttribute`
649
+ - `removePropTypes` support for remove the prop types package in the output build.
650
+ - `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
651
+ - `manifestJson` default value set as false.
652
+ - `customAttributes` support for add attributes to html, link , script tag in the output build.
653
+
654
+
655
+ ## v0.0.1 (18-04-2023)
656
+
657
+ First Release
658
+ **Features:-**
659
+
660
+ - 'start' command to run react app
661
+ - 'build' command to create build for react app
662
+ - 'build:lib' command to create lib for react library
663
+ - 'build:es' command to create es for react library
664
+ - 'templates' command to create es for react library
665
+ # Changelog and Release Notes
666
+
667
+ # v0.0.18 (23-12-2025)
668
+
669
+ **Adjustments:-**
670
+ - remove the unwanted console in the previous version
671
+ - html not creation issue due to the generate html option fixed
672
+
478
673
  # v0.0.17 (22-12-2025)
479
674
 
480
675
  **Feature:-**
package/README_backup.md CHANGED
@@ -463,6 +463,195 @@ For example
463
463
  - `customAttributes` support for add attributes to html, link , script tag in the output build.
464
464
 
465
465
 
466
+ ## v0.0.1 (18-04-2023)
467
+
468
+ First Release
469
+ **Features:-**
470
+
471
+ - 'start' command to run react app
472
+ - 'build' command to create build for react app
473
+ - 'build:lib' command to create lib for react library
474
+ - 'build:es' command to create es for react library
475
+ - 'templates' command to create es for react library
476
+ # Changelog and Release Notes
477
+
478
+ # v0.0.18 (23-12-2025)
479
+
480
+ **Adjustments:-**
481
+ - remove the unwanted console in the previous version
482
+ - html not creation issue due to the generate html option fixed
483
+
484
+ # v0.0.17 (22-12-2025)
485
+
486
+ **Feature:-**
487
+ - `alias` support for `build:es` and `build:lib`
488
+ - Add babel-plugin-module-resolver dependencies for library only
489
+ - Modify getBabelPlugin to include module resolver with aliases
490
+ - An additional entry point support has been added.
491
+ - An option for HTML generation has been provided.
492
+ - Support for CssCustomOrderPlugin has been added.
493
+
494
+ **Adjustments:-**
495
+ - ChunkHierarchyPlugin.js – modified and rewrite the plugin to get the proper output (this is the stable version of this plugin).
496
+
497
+
498
+ # v0.0.16 (05-11-2025)
499
+
500
+ **Adjustments:-**
501
+ - ChunkHierarchyPlugin.js – Added support for ConcatenatedModule modules.
502
+ - InjectChunkGraphPlugin.js – Changed the template name from {{--preload-chunk-graph-object}} to __PRELOAD_CHUNK_GRAPH__ to resolve minification issues.
503
+ - Disabled CSS source map generation – CSS source maps were being created when RTL split was disabled and sourceMap was enabled, causing issues. Hence, CSS source map creation has been disabled
504
+ - Source map path correction – The resolving paths in source map files appeared as zohodesk-react/./src, which was incompatible with the Murphy tool. Updated it to zohodesk-react/src by adding a function to devtoolModuleFilenameTemplate in the output configuration.
505
+ - ChunkHierarchyPlugin – Made it active in development mode as well by removing the “run only in production” condition.
506
+
507
+ # v0.0.15 (11-10-2025)
508
+
509
+ **Feature:-**
510
+ - Chunk Dependency Mapping: Added a new feature that generates a JSON file listing all chunk dependencies in the Webpack build
511
+ For example, if main.js is a chunk, the generated JSON will include all of its direct imports (dependencies).
512
+ - Purpose:
513
+ To provide clear visibility into chunk relationships and dependencies for debugging, optimization, and performance analysis.
514
+
515
+ ```
516
+ chunkGraph:{
517
+ enable: { value: true },
518
+ fileName: ''
519
+ }
520
+ ```
521
+
522
+ - Preload Chunk Split Visualization
523
+ Enhanced the Preload Chunk (PLC) mechanism to identify and list the sub-chunks generated from a preloaded parent chunk.
524
+ When a chunk is configured for preloading (e.g., ticket.js), the system now traces and records all the split chunks associated with it — for example
525
+
526
+ if resourceHints not enabled plc , pfc and custom function related to this are not created
527
+
528
+ ```
529
+ resourceHints: {
530
+ enable: true,
531
+ PreloadChunkNames: [//name of chunks to be preload//]
532
+ },
533
+ ```
534
+
535
+
536
+ # v0.0.14 (06-10-2025)
537
+
538
+ **Feature:-**
539
+ - Added integrity and crossorigin attributes for all the js and css files in index.html
540
+
541
+ ```enableSubResourceIntegrity: true
542
+ ```
543
+ **Adjustments:-**
544
+ - add ts-loader to parse tsx and ts files
545
+
546
+ # v0.0.13 (02-09-2025)
547
+
548
+ **Adjustments:-**
549
+ - Source map files are created in the smap/ folder by default. However, they are also being created in the js/ folder to resolve the issue where Murphy was unable to locate them.
550
+
551
+ **Feature:-**
552
+ - Added support for Murphy to be built as a separate chunk and injected as the top script in the initial HTML.
553
+ - To enable this support , add this in your configuration
554
+
555
+ ```murphyBootstrapHtml{
556
+ enable: true,
557
+ chunkName: '',
558
+ filePath: ''
559
+ }```
560
+
561
+
562
+
563
+ # v0.0.12 (14-08-2025)
564
+
565
+ - Fixed the initial i18n loading issue caused by using the same function in both the i18nRuntimeDealer plugin and decidePublicPath
566
+
567
+ # v0.0.11 (07-08-2025) (had an issue while enable i18n chunk split plugin)
568
+ - remove babel-plugin-module-resolver dependencies
569
+
570
+ **Adjustments:-**
571
+ - Public Folder configuration is separated for development and production
572
+
573
+ **Bug Fix:-**
574
+ - Fixed the issue where the build log was not visible when `stats (bundle integrity)` was enabled. The problem was resolved by adding an error check in the `bundleIntegrity plugin`.
575
+ - Removed the babel-plugin-module-resolver dependency to resolve the alias resolution issue in the application.
576
+ - Fixed the issue where a space in the variable name causes it to return an undefined value.
577
+ - Fixed the URL path generation issue that occurred while using context in the development setup.
578
+
579
+
580
+ # v0.0.10 (12-05-2025)
581
+ **Feature:-**
582
+ - `alias` support for `build:es` and `build:lib`
583
+ - Add babel-plugin-module-resolver dependencies
584
+ - Modify getBabelPlugin to include module resolver with aliases
585
+
586
+ **Bug Fix:-**
587
+ - Enhance runBabelForTSFile to handle both .tsx and .ts file extensions
588
+ - Update mockApiHandler to ensure mock function is called correctly
589
+
590
+ **Change:-**
591
+ - Refactor defaultConfigValues.js to include cli options for enableRTLSplit
592
+
593
+ ## v0.0.9
594
+
595
+ **Feature:-**
596
+ - externals was added to Prevent bundling of certain imported packages and retrieve these external dependencies at runtime.
597
+ - to use externals, we use the following pattern in `app > externals` :
598
+
599
+ For example
600
+ ```
601
+ externals: {
602
+ <key> : <value>
603
+ }
604
+ ```
605
+
606
+ ## v0.0.6 (4-09-2023)
607
+
608
+ **Feature:-**
609
+ - Generating bundle integrity report 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`.
610
+ - Added Resource Cleanup plugin to cleanup resource retained by build tool. this plugin is controlled by efc flag resourcecleanup flag.
611
+ - added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
612
+ only will be activate when `resourceHints` => `allowPrefetchingMultipleChunks` as `true`
613
+ - added support for glob pattern for custom chunks split logic.
614
+ - added options to split chunks base config in the key `app` => `customChunksBaseConfig` as object
615
+
616
+ **Change:-**
617
+ - i18n name not generated issue fix.
618
+ - public path not correctly set issue fix.
619
+ - changing plugin hook stages in i18nRuntimePlugin and sourceMapPlugin
620
+ ## v0.0.5 (6-08-2023)
621
+
622
+ **Changes:--**
623
+ - Typo fix in i18nRuntimeDealerPlugin.js
624
+ - fixing some bugs in resolvers.js file
625
+
626
+ ## v0.0.3 (1-08-2023)
627
+
628
+ **Changes:--**
629
+ - `devtool` default value changed from `hidden-cheap-source-map` to `source-map`
630
+ - unwanted files deleted from build
631
+
632
+ **Issue Fix:--**
633
+ - The issue with the source map not being created in the build has been fixed."
634
+
635
+
636
+ ## v0.0.2 (28-04-2023)
637
+
638
+ **Features:-**
639
+
640
+ - `devModeContentHashAllowedTypes` support added for some project there will be a need for hash even though they run dev mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devModeContentHashAllowedTypes)
641
+ - `devLikeHash` support for disable content hash for file names in production mode. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#devLikeHash)
642
+ - `disableReactDevWarning` disable react dev warning such as prop-type warnings will be removed in dev mode build or server. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#disableReactDevWarning) can be enabled via `--disable_react_dev_warning` too.
643
+ - `statsLogConfig` support to customize default webpack log after build finished. for details [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/3.0.0/packages/client_build_tool/ConfigurationDocumentation.md#statsLogConfig) can be enabled via `--disable_react_dev_warning` too.
644
+ - `enableChunkHash` renamed as `enableFileNameHashing`
645
+
646
+ - `pre_processor` command to run the preprocessor.js file.preProcessor runs in build, start, buildEs, buildLib commands bu default. and we have watch mode support as well with the option (`-w`)
647
+ - `createSeparateSmap` flag `source_map_enable` renamed as `enable_smap`
648
+ - `removeAttribute` option changes as `babelCustomizations.removeAttribute`
649
+ - `removePropTypes` support for remove the prop types package in the output build.
650
+ - `devConsoleExclude` support for remove the _console statements_ such as _console.log_, _console.warn_ in the output build.
651
+ - `manifestJson` default value set as false.
652
+ - `customAttributes` support for add attributes to html, link , script tag in the output build.
653
+
654
+
466
655
  ## v0.0.1 (18-04-2023)
467
656
 
468
657
  First Release
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/client_build_tool",
3
- "version": "0.0.17-exp.1",
3
+ "version": "0.0.18",
4
4
  "description": "A CLI tool to build web applications and client libraries",
5
5
  "main": "lib/index.js",
6
6
  "bin": {