From 6c1ba523c64ba1544e1b5f2670158c3a56e0242a Mon Sep 17 00:00:00 2001 From: Sergey Penkovsky Date: Tue, 9 Sep 2025 12:45:12 +0300 Subject: [PATCH] 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. --- cherrypick/pubspec.yaml | 6 +++--- cherrypick_flutter/pubspec.yaml | 4 ++-- cherrypick_generator/pubspec.yaml | 4 ++-- melos.yaml | 7 +++++++ talker_cherrypick_logger/pubspec.yaml | 4 ++-- 5 files changed, 16 insertions(+), 9 deletions(-) diff --git a/cherrypick/pubspec.yaml b/cherrypick/pubspec.yaml index e6b374b..46beb11 100644 --- a/cherrypick/pubspec.yaml +++ b/cherrypick/pubspec.yaml @@ -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 diff --git a/cherrypick_flutter/pubspec.yaml b/cherrypick_flutter/pubspec.yaml index 1d2cf5c..0ebac0f 100644 --- a/cherrypick_flutter/pubspec.yaml +++ b/cherrypick_flutter/pubspec.yaml @@ -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 diff --git a/cherrypick_generator/pubspec.yaml b/cherrypick_generator/pubspec.yaml index 5d96c57..c5673c5 100644 --- a/cherrypick_generator/pubspec.yaml +++ b/cherrypick_generator/pubspec.yaml @@ -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 diff --git a/melos.yaml b/melos.yaml index a568190..91d0bf8 100644 --- a/melos.yaml +++ b/melos.yaml @@ -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 diff --git a/talker_cherrypick_logger/pubspec.yaml b/talker_cherrypick_logger/pubspec.yaml index cb3ebde..4b9ecb0 100644 --- a/talker_cherrypick_logger/pubspec.yaml +++ b/talker_cherrypick_logger/pubspec.yaml @@ -22,5 +22,5 @@ dependencies: dev_dependencies: - lints: ^5.0.0 - test: ^1.24.0 + lints: ^4.0.0 + test: ^1.25.6