-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmelos.yaml
49 lines (46 loc) · 1.62 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
49
name: THEOliveFlutterSDK
packages:
- flutter_theolive_sdk_platform_interface
- flutter_theolive_sdk_android
- flutter_theolive_sdk_ios
- flutter_theolive_sdk
- flutter_theolive_sdk/example
command:
bootstrap:
environment:
sdk: ^3.3.0
flutter: ">=3.19.0"
version:
includeScopes: false
workspaceChangelog: false
scripts:
analyze:
# We are setting the concurrency to 1 because a higher concurrency can crash
# the analysis server on low performance machines (like GitHub Actions).
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.
update:theolive:flutter:
description: |
Updates the versions of all the THEOlive packages to the passed `VERSION` env, also committing the changes to the branch.
To run the script set the version env before the command. Example:
`VERSION=1.0.0 melos run update:theolive:flutter`
run:
melos version
--yes
--no-git-tag-version
--no-changelog
--message="version bump to $VERSION"
-V theolive_platform_interface:$VERSION
-V theolive_android:$VERSION
-V theolive_ios:$VERSION
-V theolive:$VERSION
update:theolive:native:
description: |
Updates the versions of all the THEOlive packages to the passed `VERSION` env, also committing the changes to the branch.
To run the script set the version env before the command. Example:
`melos update:theolive:native -- --all 3.13.1`
run: ./scripts/update_theolive_native.sh