Commit Graph

3 Commits

Author SHA1 Message Date
Max 53f89940ed fix(refactor): correct import paths after pipeline migration
- Updated all internal import statements to point to the new 'pipeline' directory structure.
- Resolved all 'uri_does_not_exist' and 'undefined_class' errors caused by the refactoring.
- The project now passes 'dart analyze' with no errors.
2025-11-23 10:04:02 +08:00
Max 7627236650 refactor(pipeline): 迁移generators模块到pipeline结构
- 将 base_generator.dart, model_code_generator.dart, retrofit_api_generator.dart 及其 part 文件物理迁移到 lib/pipeline/generate/impl/ 目录。
- 在原 lib/generators/ 目录下保留向后兼容的导出 shim 文件。
- 修复了因文件移动导致的 part of 路径问题和 mixin 引用失效问题。

质量门禁:
- dart analyze: 0 error / 0 warning (info only)
- dart test: all pass
2025-11-22 22:11:12 +08:00
Max a9de0e72d9 方案 C(激进)第一步:引入 pipeline 目录的导入别名层
- 新增 lib/pipeline/**(parse/validate/generate/render/output)各阶段 re-export 文件
- 不改动现有实现与导入,仅提供流程化导入入口(零行为变更)
- 后续可在别名层稳定的前提下,逐步迁移物理文件(parse/validate/generate/render/output)

质量门禁:
- dart analyze:0 error / 0 warning(仅 info)
- dart test:全部通过(203/203)
2025-11-22 21:10:15 +08:00