Closed Sruimeng closed 2 months ago
The recent changes primarily revolve around reorganization and modularization of logging functionality within the codebase. Specifically, the logging for player version information was moved from packages/effects
to packages/effects-core
. This centralizes the logging responsibility in effects-core
, streamlining the build and enhancing maintainability by reducing redundancy.
Files | Change Summary |
---|---|
packages/effects-core/src/index.ts |
Added logger import, defined and exported version constant, and logged player version using logger.info() . |
packages/effects/src/index.ts |
Removed logger import, removed logging for player version, and removed export of the version constant. |
In code's grand dance, we shuffle away,
To core, our logs and versions sway,
Cleaner paths, less cluttered lanes,
A symphony of code remains.
🎶 A rabbit hops with glee, oh so bright,
For organized code shines in the night. 🌟
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?
这个问题我刚刚改了下,会兼容掉,挪到 core 下不合理
三方引擎使用 spine 插件的时候,由于 spine 导入了 version,导致没办法修改 effects 为 effects-core 包
Summary by CodeRabbit
New Features
version
constant.Refactor
Engine
for improved code organization.