/
melos.yaml
67 lines (57 loc) · 1.57 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: template
sdkPath: .fvm/flutter_sdk
packages:
- apps/*
- packages/cores/*
- packages/features/*
command:
bootstrap:
environment:
sdk: ^3.3.1
flutter: ^3.19.3
dependencies:
hooks_riverpod: ^2.5.1
flutter_hooks: ^0.20.5
flutter_riverpod: ^2.5.1
freezed_annotation: ^2.4.1
json_annotation: ^4.8.1
riverpod_annotation: ^2.3.5
dev_dependencies:
build_runner: ^2.4.7
custom_lint: ^0.6.4
freezed: ^2.4.7
json_serializable: ^6.7.1
riverpod_generator: ^2.4.0
riverpod_lint: ^2.3.10
yumemi_lints: ^2.0.0
scripts:
report_test:
exec: flutter test --no-pub --machine > test_report.log
packageFilters:
flutter: true
format:
exec: bash "$MELOS_ROOT_PATH/scripts/format.sh"
check_format:ci:
exec: bash "$MELOS_ROOT_PATH/scripts/check-format-ci.sh"
report_custom_lint:ci:
exec: bash "$MELOS_ROOT_PATH/scripts/report-custom-lint-ci.sh"
packageFilters:
dependsOn: custom_lint
regenerate_code: melos run regenerate_by_using_gen_l10n && melos run regenerate_by_using_build_runner
regenerate_by_using_build_runner:
run: dart run build_runner build -d
exec:
orderDependents: true
packageFilters:
dependsOn: build_runner
regenerate_by_using_gen_l10n:
run: flutter gen-l10n
exec:
orderDependents: true
packageFilters:
dependsOn: flutter_localizations
ide:
intellij:
# Disabling IntelliJ's automatic configuration.
# This is to support different build configurations for environments.
enabled: false