From 50b6b0a73ded294e26deac994df176d76e28f4e5 Mon Sep 17 00:00:00 2001 From: VGV Bot Date: Mon, 23 Dec 2024 08:03:48 +0000 Subject: [PATCH 1/7] chore: tighten template dependencies --- .../__brick__/{{project_name.snakeCase()}}/pubspec.yaml | 2 +- .../__brick__/{{project_name.snakeCase()}}/pubspec.yaml | 6 +++--- .../__brick__/{{project_name.snakeCase()}}/pubspec.yaml | 4 ++-- .../__brick__/{{project_name.snakeCase()}}/pubspec.yaml | 2 +- .../__brick__/{{project_name.snakeCase()}}/pubspec.yaml | 2 +- .../android}}/pubspec.yaml | 2 +- .../ios}}/pubspec.yaml | 2 +- .../linux}}/pubspec.yaml | 2 +- .../macos}}/pubspec.yaml | 2 +- .../web}}/pubspec.yaml | 2 +- .../windows}}/pubspec.yaml | 2 +- .../example/actions/check_platform_name/pubspec.yaml | 2 +- .../{{project_name.snakeCase()}}/example/pubspec.yaml | 2 +- .../{{project_name.snakeCase()}}/pubspec.yaml | 2 +- .../pubspec.yaml | 2 +- .../__brick__/{{project_name.snakeCase()}}/pubspec.yaml | 2 +- 16 files changed, 19 insertions(+), 19 deletions(-) diff --git a/very_good_core/__brick__/{{project_name.snakeCase()}}/pubspec.yaml b/very_good_core/__brick__/{{project_name.snakeCase()}}/pubspec.yaml index eb7d666..5e13c99 100644 --- a/very_good_core/__brick__/{{project_name.snakeCase()}}/pubspec.yaml +++ b/very_good_core/__brick__/{{project_name.snakeCase()}}/pubspec.yaml @@ -20,7 +20,7 @@ dev_dependencies: flutter_test: sdk: flutter mocktail: ^1.0.4 - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 flutter: uses-material-design: true diff --git a/very_good_dart_cli/__brick__/{{project_name.snakeCase()}}/pubspec.yaml b/very_good_dart_cli/__brick__/{{project_name.snakeCase()}}/pubspec.yaml index d6dcdda..b61a6d1 100644 --- a/very_good_dart_cli/__brick__/{{project_name.snakeCase()}}/pubspec.yaml +++ b/very_good_dart_cli/__brick__/{{project_name.snakeCase()}}/pubspec.yaml @@ -13,12 +13,12 @@ dependencies: pub_updater: ^0.5.0 dev_dependencies: - build_runner: ^2.4.13 + build_runner: ^2.4.14 build_verify: ^3.1.0 build_version: ^2.1.1 mocktail: ^1.0.4 - test: ^1.25.12 - very_good_analysis: ^6.0.0 + test: ^1.25.14 + very_good_analysis: ^7.0.0 executables: {{executable_name.snakeCase()}}: diff --git a/very_good_dart_package/__brick__/{{project_name.snakeCase()}}/pubspec.yaml b/very_good_dart_package/__brick__/{{project_name.snakeCase()}}/pubspec.yaml index 2300b94..e5bccf6 100644 --- a/very_good_dart_package/__brick__/{{project_name.snakeCase()}}/pubspec.yaml +++ b/very_good_dart_package/__brick__/{{project_name.snakeCase()}}/pubspec.yaml @@ -8,5 +8,5 @@ environment: dev_dependencies: mocktail: ^1.0.4 - test: ^1.25.12 - very_good_analysis: ^6.0.0 + test: ^1.25.14 + very_good_analysis: ^7.0.0 diff --git a/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/pubspec.yaml b/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/pubspec.yaml index 41d419a..9f65cfb 100644 --- a/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/pubspec.yaml +++ b/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/pubspec.yaml @@ -28,7 +28,7 @@ dev_dependencies: sdk: flutter mockingjay: ^0.6.0 mocktail: ^1.0.4 - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 flutter: uses-material-design: true diff --git a/very_good_flutter_package/__brick__/{{project_name.snakeCase()}}/pubspec.yaml b/very_good_flutter_package/__brick__/{{project_name.snakeCase()}}/pubspec.yaml index 32f142a..82e25ba 100644 --- a/very_good_flutter_package/__brick__/{{project_name.snakeCase()}}/pubspec.yaml +++ b/very_good_flutter_package/__brick__/{{project_name.snakeCase()}}/pubspec.yaml @@ -15,4 +15,4 @@ dev_dependencies: flutter_test: sdk: flutter mocktail: ^1.0.4 - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 diff --git a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/pubspec.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/pubspec.yaml index 9a41da9..05e348e 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/pubspec.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/pubspec.yaml @@ -25,4 +25,4 @@ dev_dependencies: flutter_test: sdk: flutter plugin_platform_interface: ^2.1.8 - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 diff --git a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/pubspec.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/pubspec.yaml index f185485..3dcf985 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/pubspec.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/pubspec.yaml @@ -24,4 +24,4 @@ dev_dependencies: flutter_test: sdk: flutter plugin_platform_interface: ^2.1.8 - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 diff --git a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/pubspec.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/pubspec.yaml index 026433c..b087270 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/pubspec.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/pubspec.yaml @@ -23,4 +23,4 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 diff --git a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/pubspec.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/pubspec.yaml index a5caa44..d3e572e 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/pubspec.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/pubspec.yaml @@ -23,4 +23,4 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 diff --git a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/pubspec.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/pubspec.yaml index ab7bcf4..f38861f 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/pubspec.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/pubspec.yaml @@ -25,4 +25,4 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 diff --git a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/pubspec.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/pubspec.yaml index 026245a..d72da5a 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/pubspec.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/pubspec.yaml @@ -23,4 +23,4 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 diff --git a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/example/actions/check_platform_name/pubspec.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/example/actions/check_platform_name/pubspec.yaml index 19d4618..f1f8683 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/example/actions/check_platform_name/pubspec.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/example/actions/check_platform_name/pubspec.yaml @@ -14,4 +14,4 @@ dev_dependencies: flutter_test: sdk: flutter mocktail: ^1.0.4 - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 diff --git a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/example/pubspec.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/example/pubspec.yaml index 3793921..04a510b 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/example/pubspec.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/example/pubspec.yaml @@ -24,7 +24,7 @@ dev_dependencies: sdk: flutter integration_test: sdk: flutter - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 flutter: uses-material-design: true diff --git a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/pubspec.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/pubspec.yaml index d45b918..b8142b5 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/pubspec.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/pubspec.yaml @@ -18,4 +18,4 @@ dev_dependencies: sdk: flutter mocktail: ^1.0.4 plugin_platform_interface: ^2.1.8 - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 diff --git a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}_platform_interface/pubspec.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}_platform_interface/pubspec.yaml index b5b24c5..f689bfc 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}_platform_interface/pubspec.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}_platform_interface/pubspec.yaml @@ -14,4 +14,4 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 diff --git a/very_good_wear_app/__brick__/{{project_name.snakeCase()}}/pubspec.yaml b/very_good_wear_app/__brick__/{{project_name.snakeCase()}}/pubspec.yaml index 8b9a59b..09b9b7d 100644 --- a/very_good_wear_app/__brick__/{{project_name.snakeCase()}}/pubspec.yaml +++ b/very_good_wear_app/__brick__/{{project_name.snakeCase()}}/pubspec.yaml @@ -21,7 +21,7 @@ dev_dependencies: flutter_test: sdk: flutter mocktail: ^1.0.4 - very_good_analysis: ^6.0.0 + very_good_analysis: ^7.0.0 flutter: uses-material-design: true From 049bc76398f09db29a44a3fd0fed427a5fce240b Mon Sep 17 00:00:00 2001 From: Tom Arra Date: Mon, 23 Dec 2024 08:30:04 -0600 Subject: [PATCH 2/7] update analysis files --- .../{{project_name.snakeCase()}}/analysis_options.yaml | 2 +- .../{{project_name.snakeCase()}}/analysis_options.yaml | 2 +- .../{{project_name.snakeCase()}}/analysis_options.yaml | 2 +- .../{{project_name.snakeCase()}}/analysis_options.yaml | 2 +- very_good_flame_game/hooks/analysis_options.yaml | 2 +- .../{{project_name.snakeCase()}}/analysis_options.yaml | 2 +- .../android}}/analysis_options.yaml | 2 +- .../ios}}/analysis_options.yaml | 2 +- .../linux}}/analysis_options.yaml | 2 +- .../macos}}/analysis_options.yaml | 2 +- .../web}}/analysis_options.yaml | 2 +- .../windows}}/analysis_options.yaml | 2 +- .../{{project_name.snakeCase()}}/analysis_options.yaml | 2 +- .../example/actions/check_platform_name/analysis_options.yaml | 2 +- .../{{project_name.snakeCase()}}/example/analysis_options.yaml | 2 +- .../analysis_options.yaml | 2 +- .../{{project_name.snakeCase()}}/analysis_options.yaml | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/very_good_core/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml b/very_good_core/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml index 3a6b5d4..c59316b 100644 --- a/very_good_core/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml +++ b/very_good_core/__brick__/{{project_name.snakeCase()}}/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: public_member_api_docs: false diff --git a/very_good_dart_cli/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml b/very_good_dart_cli/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml index 3a6b5d4..c59316b 100644 --- a/very_good_dart_cli/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml +++ b/very_good_dart_cli/__brick__/{{project_name.snakeCase()}}/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: public_member_api_docs: false diff --git a/very_good_dart_package/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml b/very_good_dart_package/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml index bb72091..c2f4cbb 100644 --- a/very_good_dart_package/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml +++ b/very_good_dart_package/__brick__/{{project_name.snakeCase()}}/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/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml b/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml index 20fb511..584716a 100644 --- a/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml +++ b/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/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: - lib/gen/* diff --git a/very_good_flame_game/hooks/analysis_options.yaml b/very_good_flame_game/hooks/analysis_options.yaml index bb72091..c2f4cbb 100644 --- a/very_good_flame_game/hooks/analysis_options.yaml +++ b/very_good_flame_game/hooks/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/very_good_flutter_package/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml b/very_good_flutter_package/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml index bb72091..c2f4cbb 100644 --- a/very_good_flutter_package/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml +++ b/very_good_flutter_package/__brick__/{{project_name.snakeCase()}}/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/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/analysis_options.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/analysis_options.yaml index bb72091..c2f4cbb 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/analysis_options.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#android}}{{project_name.snakeCase()}}_android{{/android}}/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/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/analysis_options.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/analysis_options.yaml index bb72091..c2f4cbb 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/analysis_options.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#ios}}{{project_name.snakeCase()}}_ios{{/ios}}/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/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/analysis_options.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/analysis_options.yaml index bb72091..c2f4cbb 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/analysis_options.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#linux}}{{project_name.snakeCase()}}_linux{{/linux}}/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/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/analysis_options.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/analysis_options.yaml index bb72091..c2f4cbb 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/analysis_options.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#macos}}{{project_name.snakeCase()}}_macos{{/macos}}/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/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/analysis_options.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/analysis_options.yaml index bb72091..c2f4cbb 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/analysis_options.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#web}}{{project_name.snakeCase()}}_web{{/web}}/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/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/analysis_options.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/analysis_options.yaml index bb72091..c2f4cbb 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/analysis_options.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{#windows}}{{project_name.snakeCase()}}_windows{{/windows}}/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/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/analysis_options.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/analysis_options.yaml index bb72091..c2f4cbb 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/analysis_options.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/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/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/example/actions/check_platform_name/analysis_options.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/example/actions/check_platform_name/analysis_options.yaml index bb72091..c2f4cbb 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/example/actions/check_platform_name/analysis_options.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/example/actions/check_platform_name/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/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/example/analysis_options.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/example/analysis_options.yaml index 3a6b5d4..c59316b 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/example/analysis_options.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}/example/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: public_member_api_docs: false diff --git a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}_platform_interface/analysis_options.yaml b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}_platform_interface/analysis_options.yaml index bb72091..c2f4cbb 100644 --- a/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}_platform_interface/analysis_options.yaml +++ b/very_good_flutter_plugin/__brick__/{{project_name.snakeCase()}}/{{project_name.snakeCase()}}_platform_interface/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/very_good_wear_app/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml b/very_good_wear_app/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml index 3a6b5d4..c59316b 100644 --- a/very_good_wear_app/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml +++ b/very_good_wear_app/__brick__/{{project_name.snakeCase()}}/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: public_member_api_docs: false From 0c123b3fac548aede09a053b005e68c6f357ea63 Mon Sep 17 00:00:00 2001 From: Tom Arra Date: Mon, 23 Dec 2024 08:51:02 -0600 Subject: [PATCH 3/7] fixing analysis errors in vg dart cli --- .../{{project_name.snakeCase()}}/lib/src/command_runner.dart | 2 +- .../lib/src/commands/update_command.dart | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/very_good_dart_cli/__brick__/{{project_name.snakeCase()}}/lib/src/command_runner.dart b/very_good_dart_cli/__brick__/{{project_name.snakeCase()}}/lib/src/command_runner.dart index 1341b31..dc3f1eb 100644 --- a/very_good_dart_cli/__brick__/{{project_name.snakeCase()}}/lib/src/command_runner.dart +++ b/very_good_dart_cli/__brick__/{{project_name.snakeCase()}}/lib/src/command_runner.dart @@ -139,6 +139,6 @@ ${lightYellow.wrap('Update available!')} ${lightCyan.wrap(packageVersion)} \u219 Run ${lightCyan.wrap('$executableName update')} to update''', ); } - } catch (_) {} + } on Exception catch (_) {} } } diff --git a/very_good_dart_cli/__brick__/{{project_name.snakeCase()}}/lib/src/commands/update_command.dart b/very_good_dart_cli/__brick__/{{project_name.snakeCase()}}/lib/src/commands/update_command.dart index 635c776..f260c24 100644 --- a/very_good_dart_cli/__brick__/{{project_name.snakeCase()}}/lib/src/commands/update_command.dart +++ b/very_good_dart_cli/__brick__/{{project_name.snakeCase()}}/lib/src/commands/update_command.dart @@ -34,7 +34,7 @@ class UpdateCommand extends Command { late final String latestVersion; try { latestVersion = await _pubUpdater.getLatestVersion(packageName); - } catch (error) { + } on Exception catch (error) { updateCheckProgress.fail(); _logger.err('$error'); return ExitCode.software.code; @@ -55,7 +55,7 @@ class UpdateCommand extends Command { packageName: packageName, versionConstraint: latestVersion, ); - } catch (error) { + } on Exception catch (error) { updateProgress.fail(); _logger.err('$error'); return ExitCode.software.code; From ac93fd59e3ddbef91f2b853bda2d5e4cbadc840a Mon Sep 17 00:00:00 2001 From: Tom Arra Date: Mon, 23 Dec 2024 08:55:22 -0600 Subject: [PATCH 4/7] fix analysis for dart package --- .../test/src/{{project_name.snakeCase()}}_test.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/very_good_dart_package/__brick__/{{project_name.snakeCase()}}/test/src/{{project_name.snakeCase()}}_test.dart b/very_good_dart_package/__brick__/{{project_name.snakeCase()}}/test/src/{{project_name.snakeCase()}}_test.dart index 2405481..b20d643 100644 --- a/very_good_dart_package/__brick__/{{project_name.snakeCase()}}/test/src/{{project_name.snakeCase()}}_test.dart +++ b/very_good_dart_package/__brick__/{{project_name.snakeCase()}}/test/src/{{project_name.snakeCase()}}_test.dart @@ -1,3 +1,4 @@ +// Not required for test files // ignore_for_file: prefer_const_constructors import 'package:test/test.dart'; import 'package:{{project_name.snakeCase()}}/{{project_name.snakeCase()}}.dart'; From d5f14894b151623d281f339ec88812d612ae093e Mon Sep 17 00:00:00 2001 From: Tom Arra Date: Mon, 23 Dec 2024 09:23:19 -0600 Subject: [PATCH 5/7] fix analysis errors in flame game --- .../test/game/components/counter_component_test.dart | 1 + .../game/entities/unicorn/behaviors/tapping_behavior_test.dart | 1 + .../test/game/entities/unicorn/unicorn_test.dart | 1 + .../test/game/view/game_page_test.dart | 1 + .../test/loading/view/loading_page_test.dart | 1 + 5 files changed, 5 insertions(+) diff --git a/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/game/components/counter_component_test.dart b/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/game/components/counter_component_test.dart index 3ac6508..eae2e8b 100644 --- a/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/game/components/counter_component_test.dart +++ b/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/game/components/counter_component_test.dart @@ -1,3 +1,4 @@ +// Make test files more explicit rather then collapsing calls // ignore_for_file: cascade_invocations import 'package:audioplayers/audioplayers.dart'; diff --git a/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/game/entities/unicorn/behaviors/tapping_behavior_test.dart b/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/game/entities/unicorn/behaviors/tapping_behavior_test.dart index e9f58fe..1fc8df6 100644 --- a/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/game/entities/unicorn/behaviors/tapping_behavior_test.dart +++ b/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/game/entities/unicorn/behaviors/tapping_behavior_test.dart @@ -1,3 +1,4 @@ +// Make test files more explicit rather then collapsing calls // ignore_for_file: cascade_invocations import 'dart:ui'; diff --git a/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/game/entities/unicorn/unicorn_test.dart b/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/game/entities/unicorn/unicorn_test.dart index 85ed3f0..f6155bd 100644 --- a/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/game/entities/unicorn/unicorn_test.dart +++ b/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/game/entities/unicorn/unicorn_test.dart @@ -1,3 +1,4 @@ +// Make test files more explicit rather then collapsing calls // ignore_for_file: cascade_invocations import 'package:audioplayers/audioplayers.dart'; diff --git a/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/game/view/game_page_test.dart b/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/game/view/game_page_test.dart index 1882ab9..7ea3153 100644 --- a/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/game/view/game_page_test.dart +++ b/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/game/view/game_page_test.dart @@ -1,3 +1,4 @@ +// Not needed for test files // ignore_for_file: prefer_const_constructors import 'dart:async'; diff --git a/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/loading/view/loading_page_test.dart b/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/loading/view/loading_page_test.dart index 0b9e03f..ca897af 100644 --- a/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/loading/view/loading_page_test.dart +++ b/very_good_flame_game/__brick__/{{project_name.snakeCase()}}/test/loading/view/loading_page_test.dart @@ -1,3 +1,4 @@ +// Not needed for test files // ignore_for_file: prefer_const_constructors import 'dart:async'; From 19f99266e8b0b3eb4a024960317b2a3816aae339 Mon Sep 17 00:00:00 2001 From: Tom Arra Date: Mon, 23 Dec 2024 09:30:43 -0600 Subject: [PATCH 6/7] fix analysis warnings in flutter package --- .../test/src/{{project_name.snakeCase()}}_test.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/very_good_flutter_package/__brick__/{{project_name.snakeCase()}}/test/src/{{project_name.snakeCase()}}_test.dart b/very_good_flutter_package/__brick__/{{project_name.snakeCase()}}/test/src/{{project_name.snakeCase()}}_test.dart index eb53b04..79c3099 100644 --- a/very_good_flutter_package/__brick__/{{project_name.snakeCase()}}/test/src/{{project_name.snakeCase()}}_test.dart +++ b/very_good_flutter_package/__brick__/{{project_name.snakeCase()}}/test/src/{{project_name.snakeCase()}}_test.dart @@ -1,3 +1,4 @@ +// Not required for test files // ignore_for_file: prefer_const_constructors import 'package:flutter_test/flutter_test.dart'; From a749ed723f26cdce6100316d2bbbc84ca8b8312a Mon Sep 17 00:00:00 2001 From: Tom Arra Date: Mon, 23 Dec 2024 09:39:07 -0600 Subject: [PATCH 7/7] fix analysis errors in wear app --- .../test/ambient_mode/view/ambient_mode_builder_test.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/very_good_wear_app/__brick__/{{project_name.snakeCase()}}/test/ambient_mode/view/ambient_mode_builder_test.dart b/very_good_wear_app/__brick__/{{project_name.snakeCase()}}/test/ambient_mode/view/ambient_mode_builder_test.dart index 9219008..19bf4ef 100644 --- a/very_good_wear_app/__brick__/{{project_name.snakeCase()}}/test/ambient_mode/view/ambient_mode_builder_test.dart +++ b/very_good_wear_app/__brick__/{{project_name.snakeCase()}}/test/ambient_mode/view/ambient_mode_builder_test.dart @@ -4,6 +4,7 @@ import 'package:{{project_name.snakeCase()}}/ambient_mode/ambient_mode.dart'; class _TestAmbientModeListener extends ValueNotifier implements AmbientModeListener { + // Taking the short hand syntax for a test file // ignore: avoid_positional_boolean_parameters _TestAmbientModeListener(super.value);