Closed RGCHN closed 2 months ago
The changes primarily involve updates and optimizations across multiple files in the effects-core
and spine
plugin packages. This includes version upgrades, restructuring imports, reordering type declarations, and enhancing data management for Spine resources. The updates improve organization, performance, and maintainability, and integrate new features for handling binary and spine data conversions.
File Path | Change Summary |
---|---|
packages/effects-core/package.json |
Updated the version of @galacean/effects-specification from 2.0.0-alpha.18 to 2.0.0-alpha.19 . |
packages/effects-core/src/fallback/index.ts |
Reorganized and grouped imports, removed duplicates, reordered functions, and removed ParticleItem import. |
packages/effects-core/src/fallback/migration.ts |
Modified type imports, added new type imports like BinaryFile , SpineResource , and updated functions for handling binary assets and spine data. |
packages/effects-core/src/index.ts |
Reformatted import statements for loaders and added an export statement for effects-object . |
plugin-packages/spine/README-zh_CN.md |
Updated import statements and usage from SpineResource to SpineDataCache , and improved spine data handling. |
plugin-packages/spine/demo/src/api-test.ts |
Adjusted version numbers and particle start size values in generateScene function. |
plugin-packages/spine/demo/src/files.ts |
Updated URLs for various assets like atlases, JSON files, PNG images, and skeletons. |
plugin-packages/spine/demo/src/simple.ts |
Imported generateGUID , updated variables, refactored JSON data, and introduced new constants and modifications to Spine components and animations. |
plugin-packages/spine/src/index.ts |
Reordered imports, updated export structure, and revised plugin registration logic with SpineLoader extending AbstractPlugin . |
plugin-packages/spine/src/slot-group.ts |
Reordered import statements, adjusted usage of imported types, and updated logic in SlotGroup class methods. |
plugin-packages/spine/src/spine-component.ts |
Introduced new interfaces like SpineDataCache , updated existing interfaces, modified method signatures, and enhanced Spine data and resource handling in SpineComponent . |
plugin-packages/spine/src/utils.ts |
Updated imports and function signatures for handling atlas data and textures, added new function readAtlasData for improved atlas data processing. |
In the fields where code does prance, 🌾
New versions join the dance.
Imports shuffle, grouped in line,
Binary, Spine, all redefined. 🌀
Plugins pruned, and data clear,
The magic runs without a fear. ✨
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
Refactor
Bug Fixes
Documentation
README-zh_CN.md
to reflect changes in data handling and variable naming conventions in the Spine plugin.