mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-23 21:13:35 +00:00
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.
75 lines
2.0 KiB
YAML
75 lines
2.0 KiB
YAML
name: client_app
|
|
description: "A new Flutter project."
|
|
publish_to: 'none'
|
|
|
|
version: 1.0.0+1
|
|
|
|
environment:
|
|
sdk: ">=3.5.2 <4.0.0"
|
|
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
cherrypick:
|
|
path: ../../cherrypick
|
|
cherrypick_flutter:
|
|
path: ../../cherrypick_flutter
|
|
|
|
cherrypick_annotations:
|
|
path: ../../cherrypick_annotations
|
|
|
|
cupertino_icons: ^1.0.8
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
|
|
flutter_lints: ^5.0.0
|
|
|
|
cherrypick_generator:
|
|
path: ../../cherrypick_generator
|
|
build_runner: ^2.4.15
|
|
|
|
# For information on the generic Dart part of this file, see the
|
|
# following page: https://dart.dev/tools/pub/pubspec
|
|
|
|
# The following section is specific to Flutter packages.
|
|
flutter:
|
|
|
|
# The following line ensures that the Material Icons font is
|
|
# included with your application, so that you can use the icons in
|
|
# the material Icons class.
|
|
uses-material-design: true
|
|
|
|
# To add assets to your application, add an assets section, like this:
|
|
# assets:
|
|
# - images/a_dot_burr.jpeg
|
|
# - images/a_dot_ham.jpeg
|
|
|
|
# An image asset can refer to one or more resolution-specific "variants", see
|
|
# https://flutter.dev/to/resolution-aware-images
|
|
|
|
# For details regarding adding assets from package dependencies, see
|
|
# https://flutter.dev/to/asset-from-package
|
|
|
|
# To add custom fonts to your application, add a fonts section here,
|
|
# in this "flutter" section. Each entry in this list should have a
|
|
# "family" key with the font family name, and a "fonts" key with a
|
|
# list giving the asset and other descriptors for the font. For
|
|
# example:
|
|
# fonts:
|
|
# - family: Schyler
|
|
# fonts:
|
|
# - asset: fonts/Schyler-Regular.ttf
|
|
# - asset: fonts/Schyler-Italic.ttf
|
|
# style: italic
|
|
# - family: Trajan Pro
|
|
# fonts:
|
|
# - asset: fonts/TrajanPro.ttf
|
|
# - asset: fonts/TrajanPro_Bold.ttf
|
|
# weight: 700
|
|
#
|
|
# For details regarding fonts from package dependencies,
|
|
# see https://flutter.dev/to/font-from-package
|