From 444c0cb06a940eedbc7eb322654677cc4c14e0d5 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Fri, 21 Jun 2024 15:57:02 -0700 Subject: [PATCH 1/2] Bump to latest lints --- pkgs/intl/example/pubspec.yaml | 2 +- pkgs/intl4x/example/pubspec.yaml | 3 +-- pkgs/intl_translation/pubspec.yaml | 2 +- pkgs/messages/example_json/pubspec.yaml | 5 ++--- pkgs/messages/pubspec.yaml | 2 +- pkgs/messages_builder/pubspec.yaml | 2 +- pkgs/messages_serializer/pubspec.yaml | 2 +- pkgs/messages_shrinker/pubspec.yaml | 2 +- 8 files changed, 9 insertions(+), 11 deletions(-) diff --git a/pkgs/intl/example/pubspec.yaml b/pkgs/intl/example/pubspec.yaml index e9b66362..31e715bd 100644 --- a/pkgs/intl/example/pubspec.yaml +++ b/pkgs/intl/example/pubspec.yaml @@ -9,4 +9,4 @@ dependencies: path: ../ dev_dependencies: - lints: ^3.0.0 + lints: ^4.0.0 diff --git a/pkgs/intl4x/example/pubspec.yaml b/pkgs/intl4x/example/pubspec.yaml index 5380f1d3..8faa9896 100644 --- a/pkgs/intl4x/example/pubspec.yaml +++ b/pkgs/intl4x/example/pubspec.yaml @@ -12,5 +12,4 @@ dependencies: js: ^0.7.1 dev_dependencies: - dart_flutter_team_lints: ^1.0.0 - lints: ^2.0.0 + dart_flutter_team_lints: ^3.0.0 diff --git a/pkgs/intl_translation/pubspec.yaml b/pkgs/intl_translation/pubspec.yaml index 9a5ec0c3..6dd4cb0b 100644 --- a/pkgs/intl_translation/pubspec.yaml +++ b/pkgs/intl_translation/pubspec.yaml @@ -21,5 +21,5 @@ dependencies: path: ^1.0.0 dev_dependencies: - lints: ^3.0.0 + lints: ^4.0.0 test: ^1.0.0 diff --git a/pkgs/messages/example_json/pubspec.yaml b/pkgs/messages/example_json/pubspec.yaml index 827ea85a..00f0fac2 100644 --- a/pkgs/messages/example_json/pubspec.yaml +++ b/pkgs/messages/example_json/pubspec.yaml @@ -12,9 +12,8 @@ dependencies: dev_dependencies: build_daemon: ^4.0.0 build_runner: ^2.3.3 - build_web_compilers: ^3.2.7 - dart_flutter_team_lints: ^1.0.0 - lints: ^2.0.0 + build_web_compilers: ^4.0.0 + dart_flutter_team_lints: ^3.0.0 messages_builder: ^0.2.0 path: ^1.8.3 test: ^1.16.0 diff --git a/pkgs/messages/pubspec.yaml b/pkgs/messages/pubspec.yaml index 82e3b90e..0f753dbe 100644 --- a/pkgs/messages/pubspec.yaml +++ b/pkgs/messages/pubspec.yaml @@ -11,5 +11,5 @@ dependencies: intl: ^0.18.0 dev_dependencies: - dart_flutter_team_lints: ^2.1.1 + dart_flutter_team_lints: ^3.0.0 test: ^1.16.0 diff --git a/pkgs/messages_builder/pubspec.yaml b/pkgs/messages_builder/pubspec.yaml index e200f41e..586d4f18 100644 --- a/pkgs/messages_builder/pubspec.yaml +++ b/pkgs/messages_builder/pubspec.yaml @@ -22,5 +22,5 @@ dependencies: dev_dependencies: build_runner: ^2.0.0 build_web_compilers: ^3.2.7 - dart_flutter_team_lints: ^2.1.1 + dart_flutter_team_lints: ^3.0.0 test: ^1.16.0 diff --git a/pkgs/messages_serializer/pubspec.yaml b/pkgs/messages_serializer/pubspec.yaml index 75b011f9..d6eef7c9 100644 --- a/pkgs/messages_serializer/pubspec.yaml +++ b/pkgs/messages_serializer/pubspec.yaml @@ -11,6 +11,6 @@ dependencies: messages: ^0.2.0 dev_dependencies: - dart_flutter_team_lints: ^2.1.1 + dart_flutter_team_lints: ^3.0.0 intl: ^0.18.1 test: ^1.21.0 diff --git a/pkgs/messages_shrinker/pubspec.yaml b/pkgs/messages_shrinker/pubspec.yaml index 687776b7..fbd30360 100644 --- a/pkgs/messages_shrinker/pubspec.yaml +++ b/pkgs/messages_shrinker/pubspec.yaml @@ -16,6 +16,6 @@ dependencies: messages_serializer: ^0.2.0 dev_dependencies: - dart_flutter_team_lints: ^2.0.0 + dart_flutter_team_lints: ^3.0.0 intl: ^0.18.1 test: ^1.21.0 From 361f6e11563a48530ab950b45bf1e36d834f03f5 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Fri, 21 Jun 2024 15:59:54 -0700 Subject: [PATCH 2/2] fix lints --- .../test/message_extraction/find_messages_test.dart | 1 + pkgs/messages_serializer/lib/messages_serializer.dart | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/intl_translation/test/message_extraction/find_messages_test.dart b/pkgs/intl_translation/test/message_extraction/find_messages_test.dart index ec601dd8..f1b46db6 100644 --- a/pkgs/intl_translation/test/message_extraction/find_messages_test.dart +++ b/pkgs/intl_translation/test/message_extraction/find_messages_test.dart @@ -3,6 +3,7 @@ // BSD-style license that can be found in the LICENSE file. @Timeout(Duration(seconds: 180)) +library; import 'package:intl_translation/extract_messages.dart'; import 'package:intl_translation/src/message_rewriter.dart'; diff --git a/pkgs/messages_serializer/lib/messages_serializer.dart b/pkgs/messages_serializer/lib/messages_serializer.dart index 8f04652b..1909fd4c 100644 --- a/pkgs/messages_serializer/lib/messages_serializer.dart +++ b/pkgs/messages_serializer/lib/messages_serializer.dart @@ -5,7 +5,7 @@ /// Support for doing something awesome. /// /// More dartdocs go here. -library messages_serializer; +library; export 'src/serializer.dart'; export 'src/serializer_json.dart';