-
Notifications
You must be signed in to change notification settings - Fork 75
Expand file tree
/
Copy pathpubspec.yaml
More file actions
60 lines (51 loc) · 1.49 KB
/
pubspec.yaml
File metadata and controls
60 lines (51 loc) · 1.49 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
name: "flutterfire_cli_monorepo"
publish_to: none
environment:
sdk: ^3.6.0
workspace:
- packages/flutterfire_cli
- packages/flutterfire_starter/hooks
executables:
flutterfire: flutterfire_dev
dev_dependencies:
flutterfire_cli:
path: ./packages/flutterfire_cli
melos: ^7.5.1
path: ^1.8.0
yaml: ^3.1.0
melos:
name: FlutterFireCLI
repository: https://github.com/invertase/flutterfire_cli
packages:
- packages/**
- "*"
command:
version:
linkToCommits: true
workspaceChangelog: true
hooks:
preCommit: |
dart run scripts/generate_version.dart && git add packages/flutterfire_cli/lib/version.g.dart
scripts:
analyze:
run: melos exec -c 1 -- "dart analyze . --fatal-infos"
description: Run dart analyzer in a specific package.
select-package:
ignore:
- "*monorepo*"
format-check:
run: melos exec -- "find . -iname \"*.dart\" ! -name \"firebase_options.dart\" -exec dart format {} --set-exit-if-changed \;"
description: Run `dart format` checks for all packages.
select-package:
ignore:
- "flutterfire_starter"
- "*monorepo*"
test:
description: Run tests in a specific package.
run: melos exec --ignore="flutterfire_starter_hooks" --concurrency=1 -- "dart pub get && dart run test --reporter expanded"
select-package:
dir-exists:
- "test/"
scope:
- flutterfire_cli
format: dart format -o write .