-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmelos.yaml
48 lines (41 loc) · 1.27 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
name: flutterw
repository: https://github.com/hyiso/flutterw
command:
bootstrap:
hooks:
post: dart pub get && dart run husky install
version:
# Generate commit links in package changelogs.
linkToCommits: true
includeCommitId: true
# Only allow versioning to happen on main branch.
branch: main
# Additionally build a changelog at the root of the workspace.
workspaceChangelog: true
hooks:
preCommit: dart scripts/generate_version.dart && git add packages/flutterw/lib/src/version.g.dart
packages:
- examples/*
- packages/*
scripts:
analyze:
run: dart analyze . --fatal-infos
exec:
concurrency: 1
description: Run `dart analyze` for all packages.
test:
run: dart test --reporter expanded
exec:
concurrency: 1
description: Run `dart test` for specific packages in this project.
packageFilters:
flutter: false
dirExists: test
# This tells Melos tests to ignore env variables passed to tests from `melos run test`
# as they could change the behaviour of how tests filter packages.
env:
MELOS_TEST: true
format: dart format -o write .
format-check:
exec: dart format . --output=none --set-exit-if-changed
description: Run `dart format` checks for all packages.