-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathmelos.yaml
72 lines (64 loc) · 1.51 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
68
69
70
71
72
name: djangoflow
repository: https://github.com/djangoflow/flutter-djangoflow
packages:
- packages/*djangoflow*
- packages/**/*djangoflow*
ignore:
- "packages/*example*"
- "packages/**/*example*"
command:
version:
linkToCommits: true
workspaceChangelog: true
branch: main
updateGitTagRefs: true
bootstrap:
runPubGetInParallel: false
hooks:
post: melos run generate:dart
scripts:
flutter:upgrade:
description: |
Upgrades all packages (Flutter).
run: flutter pub upgrade
exec:
concurrency: 1
packageFilters:
scope: "*djangoflow*"
ignore:
- "*example*"
- "*djangoflow_openapi*"
flutter: true
flutter:upgrade:major:
description: |
Upgrades all packages with major versions (Flutter).
run: flutter pub upgrade --major-versions
exec:
concurrency: 1
packageFilters:
scope: "*djangoflow*"
ignore:
- "*example*"
- "*djangoflow_openapi*"
flutter: true
format:
run: dart format .
description: Formats the code of all packages (Dart).
exec:
concurrency: 1
failFast: true
packageFilters:
ignore:
- "*djangoflow_openapi*"
generate:dart:
run: dart run build_runner build --delete-conflicting-outputs
exec:
concurrency: 1
failFast: true
description: Generate build_runner files
packageFilters:
dependsOn: "build_runner"
flutter: true
scope: "*djangoflow*"
ignore:
- "*/example/*"