Files
cherrypick/cherrypick_generator/pubspec.yaml
Sergey Penkovsky 0e555a6849 feat: migrate to analyzer 9.0.0 API
- Replace Element2 API with Element API
- Update imports from element2.dart to element.dart
- Replace .firstFragment.name2 with .name
- Replace .firstFragment.metadata2.annotations with .metadata.annotations
- Replace .fields2 with .fields
- Replace .methods2 with .methods
- Remove duplicate imports in annotation_validator.dart and generated_class.dart
- Update test mocks to use Element instead of Element2

All generators now work correctly with analyzer 9.0.0:
- melos analyze: SUCCESS (0 issues)
- melos codegen: SUCCESS (13 outputs generated)
- melos bootstrap: SUCCESS (8 packages)
2026-01-30 10:48:48 +03:00

35 lines
896 B
YAML

name: cherrypick_generator
description: |
Source code generator for the cherrypick dependency injection system. Processes annotations to generate binding and module code for Dart & Flutter projects.
version: 4.0.0-dev.0
homepage: https://cherrypick-di.netlify.app
documentation: https://cherrypick-di.netlify.app/docs/intro
repository: https://github.com/pese-git/cherrypick/cherrypick_generator
issue_tracker: https://github.com/pese-git/cherrypick/issues
topics:
- di
- ioc
- dependency-injection
- dependency-management
- inversion-of-control
environment:
sdk: ">=3.9.0 <4.0.0"
# Add regular dependencies here.
dependencies:
cherrypick_annotations: ^4.0.0-dev.0
analyzer: ^9.0.0
dart_style: ^3.0.0
build: ^4.0.4
source_gen: ^4.2.0
collection: ^1.18.0
dev_dependencies:
lints: ^6.0.0
mockito: ^5.4.5
test: ^1.25.8
build_test: ^3.0.0
build_runner: ^2.5.0