-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmelos.yaml
40 lines (31 loc) · 1.49 KB
/
melos.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: enmeshed
repository: https://github.com/nmshd/app
packages:
- "apps/*"
- "packages/**"
ide:
intellij:
enabled: false
command:
format:
setExitIfChanged: true
scripts:
test:
# Only run the test command when the package has a test directory
run: melos exec --dir-exists=test --flutter -- "flutter test" && melos exec --dir-exists=test --no-flutter -- "dart test"
description: Run `flutter test` in all packages
integration_test:
run: melos exec --dir-exists=integration_test --flutter -- "flutter test --dart-define-from-file=../../config.json integration_test/suite_test.dart"
description: Run `integration tests` in all packages that have the folder `integration_test``
outdated:
run: melos exec -c 1 --no-flutter -- "dart pub outdated" && melos exec -c 1 --flutter -- "flutter pub outdated"
description: Run `dart pub outdated` in all packages
check_translations:
run: melos exec --dir-exists=lib/l10n --flutter -- "dart run translations_cleaner list-unused-terms --abort-on-unused"
description: Check translations in all packages
clean_translations:
run: melos exec --dir-exists=lib/l10n --flutter -- "dart run translations_cleaner clean-translations && npx prettier -w lib/l10n/*.arb --parser json"
description: Check translations in all packages
generate_translations:
run: melos exec --dir-exists=lib/l10n --flutter -- "flutter gen-l10n && dart format lib/generated/l10n"
description: Generate translations in all packages