Closed fengmk2 closed 1 month ago
The recent update introduces a new configuration property enableSyncUnpkgFiles
to control the synchronization of Unpkg files. The SyncPackageVersionFileEvent
class now checks both enableUnpkg
and enableSyncUnpkgFiles
settings before proceeding with file synchronization. This change ensures more granular control over the synchronization process.
File | Summary |
---|---|
app/core/event/SyncPackageVersionFile.ts |
Updated the syncPackageVersionFile method to check both enableUnpkg and enableSyncUnpkgFiles before syncing. |
app/port/config.ts |
Added enableSyncUnpkgFiles property to CnpmcoreConfig type. |
config/config.default.ts |
Added enableSyncUnpkgFiles: true to the default configuration settings. |
In code we trust, with changes so bright, Synchronizing files, in the moonlight, With
enableSyncUnpkgFiles
, we now control, Ensuring our packages, perfectly whole. 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
enableSyncUnpkgFiles
for enhanced synchronization control.Improvements
enableUnpkg
andenableSyncUnpkgFiles
settings before proceeding.