-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmelos.yaml
43 lines (35 loc) · 1021 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
35
36
37
38
39
40
41
42
43
name: ansi
repository: https://github.com/hyiso/ansi
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
packages:
- packages/*
scripts:
analyze:
exec: dart analyze . --fatal-infos
test:
exec: dart test --reporter expanded
packageFilters:
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
TERM: xterm
fix:
exec: dart fix --apply
format:
exec: dart format --fix .
format-check:
exec: dart format . --output=none --set-exit-if-changed
description: Run `dart format` checks for all packages.