chore(deps): adjust dev dependencies versions for broad compatibility

- Downgraded lints and test dependencies in multiple packages to ensure consistent analyzer and test ecosystem for Dart 3.2+.
- cherrypick_generator: Bump analyzer to ^7.7.1 and mockito to ^5.4.5 for patch updates and compatibility.
- cherrypick_flutter: Lowered flutter_lints and test to versions compatible with current stable toolchain.
- talker_cherrypick_logger: Lowered lints and test for alignment with mono-repo versions.
- melos.yaml: Added clean_all script for removing generated files and build artifacts repo-wide.

No functional code changes, only dependency and tooling improvements.
This commit is contained in:
Sergey Penkovsky
2025-09-09 12:45:12 +03:00
parent 651b2a26d6
commit 6c1ba523c6
5 changed files with 16 additions and 9 deletions

View File

@@ -19,8 +19,8 @@ dependencies:
meta: ^1.3.0
dev_dependencies:
lints: ^5.0.0
test: ^1.25.15
lints: ^4.0.0
test: ^1.25.6
mockito: ^5.0.6
mockito: ^5.4.4
melos: ^6.3.2

View File

@@ -24,8 +24,8 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^5.0.0
test: ^1.25.7
flutter_lints: ^4.0.0
test: ^1.25.6
melos: ^6.3.2
# For information on the generic Dart part of this file, see the

View File

@@ -20,7 +20,7 @@ environment:
# Add regular dependencies here.
dependencies:
cherrypick_annotations: ^3.0.0
analyzer: ^7.0.0
analyzer: ^7.7.1
dart_style: ^3.0.0
build: ^2.4.1
source_gen: ^2.0.0
@@ -28,7 +28,7 @@ dependencies:
dev_dependencies:
lints: ^5.1.1
mockito: ^5.4.4
mockito: ^5.4.5
test: ^1.25.8
build_test: ^2.1.7
build_runner: ^2.4.13

View File

@@ -13,6 +13,13 @@ packages:
- examples/postly
scripts:
clean_all:
run: |
melos clean
melos exec -- rm -rf lib/**.g.dart lib/generated/
description: |
Очищает build артефакты flutter и сгенерированный код во всех пакетах.
all:
steps:
- codegen

View File

@@ -22,5 +22,5 @@ dependencies:
dev_dependencies:
lints: ^5.0.0
test: ^1.24.0
lints: ^4.0.0
test: ^1.25.6