Files
cherrypick/cherrypick_generator/pubspec.yaml

35 lines
885 B
YAML
Raw Permalink Normal View History

2025-05-14 12:53:51 +03:00
name: cherrypick_generator
2025-05-23 00:18:54 +03:00
description: |
Source code generator for the cherrypick dependency injection system. Processes annotations to generate binding and module code for Dart & Flutter projects.
version: 3.0.1
homepage: https://cherrypick-di.netlify.app
documentation: https://cherrypick-di.netlify.app/docs/intro
2025-05-23 00:18:54 +03:00
repository: https://github.com/pese-git/cherrypick/cherrypick_generator
2025-05-22 16:53:29 +03:00
issue_tracker: https://github.com/pese-git/cherrypick/issues
topics:
- di
- ioc
- dependency-injection
- dependency-management
- inversion-of-control
2025-05-14 12:53:51 +03:00
environment:
sdk: ">=3.6.0 <4.0.0"
2025-05-14 12:53:51 +03:00
# Add regular dependencies here.
dependencies:
cherrypick_annotations: ^3.0.1
analyzer: ^7.7.1
feat(generator): complete code generation testing framework with 100% test coverage BREAKING CHANGE: Updated file extensions and dependencies for better compatibility ## 🎯 Major Features Added: - ✅ Complete test suite for ModuleGenerator (66 integration tests) - ✅ Complete test suite for InjectGenerator (66 integration tests) - ✅ Comprehensive unit tests for BindSpec, MetadataUtils - ✅ 195 total tests across all packages (100% passing) ## 🔧 Technical Improvements: - feat(generator): add comprehensive integration tests for code generation - feat(generator): implement BindSpec unit tests with full coverage - feat(generator): add MetadataUtils unit tests for annotation processing - fix(generator): update file extensions to avoid conflicts (.module.cherrypick.g.dart) - fix(generator): correct part directive generation in templates - fix(generator): resolve dart_style 3.x formatting compatibility ## 📦 Dependencies & Configuration: - build(deps): upgrade analyzer to ^7.0.0 for Dart 3.5+ compatibility - build(deps): upgrade dart_style to ^3.0.0 for modern formatting - build(deps): upgrade source_gen to ^2.0.0 for latest features - config(build): update build.yaml with new file extensions - config(melos): optimize test commands for better performance ## 🐛 Bug Fixes: - fix(examples): correct local package paths in client_app and postly - fix(analysis): exclude generated files from static analysis - fix(generator): remove unused imports and variables - fix(tests): add missing part directives in test input files - fix(tests): update expected outputs to match dart_style 3.x format ## 🚀 Performance & Quality: - perf(tests): optimize test execution time (132 tests in ~1 second) - quality: achieve 100% test coverage for code generation - quality: eliminate all analyzer warnings and errors - quality: ensure production-ready stability ## 📋 Test Coverage Summary: - cherrypick: 61 tests ✅ - cherrypick_annotations: 1 test ✅ - cherrypick_generator: 132 tests ✅ - cherrypick_flutter: 1 test ✅ - Total: 195 tests (100% passing) ## 🔄 Compatibility: - ✅ Dart SDK 3.5.2+ - ✅ Flutter 3.24+ - ✅ melos + fvm workflow - ✅ build_runner integration - ✅ Modern analyzer and formatter This commit establishes CherryPick as a production-ready dependency injection framework with enterprise-grade testing and code generation capabilities.
2025-06-11 18:34:19 +03:00
dart_style: ^3.0.0
2025-05-22 23:50:55 +03:00
build: ^2.4.1
source_gen: ^2.0.0
2025-05-23 12:21:23 +03:00
collection: ^1.18.0
2025-05-14 12:53:51 +03:00
dev_dependencies:
lints: ^5.1.1
mockito: ^5.4.5
2025-05-16 09:30:30 +03:00
test: ^1.25.8
feat(generator): complete code generation testing framework with 100% test coverage BREAKING CHANGE: Updated file extensions and dependencies for better compatibility ## 🎯 Major Features Added: - ✅ Complete test suite for ModuleGenerator (66 integration tests) - ✅ Complete test suite for InjectGenerator (66 integration tests) - ✅ Comprehensive unit tests for BindSpec, MetadataUtils - ✅ 195 total tests across all packages (100% passing) ## 🔧 Technical Improvements: - feat(generator): add comprehensive integration tests for code generation - feat(generator): implement BindSpec unit tests with full coverage - feat(generator): add MetadataUtils unit tests for annotation processing - fix(generator): update file extensions to avoid conflicts (.module.cherrypick.g.dart) - fix(generator): correct part directive generation in templates - fix(generator): resolve dart_style 3.x formatting compatibility ## 📦 Dependencies & Configuration: - build(deps): upgrade analyzer to ^7.0.0 for Dart 3.5+ compatibility - build(deps): upgrade dart_style to ^3.0.0 for modern formatting - build(deps): upgrade source_gen to ^2.0.0 for latest features - config(build): update build.yaml with new file extensions - config(melos): optimize test commands for better performance ## 🐛 Bug Fixes: - fix(examples): correct local package paths in client_app and postly - fix(analysis): exclude generated files from static analysis - fix(generator): remove unused imports and variables - fix(tests): add missing part directives in test input files - fix(tests): update expected outputs to match dart_style 3.x format ## 🚀 Performance & Quality: - perf(tests): optimize test execution time (132 tests in ~1 second) - quality: achieve 100% test coverage for code generation - quality: eliminate all analyzer warnings and errors - quality: ensure production-ready stability ## 📋 Test Coverage Summary: - cherrypick: 61 tests ✅ - cherrypick_annotations: 1 test ✅ - cherrypick_generator: 132 tests ✅ - cherrypick_flutter: 1 test ✅ - Total: 195 tests (100% passing) ## 🔄 Compatibility: - ✅ Dart SDK 3.5.2+ - ✅ Flutter 3.24+ - ✅ melos + fvm workflow - ✅ build_runner integration - ✅ Modern analyzer and formatter This commit establishes CherryPick as a production-ready dependency injection framework with enterprise-grade testing and code generation capabilities.
2025-06-11 18:34:19 +03:00
build_test: ^2.1.7
build_runner: ^2.4.13