mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-23 21:13:35 +00:00
- 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.
73 lines
1.5 KiB
YAML
73 lines
1.5 KiB
YAML
name: cherrypick_workspace
|
|
|
|
sdkPath: .fvm/flutter_sdk
|
|
|
|
packages:
|
|
- benchmark_di
|
|
- cherrypick
|
|
- cherrypick_flutter
|
|
- cherrypick_annotations
|
|
- cherrypick_generator
|
|
- talker_cherrypick_logger
|
|
- examples/client_app
|
|
- examples/postly
|
|
|
|
scripts:
|
|
clean_all:
|
|
run: |
|
|
melos clean
|
|
melos exec -- rm -rf lib/**.g.dart lib/generated/
|
|
description: |
|
|
Очищает build артефакты flutter и сгенерированный код во всех пакетах.
|
|
|
|
all:
|
|
steps:
|
|
- codegen
|
|
- analyze
|
|
- format
|
|
- test
|
|
description: Run all steps.
|
|
|
|
lint:all:
|
|
steps:
|
|
- analyze
|
|
- format
|
|
description: Run all static analysis checks.
|
|
|
|
analyze:
|
|
exec: dart analyze
|
|
|
|
format:
|
|
exec: dart format lib
|
|
|
|
test:
|
|
steps:
|
|
- test:dart
|
|
- test:flutter
|
|
description: Run all tests.
|
|
|
|
test:dart:
|
|
description: "Run tests for Dart packages only"
|
|
exec: dart test --reporter=compact
|
|
packageFilters:
|
|
scope: ["cherrypick", "cherrypick_annotations", "cherrypick_generator"]
|
|
|
|
test:flutter:
|
|
description: "Run tests for Flutter packages only"
|
|
exec: flutter test --reporter=compact
|
|
packageFilters:
|
|
scope: ["cherrypick_flutter"]
|
|
|
|
codegen:
|
|
run: |
|
|
melos exec --scope="postly" -- dart run build_runner build --delete-conflicting-outputs
|
|
|
|
outdated:
|
|
exec: dart pub outdated
|
|
|
|
upgrade:
|
|
exec: dart pub upgrade --major-versions
|
|
|
|
drop:
|
|
exec: flutter clean
|