fix: fix melos script

This commit is contained in:
Sergey Penkovsky
2026-04-28 23:32:28 +03:00
parent 8efdcbc918
commit 9cabf98ffb

View File

@@ -21,19 +21,19 @@ scripts:
description: | description: |
Очищает build артефакты flutter и сгенерированный код во всех пакетах. Очищает build артефакты flutter и сгенерированный код во всех пакетах.
all: # all:
steps: # steps:
- codegen # - codegen
- analyze # - analyze
- format # - format
- test # - test
description: Run all steps. # description: Run all steps.
lint:all: # lint:all:
steps: # steps:
- analyze # - analyze
- format # - format
description: Run all static analysis checks. # description: Run all static analysis checks.
analyze: analyze:
exec: dart analyze exec: dart analyze
@@ -41,11 +41,11 @@ scripts:
format: format:
exec: dart format lib exec: dart format lib
test: # test:
steps: # steps:
- test:dart # - test:dart
- test:flutter # - test:flutter
description: Run all tests. # description: Run all tests.
test:dart: test:dart:
description: "Run tests for Dart packages only" description: "Run tests for Dart packages only"
@@ -60,8 +60,10 @@ scripts:
scope: ["cherrypick_flutter"] scope: ["cherrypick_flutter"]
codegen: codegen:
run: | description: "Run build for Flutter packages only"
melos exec --scope="postly" -- dart run build_runner build --delete-conflicting-outputs exec: dart run build_runner build --delete-conflicting-outputs
packageFilters:
scope: ["postly"]
outdated: outdated:
exec: dart pub outdated exec: dart pub outdated