From 26c831ee32c0c9e9c1ce57abec937c571e30972c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 14:17:35 -0600 Subject: [PATCH 01/10] chore(deps): bump very_good_analysis from 6.0.0 to 7.0.0 in /bricks/dart_frog_new/hooks (#1650) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Arra --- bricks/dart_frog_new/hooks/analysis_options.yaml | 2 +- bricks/dart_frog_new/hooks/lib/post_gen.dart | 2 +- bricks/dart_frog_new/hooks/lib/pre_gen.dart | 2 +- bricks/dart_frog_new/hooks/pubspec.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bricks/dart_frog_new/hooks/analysis_options.yaml b/bricks/dart_frog_new/hooks/analysis_options.yaml index c753dcaa7..291e0e635 100644 --- a/bricks/dart_frog_new/hooks/analysis_options.yaml +++ b/bricks/dart_frog_new/hooks/analysis_options.yaml @@ -1,4 +1,4 @@ -include: package:very_good_analysis/analysis_options.6.0.0.yaml +include: package:very_good_analysis/analysis_options.7.0.0.yaml linter: rules: diff --git a/bricks/dart_frog_new/hooks/lib/post_gen.dart b/bricks/dart_frog_new/hooks/lib/post_gen.dart index ae7e7f734..ed7b9e8ab 100644 --- a/bricks/dart_frog_new/hooks/lib/post_gen.dart +++ b/bricks/dart_frog_new/hooks/lib/post_gen.dart @@ -28,7 +28,7 @@ Future postGen( io.File( path.join(currentDirectory.path, filename), ).renameSync('$containingDirectoryPath/$filename'); - } catch (error) { + } on Exception catch (error) { context.logger.err('$error'); return exit(1); } diff --git a/bricks/dart_frog_new/hooks/lib/pre_gen.dart b/bricks/dart_frog_new/hooks/lib/pre_gen.dart index 41e9549a1..5b83f5237 100644 --- a/bricks/dart_frog_new/hooks/lib/pre_gen.dart +++ b/bricks/dart_frog_new/hooks/lib/pre_gen.dart @@ -29,7 +29,7 @@ void preGen( final RouteConfiguration routeConfiguration; try { routeConfiguration = buildConfiguration(projectDirectory); - } catch (error) { + } on Exception catch (error) { context.logger.err('$error'); return exit(1); } diff --git a/bricks/dart_frog_new/hooks/pubspec.yaml b/bricks/dart_frog_new/hooks/pubspec.yaml index 65b2d371e..873731292 100644 --- a/bricks/dart_frog_new/hooks/pubspec.yaml +++ b/bricks/dart_frog_new/hooks/pubspec.yaml @@ -12,4 +12,4 @@ dependencies: dev_dependencies: mocktail: ^1.0.0 test: ^1.19.2 - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 From ee923f0665628c855e2abedd354590f3678b8f83 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 14:22:54 -0600 Subject: [PATCH 02/10] chore(deps): bump very_good_analysis from 6.0.0 to 7.0.0 in /examples/kitchen_sink (#1633) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Arra --- examples/kitchen_sink/analysis_options.yaml | 2 +- examples/kitchen_sink/pubspec.yaml | 2 +- examples/kitchen_sink/test/routes/photos/upload_test.dart | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/kitchen_sink/analysis_options.yaml b/examples/kitchen_sink/analysis_options.yaml index d9904545e..199f6cd04 100644 --- a/examples/kitchen_sink/analysis_options.yaml +++ b/examples/kitchen_sink/analysis_options.yaml @@ -1,4 +1,4 @@ -include: package:very_good_analysis/analysis_options.6.0.0.yaml +include: package:very_good_analysis/analysis_options.7.0.0.yaml analyzer: exclude: - build/** diff --git a/examples/kitchen_sink/pubspec.yaml b/examples/kitchen_sink/pubspec.yaml index c78a12de4..5f2a5f47e 100644 --- a/examples/kitchen_sink/pubspec.yaml +++ b/examples/kitchen_sink/pubspec.yaml @@ -13,4 +13,4 @@ dev_dependencies: http: ^1.0.0 mocktail: ^1.0.0 test: ^1.25.0 - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 diff --git a/examples/kitchen_sink/test/routes/photos/upload_test.dart b/examples/kitchen_sink/test/routes/photos/upload_test.dart index 887209dab..6dc2b9bda 100644 --- a/examples/kitchen_sink/test/routes/photos/upload_test.dart +++ b/examples/kitchen_sink/test/routes/photos/upload_test.dart @@ -1,3 +1,4 @@ +// Not needed for test file // ignore_for_file: prefer_const_constructors import 'dart:io'; From 6b7f4a66acbacf78f14a8204dafae3091d3080a4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:01:45 -0600 Subject: [PATCH 03/10] chore(deps): bump very_good_analysis from 6.0.0 to 7.0.0 in /examples/todos (#1634) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Arra --- examples/todos/analysis_options.yaml | 2 +- .../packages/in_memory_todos_data_source/analysis_options.yaml | 2 +- .../lib/in_memory_todos_data_source.dart | 2 +- .../todos/packages/in_memory_todos_data_source/pubspec.yaml | 2 +- examples/todos/packages/todos_data_source/analysis_options.yaml | 2 +- .../todos/packages/todos_data_source/lib/todos_data_source.dart | 2 +- examples/todos/packages/todos_data_source/pubspec.yaml | 2 +- .../packages/todos_data_source/test/src/models/todo_test.dart | 1 + .../todos_data_source/test/src/todos_data_source_test.dart | 1 + examples/todos/pubspec.yaml | 2 +- 10 files changed, 10 insertions(+), 8 deletions(-) diff --git a/examples/todos/analysis_options.yaml b/examples/todos/analysis_options.yaml index d9904545e..199f6cd04 100644 --- a/examples/todos/analysis_options.yaml +++ b/examples/todos/analysis_options.yaml @@ -1,4 +1,4 @@ -include: package:very_good_analysis/analysis_options.6.0.0.yaml +include: package:very_good_analysis/analysis_options.7.0.0.yaml analyzer: exclude: - build/** diff --git a/examples/todos/packages/in_memory_todos_data_source/analysis_options.yaml b/examples/todos/packages/in_memory_todos_data_source/analysis_options.yaml index bb7209144..c2f4cbbca 100644 --- a/examples/todos/packages/in_memory_todos_data_source/analysis_options.yaml +++ b/examples/todos/packages/in_memory_todos_data_source/analysis_options.yaml @@ -1 +1 @@ -include: package:very_good_analysis/analysis_options.6.0.0.yaml +include: package:very_good_analysis/analysis_options.7.0.0.yaml diff --git a/examples/todos/packages/in_memory_todos_data_source/lib/in_memory_todos_data_source.dart b/examples/todos/packages/in_memory_todos_data_source/lib/in_memory_todos_data_source.dart index 58837ea90..c1514fd36 100644 --- a/examples/todos/packages/in_memory_todos_data_source/lib/in_memory_todos_data_source.dart +++ b/examples/todos/packages/in_memory_todos_data_source/lib/in_memory_todos_data_source.dart @@ -1,5 +1,5 @@ /// An in-memory implementation of the TodosDataSource interface. -library in_memory_todos_data_source; +library; export 'package:todos_data_source/todos_data_source.dart'; diff --git a/examples/todos/packages/in_memory_todos_data_source/pubspec.yaml b/examples/todos/packages/in_memory_todos_data_source/pubspec.yaml index 0c9b56721..bf6fcf2c1 100644 --- a/examples/todos/packages/in_memory_todos_data_source/pubspec.yaml +++ b/examples/todos/packages/in_memory_todos_data_source/pubspec.yaml @@ -14,4 +14,4 @@ dependencies: dev_dependencies: mocktail: ^1.0.0 test: ^1.25.0 - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 diff --git a/examples/todos/packages/todos_data_source/analysis_options.yaml b/examples/todos/packages/todos_data_source/analysis_options.yaml index bb7209144..c2f4cbbca 100644 --- a/examples/todos/packages/todos_data_source/analysis_options.yaml +++ b/examples/todos/packages/todos_data_source/analysis_options.yaml @@ -1 +1 @@ -include: package:very_good_analysis/analysis_options.6.0.0.yaml +include: package:very_good_analysis/analysis_options.7.0.0.yaml diff --git a/examples/todos/packages/todos_data_source/lib/todos_data_source.dart b/examples/todos/packages/todos_data_source/lib/todos_data_source.dart index c179ac6e2..162ea3cb2 100644 --- a/examples/todos/packages/todos_data_source/lib/todos_data_source.dart +++ b/examples/todos/packages/todos_data_source/lib/todos_data_source.dart @@ -1,5 +1,5 @@ /// A generic interface for managing todos. -library todos_data_source; +library; export 'src/models/models.dart'; export 'src/todos_data_source.dart'; diff --git a/examples/todos/packages/todos_data_source/pubspec.yaml b/examples/todos/packages/todos_data_source/pubspec.yaml index 77900ac4a..7f6d9b41a 100644 --- a/examples/todos/packages/todos_data_source/pubspec.yaml +++ b/examples/todos/packages/todos_data_source/pubspec.yaml @@ -16,4 +16,4 @@ dev_dependencies: json_serializable: ^6.3.1 mocktail: ^1.0.0 test: ^1.25.0 - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 diff --git a/examples/todos/packages/todos_data_source/test/src/models/todo_test.dart b/examples/todos/packages/todos_data_source/test/src/models/todo_test.dart index 35de50ba6..ade9f333f 100644 --- a/examples/todos/packages/todos_data_source/test/src/models/todo_test.dart +++ b/examples/todos/packages/todos_data_source/test/src/models/todo_test.dart @@ -1,3 +1,4 @@ +// Not required for test files // ignore_for_file: avoid_redundant_argument_values import 'package:test/test.dart'; import 'package:todos_data_source/todos_data_source.dart'; diff --git a/examples/todos/packages/todos_data_source/test/src/todos_data_source_test.dart b/examples/todos/packages/todos_data_source/test/src/todos_data_source_test.dart index 8c14e01b8..520cdea03 100644 --- a/examples/todos/packages/todos_data_source/test/src/todos_data_source_test.dart +++ b/examples/todos/packages/todos_data_source/test/src/todos_data_source_test.dart @@ -1,3 +1,4 @@ +// Not required for test files // ignore_for_file: prefer_const_constructors import 'package:test/test.dart'; import 'package:todos_data_source/todos_data_source.dart'; diff --git a/examples/todos/pubspec.yaml b/examples/todos/pubspec.yaml index 6028ac3fc..08737cfff 100644 --- a/examples/todos/pubspec.yaml +++ b/examples/todos/pubspec.yaml @@ -17,4 +17,4 @@ dev_dependencies: http: ^1.0.0 mocktail: ^1.0.0 test: ^1.25.0 - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 From 2d14d98178a7081366f449177ceafded856f9ac1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:04:16 -0600 Subject: [PATCH 04/10] chore(deps): bump very_good_analysis from 6.0.0 to 7.0.0 in /examples/counter (#1646) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Arra --- examples/counter/analysis_options.yaml | 2 +- examples/counter/pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/counter/analysis_options.yaml b/examples/counter/analysis_options.yaml index d9904545e..199f6cd04 100644 --- a/examples/counter/analysis_options.yaml +++ b/examples/counter/analysis_options.yaml @@ -1,4 +1,4 @@ -include: package:very_good_analysis/analysis_options.6.0.0.yaml +include: package:very_good_analysis/analysis_options.7.0.0.yaml analyzer: exclude: - build/** diff --git a/examples/counter/pubspec.yaml b/examples/counter/pubspec.yaml index cfd1b9d7d..72d67ab88 100644 --- a/examples/counter/pubspec.yaml +++ b/examples/counter/pubspec.yaml @@ -13,4 +13,4 @@ dev_dependencies: http: ^1.0.0 mocktail: ^1.0.0 test: ^1.25.0 - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 From 11bf2035b725462f7e5b304fd05c862e2247ed1b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:06:43 -0600 Subject: [PATCH 05/10] chore(deps): bump very_good_analysis from 6.0.0 to 7.0.0 in /examples/echo (#1641) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Arra --- examples/echo/analysis_options.yaml | 2 +- examples/echo/pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/echo/analysis_options.yaml b/examples/echo/analysis_options.yaml index d9904545e..199f6cd04 100644 --- a/examples/echo/analysis_options.yaml +++ b/examples/echo/analysis_options.yaml @@ -1,4 +1,4 @@ -include: package:very_good_analysis/analysis_options.6.0.0.yaml +include: package:very_good_analysis/analysis_options.7.0.0.yaml analyzer: exclude: - build/** diff --git a/examples/echo/pubspec.yaml b/examples/echo/pubspec.yaml index 53a76e330..a843ffe5f 100644 --- a/examples/echo/pubspec.yaml +++ b/examples/echo/pubspec.yaml @@ -13,4 +13,4 @@ dev_dependencies: http: ^1.0.0 mocktail: ^1.0.0 test: ^1.25.0 - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 From f036225e0028b5d9282cb22bc14d74533cb3e25c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:25:01 -0600 Subject: [PATCH 06/10] chore(deps): bump very_good_analysis from 6.0.0 to 7.0.0 in /examples/hello_world (#1644) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Arra --- examples/hello_world/analysis_options.yaml | 2 +- examples/hello_world/pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/hello_world/analysis_options.yaml b/examples/hello_world/analysis_options.yaml index d9904545e..199f6cd04 100644 --- a/examples/hello_world/analysis_options.yaml +++ b/examples/hello_world/analysis_options.yaml @@ -1,4 +1,4 @@ -include: package:very_good_analysis/analysis_options.6.0.0.yaml +include: package:very_good_analysis/analysis_options.7.0.0.yaml analyzer: exclude: - build/** diff --git a/examples/hello_world/pubspec.yaml b/examples/hello_world/pubspec.yaml index 46f383c6e..f244143d5 100644 --- a/examples/hello_world/pubspec.yaml +++ b/examples/hello_world/pubspec.yaml @@ -13,4 +13,4 @@ dev_dependencies: http: ^1.0.0 mocktail: ^1.0.0 test: ^1.25.0 - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 From 956987a74b621b9134546306444c92fe3b5e4db2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:29:04 -0600 Subject: [PATCH 07/10] chore(deps): bump very_good_analysis from 6.0.0 to 7.0.0 in /examples/web_socket_counter (#1648) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Arra --- examples/web_socket_counter/analysis_options.yaml | 2 +- examples/web_socket_counter/pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/web_socket_counter/analysis_options.yaml b/examples/web_socket_counter/analysis_options.yaml index d9904545e..199f6cd04 100644 --- a/examples/web_socket_counter/analysis_options.yaml +++ b/examples/web_socket_counter/analysis_options.yaml @@ -1,4 +1,4 @@ -include: package:very_good_analysis/analysis_options.6.0.0.yaml +include: package:very_good_analysis/analysis_options.7.0.0.yaml analyzer: exclude: - build/** diff --git a/examples/web_socket_counter/pubspec.yaml b/examples/web_socket_counter/pubspec.yaml index 756d85a58..89749dc00 100644 --- a/examples/web_socket_counter/pubspec.yaml +++ b/examples/web_socket_counter/pubspec.yaml @@ -16,5 +16,5 @@ dev_dependencies: http: ^1.2.1 mocktail: ^1.0.0 test: ^1.25.0 - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 web_socket_client: ^0.1.0-dev.1 From c60f6b89e3beba2af9c9e587255421f2b8dd1835 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 15:56:51 -0600 Subject: [PATCH 08/10] chore(deps): bump very_good_analysis from 6.0.0 to 7.0.0 in /packages/dart_frog_web_socket (#1635) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Arra --- packages/dart_frog_web_socket/analysis_options.yaml | 2 +- packages/dart_frog_web_socket/lib/dart_frog_web_socket.dart | 2 +- packages/dart_frog_web_socket/pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/dart_frog_web_socket/analysis_options.yaml b/packages/dart_frog_web_socket/analysis_options.yaml index bb7209144..c2f4cbbca 100644 --- a/packages/dart_frog_web_socket/analysis_options.yaml +++ b/packages/dart_frog_web_socket/analysis_options.yaml @@ -1 +1 @@ -include: package:very_good_analysis/analysis_options.6.0.0.yaml +include: package:very_good_analysis/analysis_options.7.0.0.yaml diff --git a/packages/dart_frog_web_socket/lib/dart_frog_web_socket.dart b/packages/dart_frog_web_socket/lib/dart_frog_web_socket.dart index d5d6be76b..1759af324 100644 --- a/packages/dart_frog_web_socket/lib/dart_frog_web_socket.dart +++ b/packages/dart_frog_web_socket/lib/dart_frog_web_socket.dart @@ -1,5 +1,5 @@ /// WebSocket support for package:dart_frog -library dart_frog_web_socket; +library; export 'package:web_socket_channel/web_socket_channel.dart'; diff --git a/packages/dart_frog_web_socket/pubspec.yaml b/packages/dart_frog_web_socket/pubspec.yaml index 7a881a429..27c3b760b 100644 --- a/packages/dart_frog_web_socket/pubspec.yaml +++ b/packages/dart_frog_web_socket/pubspec.yaml @@ -19,4 +19,4 @@ dev_dependencies: http: ^1.0.0 mocktail: ^1.0.0 test: ^1.19.2 - very_good_analysis: ">=5.1.0 <7.0.0" + very_good_analysis: ^7.0.0 From 7b576c03bd16b876b12c6f84a4434763131f5857 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 16:00:54 -0600 Subject: [PATCH 09/10] chore(deps): bump very_good_analysis from 6.0.0 to 7.0.0 in /packages/dart_frog_gen (#1649) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Arra --- packages/dart_frog_gen/analysis_options.yaml | 2 +- packages/dart_frog_gen/lib/dart_frog_gen.dart | 2 +- packages/dart_frog_gen/pubspec.yaml | 2 +- .../dart_frog_gen/test/src/build_route_configuration_test.dart | 1 + packages/dart_frog_gen/test/src/middleware_file_test.dart | 1 + packages/dart_frog_gen/test/src/route_directory_test.dart | 1 + packages/dart_frog_gen/test/src/route_file_test.dart | 1 + 7 files changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/dart_frog_gen/analysis_options.yaml b/packages/dart_frog_gen/analysis_options.yaml index bb7209144..c2f4cbbca 100644 --- a/packages/dart_frog_gen/analysis_options.yaml +++ b/packages/dart_frog_gen/analysis_options.yaml @@ -1 +1 @@ -include: package:very_good_analysis/analysis_options.6.0.0.yaml +include: package:very_good_analysis/analysis_options.7.0.0.yaml diff --git a/packages/dart_frog_gen/lib/dart_frog_gen.dart b/packages/dart_frog_gen/lib/dart_frog_gen.dart index 9d75cd5a1..07e45cbe7 100644 --- a/packages/dart_frog_gen/lib/dart_frog_gen.dart +++ b/packages/dart_frog_gen/lib/dart_frog_gen.dart @@ -1,5 +1,5 @@ /// Code generation tooling for package:dart_frog -library dart_frog_gen; +library; export 'src/build_route_configuration.dart'; export 'src/validate_route_configuration/validate_route_configuration.dart'; diff --git a/packages/dart_frog_gen/pubspec.yaml b/packages/dart_frog_gen/pubspec.yaml index b4152d1ef..f48f9e30f 100644 --- a/packages/dart_frog_gen/pubspec.yaml +++ b/packages/dart_frog_gen/pubspec.yaml @@ -18,4 +18,4 @@ dependencies: dev_dependencies: mocktail: ^1.0.0 test: ^1.19.2 - very_good_analysis: ">=5.1.0 <7.0.0" + very_good_analysis: ^7.0.0 diff --git a/packages/dart_frog_gen/test/src/build_route_configuration_test.dart b/packages/dart_frog_gen/test/src/build_route_configuration_test.dart index b445d15bc..0ed99fb51 100644 --- a/packages/dart_frog_gen/test/src/build_route_configuration_test.dart +++ b/packages/dart_frog_gen/test/src/build_route_configuration_test.dart @@ -1,3 +1,4 @@ +// Not needed for test file // ignore_for_file: inference_failure_on_collection_literal import 'dart:io'; diff --git a/packages/dart_frog_gen/test/src/middleware_file_test.dart b/packages/dart_frog_gen/test/src/middleware_file_test.dart index 294908d58..af776885c 100644 --- a/packages/dart_frog_gen/test/src/middleware_file_test.dart +++ b/packages/dart_frog_gen/test/src/middleware_file_test.dart @@ -1,3 +1,4 @@ +// Not needed for test file // ignore_for_file: prefer_const_constructors import 'package:dart_frog_gen/dart_frog_gen.dart'; diff --git a/packages/dart_frog_gen/test/src/route_directory_test.dart b/packages/dart_frog_gen/test/src/route_directory_test.dart index 5e39d1bf5..cdb73555d 100644 --- a/packages/dart_frog_gen/test/src/route_directory_test.dart +++ b/packages/dart_frog_gen/test/src/route_directory_test.dart @@ -1,3 +1,4 @@ +// Not needed for test file // ignore_for_file: prefer_const_constructors import 'package:dart_frog_gen/dart_frog_gen.dart'; diff --git a/packages/dart_frog_gen/test/src/route_file_test.dart b/packages/dart_frog_gen/test/src/route_file_test.dart index 099af8f5a..e63e38edc 100644 --- a/packages/dart_frog_gen/test/src/route_file_test.dart +++ b/packages/dart_frog_gen/test/src/route_file_test.dart @@ -1,3 +1,4 @@ +// Not needed for test file // ignore_for_file: prefer_const_constructors import 'package:dart_frog_gen/dart_frog_gen.dart'; From fea901cce3dd95d3802bb1190c4e2548e758bbf2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 16:07:12 -0600 Subject: [PATCH 10/10] chore(deps): bump very_good_analysis from 6.0.0 to 7.0.0 in /packages/dart_frog_auth (#1647) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Arra --- packages/dart_frog_auth/analysis_options.yaml | 2 +- packages/dart_frog_auth/lib/dart_frog_auth.dart | 2 +- packages/dart_frog_auth/pubspec.yaml | 2 +- packages/dart_frog_auth/test/src/dart_frog_auth_test.dart | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/dart_frog_auth/analysis_options.yaml b/packages/dart_frog_auth/analysis_options.yaml index bb7209144..c2f4cbbca 100644 --- a/packages/dart_frog_auth/analysis_options.yaml +++ b/packages/dart_frog_auth/analysis_options.yaml @@ -1 +1 @@ -include: package:very_good_analysis/analysis_options.6.0.0.yaml +include: package:very_good_analysis/analysis_options.7.0.0.yaml diff --git a/packages/dart_frog_auth/lib/dart_frog_auth.dart b/packages/dart_frog_auth/lib/dart_frog_auth.dart index da1579278..7405bb661 100644 --- a/packages/dart_frog_auth/lib/dart_frog_auth.dart +++ b/packages/dart_frog_auth/lib/dart_frog_auth.dart @@ -1,4 +1,4 @@ /// Header auth based middlewares for Dart Frog -library dart_frog_auth; +library; export 'src/dart_frog_auth.dart'; diff --git a/packages/dart_frog_auth/pubspec.yaml b/packages/dart_frog_auth/pubspec.yaml index c155c0fa8..d53afff5f 100644 --- a/packages/dart_frog_auth/pubspec.yaml +++ b/packages/dart_frog_auth/pubspec.yaml @@ -16,4 +16,4 @@ dependencies: dev_dependencies: mocktail: ^1.0.0 test: ^1.19.2 - very_good_analysis: ">=5.1.0 <7.0.0" + very_good_analysis: ^7.0.0 diff --git a/packages/dart_frog_auth/test/src/dart_frog_auth_test.dart b/packages/dart_frog_auth/test/src/dart_frog_auth_test.dart index 5bb8478a7..4245a43b4 100644 --- a/packages/dart_frog_auth/test/src/dart_frog_auth_test.dart +++ b/packages/dart_frog_auth/test/src/dart_frog_auth_test.dart @@ -1,4 +1,6 @@ +// Not required for test files // ignore_for_file: prefer_const_constructors +// Not required for test files // ignore_for_file: deprecated_member_use_from_same_package import 'dart:io';