diff --git a/packages/amplify_core/lib/src/category/amplify_analytics_category.dart b/packages/amplify_core/lib/src/category/amplify_analytics_category.dart index 49ddb596581..06e7a8f594a 100644 --- a/packages/amplify_core/lib/src/category/amplify_analytics_category.dart +++ b/packages/amplify_core/lib/src/category/amplify_analytics_category.dart @@ -1,7 +1,7 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 -part of amplify_interface; +part of 'amplify_categories.dart'; class AnalyticsCategory extends AmplifyCategory { @override diff --git a/packages/amplify_core/lib/src/category/amplify_api_category.dart b/packages/amplify_core/lib/src/category/amplify_api_category.dart index 832d3c93410..bb4bda93923 100644 --- a/packages/amplify_core/lib/src/category/amplify_api_category.dart +++ b/packages/amplify_core/lib/src/category/amplify_api_category.dart @@ -1,7 +1,7 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 -part of amplify_interface; +part of 'amplify_categories.dart'; class APICategory extends AmplifyCategory { @override diff --git a/packages/amplify_core/lib/src/category/amplify_datastore_category.dart b/packages/amplify_core/lib/src/category/amplify_datastore_category.dart index 76a1bacc5a7..1041db75ec5 100644 --- a/packages/amplify_core/lib/src/category/amplify_datastore_category.dart +++ b/packages/amplify_core/lib/src/category/amplify_datastore_category.dart @@ -1,7 +1,7 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 -part of amplify_interface; +part of 'amplify_categories.dart'; /// Interface for DataStore category. This expose all the APIs that /// are supported by this category's plugins. This class will accept plugins to diff --git a/packages/amplify_core/lib/src/category/amplify_notifications_category.dart b/packages/amplify_core/lib/src/category/amplify_notifications_category.dart index a4aa88c4c67..a59e2a15019 100644 --- a/packages/amplify_core/lib/src/category/amplify_notifications_category.dart +++ b/packages/amplify_core/lib/src/category/amplify_notifications_category.dart @@ -1,7 +1,7 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 -part of amplify_interface; +part of 'amplify_categories.dart'; /// {@template amplify_core.amplify_notifications_category} /// Top-Level Category for Notifications. diff --git a/packages/amplify_core/lib/src/category/amplify_push_notifications_category.dart b/packages/amplify_core/lib/src/category/amplify_push_notifications_category.dart index 1613e8e852d..ede1168dcd4 100644 --- a/packages/amplify_core/lib/src/category/amplify_push_notifications_category.dart +++ b/packages/amplify_core/lib/src/category/amplify_push_notifications_category.dart @@ -1,7 +1,7 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 -part of amplify_interface; +part of 'amplify_categories.dart'; class PushNotificationsCategory extends AmplifyCategory { diff --git a/packages/amplify_core/lib/src/category/amplify_storage_category.dart b/packages/amplify_core/lib/src/category/amplify_storage_category.dart index 2a8d158b25e..448e1dc1edf 100644 --- a/packages/amplify_core/lib/src/category/amplify_storage_category.dart +++ b/packages/amplify_core/lib/src/category/amplify_storage_category.dart @@ -1,7 +1,7 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 -part of amplify_interface; +part of 'amplify_categories.dart'; /// {@template amplify_core.amplify_storage_category} /// The Amplify Storage category provides an interface for interacting with diff --git a/packages/amplify_lints/pubspec.yaml b/packages/amplify_lints/pubspec.yaml index caec621d36d..da475ab4145 100644 --- a/packages/amplify_lints/pubspec.yaml +++ b/packages/amplify_lints/pubspec.yaml @@ -9,5 +9,5 @@ environment: sdk: ^3.0.0 dependencies: - flutter_lints: ^2.0.0 - lints: ^2.1.0 + flutter_lints: ^3.0.0 + lints: ^3.0.0 diff --git a/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/confirm_sign_in_form_field.dart b/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/confirm_sign_in_form_field.dart index 4b657669baa..409faffa3fe 100644 --- a/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/confirm_sign_in_form_field.dart +++ b/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/confirm_sign_in_form_field.dart @@ -1,7 +1,7 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 -part of authenticator.form_field; +part of '../form_field.dart'; /// {@category Prebuilt Widgets} /// {@template amplify_authenticator.confirm_sign_in_form_field} diff --git a/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/mfa_selection_form_field.dart b/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/mfa_selection_form_field.dart index c7c18fb5f7b..f5587071d05 100644 --- a/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/mfa_selection_form_field.dart +++ b/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/mfa_selection_form_field.dart @@ -1,7 +1,7 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 -part of authenticator.form_field; +part of '../form_field.dart'; /// {@category Prebuilt Widgets} /// {@template amplify_authenticator.mfa_selection_form_field} diff --git a/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart b/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart index 9d015ab46ef..d65618fa049 100644 --- a/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart +++ b/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/sign_in_form_field.dart @@ -1,7 +1,7 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 -part of authenticator.form_field; +part of '../form_field.dart'; /// {@category Prebuilt Widgets} /// {@template amplify_authenticator.sign_in_form_field} diff --git a/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/totp_setup_form_field.dart b/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/totp_setup_form_field.dart index 3faa90a16c3..a5398cf2cb1 100644 --- a/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/totp_setup_form_field.dart +++ b/packages/authenticator/amplify_authenticator/lib/src/widgets/form_fields/totp_setup_form_field.dart @@ -3,7 +3,7 @@ // ignore_for_file: use_build_context_synchronously -part of authenticator.form_field; +part of '../form_field.dart'; /// {@category Prebuilt Widgets} /// {@template amplify_authenticator.instruction_form_field} diff --git a/packages/smithy/goldens/pubspec.yaml b/packages/smithy/goldens/pubspec.yaml index f69aebcf0be..c80fb814a2c 100644 --- a/packages/smithy/goldens/pubspec.yaml +++ b/packages/smithy/goldens/pubspec.yaml @@ -26,7 +26,7 @@ dev_dependencies: args: ^2.3.1 file: ">=6.0.0 <8.0.0" glob: ^2.0.2 - lints: ^2.0.0 + lints: ^3.0.0 path: any pubspec_parse: ^1.2.0 smithy_codegen: diff --git a/packages/test/pub_server/lib/src/server.dart b/packages/test/pub_server/lib/src/server.dart index 13d86859e6f..0aa06950f64 100644 --- a/packages/test/pub_server/lib/src/server.dart +++ b/packages/test/pub_server/lib/src/server.dart @@ -294,7 +294,7 @@ class PubServer { Handler get handler => const Pipeline() .addMiddleware(_loggerMiddleware) .addMiddleware(corsMiddleware) - .addHandler(_$PubServerRouter(this)); + .addHandler(_$PubServerRouter(this).call); } /// Allows access from Web UI.