Merged
Conversation
…n for SFDMU adapter
… directory hashing
- Updated index.ts to export additional types and reorganize exports for clarity. - Refactored PicklistAnalyzer to improve readability and efficiency. - Enhanced PackageAssembler with clearer assembly steps and improved error handling. - Modified InstallerRegistry to exclude 'data' from package type restrictions. - Streamlined SfpmDataPackage to directly import fast-glob and optimize file counting. - Updated npm types to improve clarity and organization of package.json generation. - Improved DirectoryHasher comments explaining sequential read requirements.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces support for SFDMU data packages in the CLI and core library, improves artifact assembly robustness, and enhances the public API for registering builders and installers. The changes ensure that SFDMU builders/installers are registered as side effects and that the artifact assembler's logic is more modular and error-tolerant. Additionally, the exports from the core package have been expanded to expose more types and utilities.
SFDMU Data Package Integration
@b64/sfpm-sfdmuas a dependency inpackages/cli/package.jsonand registered its builder/installer via side-effect imports inbuild.tsandinstall.tscommands, enabling SFDMU data package support in CLI workflows. [1] [2] [3]Artifact Assembler Refactoring & Robustness
ArtifactAssemblerinartifact-assembler.tsto modularize event emission, staging directory preparation, source hash calculation, changelog/package.json generation, and tarball movement. Improved error handling and logging for artifact assembly steps. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]Public API Improvements
index.tsto expose builder and installer registration functions/types (RegisterBuilder,RegisterInstaller, etc.),SfpmDataPackage, and utility classes likeDirectoryHasher, making it easier for consumers to extend and interact with the core library. [1] [2]Type and Import Cleanups
node:prefixes for core modules and reordered type/interface definitions for clarity and consistency inartifact-assembler.ts.Minor Code Quality Enhancements
removeEmptyValuesutility function to skip empty arrays and objects more reliably.