-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmelos.yaml
35 lines (28 loc) · 949 Bytes
/
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
name: dart_cli_utilities
repository: https://github.com/invertase/dart-cli-utilities
packages:
- "packages/**"
command:
version:
# Generate commit links in package changelogs.
linkToCommits: true
# Only allow versioning to happen on main branch.
branch: main
workspaceChangelog: true
ide:
intellij: false
scripts:
analyze:
run: melos exec -c 1 -- "dart analyze . --fatal-infos"
description: Run dart analyzer in a specific package.
test:
description: Run tests in a specific package.
# TODO(Salakar) 'dart pub get' is necessary for the 'melos' package as we're using it on itself
run: melos exec --concurrency=1 -- "dart pub get && dart pub run test --reporter expanded"
select-package:
dir-exists:
- "test/"
format: dart format -o write .
format-check:
run: melos exec dart format . --set-exit-if-changed
description: Run `dart format` checks for all packages.