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
ceab0b6f19
方案 C(激进)Phase 2:物理迁移(首批)
...
- parse:迁移 swagger_fetcher / swagger_data_parser 至 lib/pipeline/parse/impl/*,原位置保留兼容导出
- validate:迁移 schema_validator / enhanced_validator 至 lib/pipeline/validate/impl/*,原位置保留兼容导出
- pipeline 层维持 re-export,确保外部与内部导入路径均可用
质量门禁:
- dart analyze:0 error / 0 warning(仅 info)
- dart test:全部通过(203/203)
后续计划:
- 视风险逐步评估 generate/render/output 的物理迁移(含 part 文件),保持每步可回滚
2025-11-22 21:41:42 +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