-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpubspec.yaml
More file actions
81 lines (75 loc) · 2 KB
/
pubspec.yaml
File metadata and controls
81 lines (75 loc) · 2 KB
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
73
74
75
76
77
78
79
80
81
name: ap_common_workspace
repository: https://github.com/abc873693/ap_common
publish_to: none
environment:
sdk: ^3.9.0
flutter: ">=3.24.0 <4.0.0"
workspace:
- packages/ap_common_core
- packages/ap_common_flutter_core
- packages/ap_common_flutter_platform
- packages/ap_common_flutter_ui
- packages/ap_common
- packages/ap_common_announcement_ui
- packages/ap_common_plugin
- packages/ap_common_firebase
- apps/example
dev_dependencies:
melos: ^7.5.0
lint: ^2.1.2
melos:
sdkPath: .fvm/flutter_sdk
command:
version:
fetchTags: false
linkToCommits: true
branch: master
workspaceChangelog: true
scripts:
analyze:
exec: dart analyze .
clean:
run: melos clean
release:
run: melos version --yes
description: Prepare a production release (merges from release branch to master).
release:dev:
run: melos version --prerelease --yes
description: Prepare a development/prerelease.
fix:
run: |
melos exec -c 1 -- \
dart fix --apply
description: |
Run `dart fix --apply` in all packages.
format:
run: |
melos exec -c 1 -- \
dart format .
description: |
Run `dart format` in all packages.
format-check:
run: |
melos exec -c 1 -- \
dart format . --set-exit-if-changed --output=none
description: |
Run `dart format` check in all packages.
analyze-ci:
run: |
melos exec -c 1 -- \
dart analyze . --fatal-infos
description: |
Run `dart analyze` in all packages.
- Note: you can also rely on your IDEs Dart Analysis / Issues window.
test:
run: |
melos exec -c 6 --fail-fast -- \
"flutter test"
description: Run `flutter test` for a specific package.
packageFilters:
dirExists:
- test
pub-check:
run: |
melos exec -c 1 --no-private --ignore="*example*" -- \
dart pub publish --dry-run