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.
2025-09-09 18:15:03 +03:00
version : 3.0 .2 -dev.0
2025-09-08 15:06:19 +03:00
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
2025-08-05 06:46:26 +03:00
topics :
- di
- ioc
- dependency-injection
- dependency-management
- inversion-of-control
2025-05-14 12:53:51 +03:00
environment :
refactor(generator): migrate cherrypick_generator to analyzer element2 API
- Fully migrated core cherrypick_generator and submodules to new analyzer element2 system:
- Updated all GeneratorForAnnotation overrides to use Element2, ClassElement2, MethodElement2, FieldElement2 and new annotation/metadata access patterns.
- Migrated signature and bodies for helpers, parsers, annotation validators, meta utils, and type parsers.
- Fixed tests to use readerWriter instead of deprecated reader argument.
- Refactored usage of now-absent 'metadata', 'parameters', 'fields', 'methods', 'source', and similar members to use correct *.firstFragment.* or API alternatives.
- Cleaned up old imports and unused code.
test(generator): update generator integration tests
- Updated test calls to use correct TestReaderWriter type and bring test infra in line with current build_runner/testing API.
build: update dependencies and pubspec to support latest analyzer/build ecosystem
- Raised Dart SDK and package constraints as required for generated code and codegen plugins.
- Updated pubspecs in root/examples as needed by build warnings.
docs: add plots and assets (new files)
BREAKING CHANGE:
- Requires Dart 3.8+ and analyzer that supports element2.
- All downstream codegen/tests depending on Element API must migrate to Element2 signatures and data model.
2025-09-09 17:27:20 +03:00
sdk : ">=3.8.0 <4.0.0"
2025-05-14 12:53:51 +03:00
# Add regular dependencies here.
dependencies :
2025-09-09 18:15:03 +03:00
cherrypick_annotations : ^3.0.2-dev.0
refactor(generator): migrate cherrypick_generator to analyzer element2 API
- Fully migrated core cherrypick_generator and submodules to new analyzer element2 system:
- Updated all GeneratorForAnnotation overrides to use Element2, ClassElement2, MethodElement2, FieldElement2 and new annotation/metadata access patterns.
- Migrated signature and bodies for helpers, parsers, annotation validators, meta utils, and type parsers.
- Fixed tests to use readerWriter instead of deprecated reader argument.
- Refactored usage of now-absent 'metadata', 'parameters', 'fields', 'methods', 'source', and similar members to use correct *.firstFragment.* or API alternatives.
- Cleaned up old imports and unused code.
test(generator): update generator integration tests
- Updated test calls to use correct TestReaderWriter type and bring test infra in line with current build_runner/testing API.
build: update dependencies and pubspec to support latest analyzer/build ecosystem
- Raised Dart SDK and package constraints as required for generated code and codegen plugins.
- Updated pubspecs in root/examples as needed by build warnings.
docs: add plots and assets (new files)
BREAKING CHANGE:
- Requires Dart 3.8+ and analyzer that supports element2.
- All downstream codegen/tests depending on Element API must migrate to Element2 signatures and data model.
2025-09-09 17:27:20 +03:00
analyzer : ">=7.5.9 <8.0.0"
2025-06-11 18:34:19 +03:00
dart_style : ^3.0.0
refactor(generator): migrate cherrypick_generator to analyzer element2 API
- Fully migrated core cherrypick_generator and submodules to new analyzer element2 system:
- Updated all GeneratorForAnnotation overrides to use Element2, ClassElement2, MethodElement2, FieldElement2 and new annotation/metadata access patterns.
- Migrated signature and bodies for helpers, parsers, annotation validators, meta utils, and type parsers.
- Fixed tests to use readerWriter instead of deprecated reader argument.
- Refactored usage of now-absent 'metadata', 'parameters', 'fields', 'methods', 'source', and similar members to use correct *.firstFragment.* or API alternatives.
- Cleaned up old imports and unused code.
test(generator): update generator integration tests
- Updated test calls to use correct TestReaderWriter type and bring test infra in line with current build_runner/testing API.
build: update dependencies and pubspec to support latest analyzer/build ecosystem
- Raised Dart SDK and package constraints as required for generated code and codegen plugins.
- Updated pubspecs in root/examples as needed by build warnings.
docs: add plots and assets (new files)
BREAKING CHANGE:
- Requires Dart 3.8+ and analyzer that supports element2.
- All downstream codegen/tests depending on Element API must migrate to Element2 signatures and data model.
2025-09-09 17:27:20 +03:00
build : ^3.0.0
source_gen : ^3.1.0
2025-05-23 12:21:23 +03:00
collection : ^1.18.0
2025-05-14 12:53:51 +03:00
dev_dependencies :
refactor(generator): migrate cherrypick_generator to analyzer element2 API
- Fully migrated core cherrypick_generator and submodules to new analyzer element2 system:
- Updated all GeneratorForAnnotation overrides to use Element2, ClassElement2, MethodElement2, FieldElement2 and new annotation/metadata access patterns.
- Migrated signature and bodies for helpers, parsers, annotation validators, meta utils, and type parsers.
- Fixed tests to use readerWriter instead of deprecated reader argument.
- Refactored usage of now-absent 'metadata', 'parameters', 'fields', 'methods', 'source', and similar members to use correct *.firstFragment.* or API alternatives.
- Cleaned up old imports and unused code.
test(generator): update generator integration tests
- Updated test calls to use correct TestReaderWriter type and bring test infra in line with current build_runner/testing API.
build: update dependencies and pubspec to support latest analyzer/build ecosystem
- Raised Dart SDK and package constraints as required for generated code and codegen plugins.
- Updated pubspecs in root/examples as needed by build warnings.
docs: add plots and assets (new files)
BREAKING CHANGE:
- Requires Dart 3.8+ and analyzer that supports element2.
- All downstream codegen/tests depending on Element API must migrate to Element2 signatures and data model.
2025-09-09 17:27:20 +03:00
lints : ^6.0.0
2025-09-09 12:45:12 +03:00
mockito : ^5.4.5
2025-05-16 09:30:30 +03:00
test : ^1.25.8
refactor(generator): migrate cherrypick_generator to analyzer element2 API
- Fully migrated core cherrypick_generator and submodules to new analyzer element2 system:
- Updated all GeneratorForAnnotation overrides to use Element2, ClassElement2, MethodElement2, FieldElement2 and new annotation/metadata access patterns.
- Migrated signature and bodies for helpers, parsers, annotation validators, meta utils, and type parsers.
- Fixed tests to use readerWriter instead of deprecated reader argument.
- Refactored usage of now-absent 'metadata', 'parameters', 'fields', 'methods', 'source', and similar members to use correct *.firstFragment.* or API alternatives.
- Cleaned up old imports and unused code.
test(generator): update generator integration tests
- Updated test calls to use correct TestReaderWriter type and bring test infra in line with current build_runner/testing API.
build: update dependencies and pubspec to support latest analyzer/build ecosystem
- Raised Dart SDK and package constraints as required for generated code and codegen plugins.
- Updated pubspecs in root/examples as needed by build warnings.
docs: add plots and assets (new files)
BREAKING CHANGE:
- Requires Dart 3.8+ and analyzer that supports element2.
- All downstream codegen/tests depending on Element API must migrate to Element2 signatures and data model.
2025-09-09 17:27:20 +03:00
build_test : ^3.0.0
build_runner : ^2.5.0