Files
esengine/.changeset/clever-dragons-smile.md
YHH c4f7a13b74 feat(cli): add CLI tool for adding ECS framework to existing projects (#339)
* feat(cli): add CLI tool for adding ECS framework to existing projects

- Support Cocos Creator 2.x/3.x, LayaAir 3.x, and Node.js platforms
- Auto-detect project type based on directory structure
- Generate ECSManager with full configuration (debug, remote debug, WebSocket URL)
- Auto-install dependencies with npm/yarn/pnpm detection
- Platform-specific decorators and lifecycle methods

* chore: add changeset for @esengine/cli

* fix(ci): fix YAML syntax error in ai-issue-helper workflow

* fix(cli): resolve file system race conditions (CodeQL)

* chore(ci): remove unused and broken workflows

* fix(ci): fix YAML encoding in release.yml
2025-12-26 16:18:59 +08:00

389 B
Raw Blame History

@esengine/cli
@esengine/cli
minor

feat(cli): 添加 CLI 工具用于将 ECS 框架集成到现有项目

  • 支持 Cocos Creator 2.x/3.x、LayaAir 3.x、Node.js 平台
  • 自动检测项目类型
  • 生成完整配置的 ECSManager调试模式、远程调试、WebSocket URL
  • 自动安装依赖(支持 npm/yarn/pnpm
  • 针对不同平台生成正确的装饰器和生命周期方法