Skip to content

Commit 93741d7

Browse files
committed
deps [nfc]: Sort lists of dependencies alphabetically
To date we've been adding new dependencies to the end of the lists. One consequence is that adding any dependency always has a merge/rebase conflict with adding any other (unless one is a dev dependency and the other isn't), because the lines go in the same place. That's kind of annoying, so let's start keeping these in alphabetical order instead. This way also makes it a bit easier to find a given dependency. Also delete a comment the template left about how to configure lints; we've been successfully doing that when it comes up.
1 parent 6901546 commit 93741d7

File tree

1 file changed

+24
-30
lines changed

1 file changed

+24
-30
lines changed

pubspec.yaml

Lines changed: 24 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -36,34 +36,34 @@ environment:
3636
dependencies:
3737
flutter:
3838
sdk: flutter
39+
flutter_localizations:
40+
sdk: flutter
3941

40-
json_annotation: ^4.8.1
41-
http: ^1.0.0
42-
html: ^0.15.1
43-
intl: ^0.18.0
44-
share_plus_platform_interface: ^3.3.1
45-
share_plus: ^7.0.0
42+
app_settings: ^5.0.0
43+
collection: ^1.17.2
44+
convert: ^3.1.1
45+
crypto: ^3.0.3
4646
device_info_plus: ^9.0.0
47-
file_picker: ^6.0.0
4847
drift: ^2.5.0
49-
path_provider: ^2.0.13
50-
path: ^1.8.3
51-
sqlite3_flutter_libs: ^0.5.13
52-
app_settings: ^5.0.0
48+
file_picker: ^6.0.0
49+
firebase_core: ^2.14.0
50+
firebase_messaging: ^14.6.3
51+
flutter_color_models: ^1.3.3+2
52+
flutter_local_notifications: ^16.1.0
53+
flutter_local_notifications_platform_interface: ^7.0.0+1
54+
html: ^0.15.1
55+
http: ^1.0.0
5356
image_picker: ^1.0.0
57+
intl: ^0.18.0
58+
json_annotation: ^4.8.1
5459
package_info_plus: ^5.0.1
55-
collection: ^1.17.2
60+
path: ^1.8.3
61+
path_provider: ^2.0.13
62+
share_plus: ^7.0.0
63+
share_plus_platform_interface: ^3.3.1
64+
sqlite3_flutter_libs: ^0.5.13
5665
url_launcher: ^6.1.11
57-
convert: ^3.1.1
5866
url_launcher_android: ">=6.1.0"
59-
flutter_localizations:
60-
sdk: flutter
61-
firebase_messaging: ^14.6.3
62-
firebase_core: ^2.14.0
63-
flutter_local_notifications_platform_interface: ^7.0.0+1
64-
flutter_local_notifications: ^16.1.0
65-
crypto: ^3.0.3
66-
flutter_color_models: ^1.3.3+2
6767

6868
dev_dependencies:
6969
flutter_driver:
@@ -73,19 +73,13 @@ dev_dependencies:
7373
integration_test:
7474
sdk: flutter
7575

76-
# The "flutter_lints" package below contains a set of recommended lints to
77-
# encourage good coding practices. The lint set provided by the package is
78-
# activated in the `analysis_options.yaml` file located at the root of your
79-
# package. See that file for information about deactivating specific lint
80-
# rules and activating additional ones.
81-
flutter_lints: ^3.0.0
82-
83-
json_serializable: ^6.5.4
8476
build_runner: ^2.3.3
85-
test: ^1.23.1
8677
checks: ^0.3.0
8778
drift_dev: ^2.5.2
8879
fake_async: ^1.3.1
80+
flutter_lints: ^3.0.0
81+
json_serializable: ^6.5.4
82+
test: ^1.23.1
8983

9084
# For information on the generic Dart part of this file, see the
9185
# following page: https://dart.dev/tools/pub/pubspec

0 commit comments

Comments
 (0)