-
Notifications
You must be signed in to change notification settings - Fork 384
Expand file tree
/
Copy pathmelos.yaml
More file actions
260 lines (232 loc) · 8.58 KB
/
Copy pathmelos.yaml
File metadata and controls
260 lines (232 loc) · 8.58 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
name: stream_chat_flutter_workspace
repository: https://github.com/GetStream/stream-chat-flutter
packages:
- docs/*
- sample_app
- packages/*
- packages/*/example
categories:
docs:
- docs/*
sample_app:
- sample_app
packages:
- packages/*
examples:
- packages/*/example
command:
bootstrap:
# Run `pub get` sequentially to avoid races on the shared git-dep cache.
runPubGetInParallel: false
# Dart and Flutter environment used in the project.
environment:
sdk: ^3.11.0
# We are not using carat '^' syntax here because flutter don't follow semantic versioning.
flutter: ">=3.41.0"
# List of all the dependencies used in the project.
dependencies:
async: ^2.13.1
avatar_glow: ^3.0.0
cached_network_image: ^3.4.1
chewie: ^1.13.1
clock: ^1.1.2
collection: ^1.19.1
connectivity_plus: ^7.1.1
cupertino_icons: ^1.0.3
desktop_drop: ^0.7.1
device_info_plus: '>=12.4.0 <14.0.0'
device_preview: ^1.2.0
diacritic: ^0.1.6
dio: ^5.11.0
drift: ^2.33.0
equatable: ^2.0.8
ezanimation: ^0.6.0
firebase_core: ^4.0.0
# Capped below 5.2.5 / 16.4.2: those releases import `FirebasePlugin` from
# firebase_core_platform_interface, which no longer exposes it. Remove the
# upper bounds once FlutterFire ships a fixed release.
firebase_crashlytics: '>=5.2.0 <5.2.5'
firebase_messaging: '>=16.0.0 <16.4.2'
file_picker: ^11.0.0
file_selector: ^1.1.0
app_badge_plus: ^1.3.2
flutter_local_notifications: ^21.0.0
flutter_map: ^8.1.1
flutter_map_animations: ^0.9.0
flutter_markdown: ^0.7.7+1
flutter_portal: ^1.1.4
flutter_secure_storage: ^10.3.1
flutter_slidable: ^3.1.1
flutter_svg: ^2.3.0
freezed_annotation: ^3.0.0
gal: ^2.3.2
geolocator: ^13.0.0
go_router: ^14.6.2
http_parser: ^4.1.2
image_picker: ^1.2.2
image_size_getter: ^2.4.1
intl: ^0.20.2
jiffy: ^6.4.5
jose: ^0.3.5+1
json_annotation: ^4.11.0
just_audio: ^0.10.5
latlong2: ^0.9.1
logging: ^1.3.0
lottie: ^3.3.3
marionette_flutter: ^0.6.0
media_kit: ^1.2.6
media_kit_libs_video: ^1.0.6
media_kit_video: ^2.0.1
meta: ^1.9.1
mime: ^2.0.0
package_info_plus: ">=9.0.1 <11.0.0"
path: ^1.9.1
path_provider: ^2.1.5
path_provider_android: ">=2.2.5 <2.3.0"
photo_manager: ^3.9.0
photo_view: ^0.15.0
rate_limiter: ^1.0.0
record: ^6.2.0
responsive_builder: ^0.7.0
rxdart: ^0.28.0
share_plus: ">=12.0.2 <14.0.0"
shimmer: ^3.0.0
sqlite3_flutter_libs: ^0.5.26
stream_chat: ^10.2.0
stream_chat_flutter: ^10.2.0
stream_chat_flutter_core: ^10.2.0
stream_chat_localizations: ^10.2.0
stream_chat_persistence: ^10.2.0
streaming_shared_preferences: ^2.0.0
svg_icon_widget: ^0.0.1
stream_core_flutter:
git:
url: https://github.com/GetStream/stream-core-flutter.git
ref: 3ba1a36b6a3d9d3a194ccb8f0deaf4d69c5842eb
path: packages/stream_core_flutter
stream_thumbnail: ^0.1.0
synchronized: ^3.4.0
thumblr: ^0.0.4
url_launcher: ^6.3.2
uuid: ^4.5.3
video_player: ^2.11.1
web_socket_channel: ^3.0.3
# List of all the dev_dependencies used in the project.
dev_dependencies:
alchemist: ^0.14.0
build_runner: ^2.15.0
emojis: ^0.9.9
substring_highlight: ^1.0.33
connectivity_plus_platform_interface: ^2.1.0
drift_dev: ^2.33.0
fake_async: ^1.3.3
faker_dart: ^0.2.3
flutter_launcher_icons: ^0.14.4
freezed: ^3.0.0
json_serializable: ^6.13.2
mocktail: ^1.0.5
path: ^1.9.1
path_provider_platform_interface: ^2.1.2
plugin_platform_interface: ^2.1.8
test: ^1.31.1
theme_extensions_builder: ^7.3.0
url_launcher_platform_interface: ^2.3.2
hooks:
# Updates the version.dart file after bootstrapping with the current version from pubspec.yaml
post: melos run version:update
scripts:
postclean:
run: melos run clean:flutter --no-select
description: Runs "flutter clean" in all Flutter packages
lint:all:
run: melos run analyze && melos run format
description: Run all static analysis checks
analyze:all:
run: melos run analyze && melos run metrics
description: Run all
analyze:
run: |
melos exec -c 5 --ignore="*example*" -- \
dart analyze --fatal-infos .
description: |
Run `dart analyze` in all packages.
- Note: you can also rely on your IDEs Dart Analysis / Issues window.
format:
run: dart format --set-exit-if-changed .
description: |
Run `dart format --set-exit-if-changed .` in all packages.
metrics:
run: |
melos exec -c 1 --ignore="*example*" -- \
flutter pub run dart_code_metrics:metrics analyze lib
description: |
Run `dart_code_metrics` in all packages.
- Note: you can also rely on your IDEs Dart Analysis / Issues window.
lint:pub:
run: melos exec -c 1 --no-published --no-private --order-dependents -- "flutter pub publish -n"
description: Dry run `pub publish` in all packages.
generate:all:
run: melos run generate:dart && melos run generate:flutter
description: Build all generated files for Dart & Flutter packages in this project.
generate:dart:
run: melos exec -c 1 --depends-on="build_runner" --no-flutter -- "dart run build_runner build --delete-conflicting-outputs"
description: Build all generated files for Dart packages in this project.
generate:flutter:
run: melos exec -c 1 --depends-on="build_runner" --flutter -- "flutter pub run build_runner build --delete-conflicting-outputs"
description: Build all generated files for Flutter packages in this project.
version:update:
run: dart tools/generate_version.dart
description: Updates the version.dart file in stream_chat package based on pubspec.yaml version.
test:all:
run: melos run test:dart --no-select && melos run test:flutter --no-select
description: Run all Dart & Flutter tests in this project.
test:dart:
run: melos exec -c 1 --fail-fast -- "flutter test --coverage"
description: Run Dart tests for a specific package in this project.
packageFilters:
flutter: false
dirExists: test
test:flutter:
# `docs_*` are excluded — their goldens commit only the platform/macOS
# variant and would fail on Linux CI runners. They're regenerated by
# `update:goldens:docs` on a dedicated macOS workflow instead.
run: melos exec -c 4 --fail-fast --ignore="docs_*" -- "flutter test --coverage"
description: Run Flutter tests for a specific package in this project.
packageFilters:
flutter: true
dirExists: test
e2e:run:
run: melos exec -c 1 --scope="sample_app" -- "flutter test integration_test/"
description: >
Run the integration_test e2e suite. Start the mock-server driver first
(`fastlane start_mock_server`), or use the `run_e2e_test` Fastlane lane to
orchestrate the mock server and tests in one step.
update:goldens:
run: melos exec -c 1 --depends-on="alchemist" -- "flutter test --tags golden --update-goldens"
description: Update golden files for all packages in this project.
update:goldens:sdk:
run: melos exec -c 1 --depends-on="alchemist" --ignore="docs_*" -- "flutter test --tags golden --update-goldens"
description: |
Update CI/obscured goldens for SDK packages (excludes docs_*).
Intended to run on Linux — the committed goldens live under
`goldens/ci/` and use obscured text for cross-host stability.
update:goldens:docs:
run: melos exec -c 1 --scope="docs_*" -- "flutter test --tags golden --update-goldens"
description: |
Update visual goldens for docs packages.
Intended to run on macOS — the committed goldens live under
`goldens/macos/` and use authentic San Francisco rendering.
clean:flutter:
run: melos exec -c 4 --fail-fast -- "flutter clean"
description: Run Flutter clean for a specific package in this project.
packageFilters:
flutter: true
coverage:ignore-file:
run: |
melos exec -c 5 --fail-fast -- "\$MELOS_ROOT_PATH/.github/workflows/scripts/remove-from-coverage.sh"
description: Removes all the ignored files from the coverage report.
packageFilters:
dirExists: coverage
release:pub:
run: melos exec -c 1 --no-published --no-private --order-dependents -- "flutter pub publish -f"
description: Publish all packages to pub.dev.