Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump very_good_analysis from 6.0.0 to 7.0.0 in /bricks/create_dart_frog/hooks #1638

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bricks/create_dart_frog/hooks/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include: package:very_good_analysis/analysis_options.6.0.0.yaml
include: package:very_good_analysis/analysis_options.7.0.0.yaml
2 changes: 1 addition & 1 deletion bricks/create_dart_frog/hooks/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ dependencies:
dev_dependencies:
mocktail: ^1.0.0
test: ^1.25.0
very_good_analysis: ^6.0.0
very_good_analysis: ^7.0.0
2 changes: 1 addition & 1 deletion bricks/dart_frog_dev_server/hooks/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include: package:very_good_analysis/analysis_options.6.0.0.yaml
include: package:very_good_analysis/analysis_options.7.0.0.yaml
2 changes: 1 addition & 1 deletion bricks/dart_frog_dev_server/hooks/pre_gen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Future<void> preGen(
final RouteConfiguration configuration;
try {
configuration = buildConfiguration(io.Directory.current);
} catch (error) {
} on Exception catch (error) {
context.logger.err('$error');
return exit(1);
}
Expand Down
2 changes: 1 addition & 1 deletion bricks/dart_frog_dev_server/hooks/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ dev_dependencies:
mocktail: ^1.0.0
path: ^1.8.2
test: ^1.25.0
very_good_analysis: ^6.0.0
very_good_analysis: ^7.0.0
2 changes: 1 addition & 1 deletion bricks/dart_frog_prod_server/hooks/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Future<void> createBundle({
'${tempDirectory.path}${path.separator}',
);
bundlingProgress.complete();
} catch (error) {
} on Exception catch (error) {
bundlingProgress.fail();
context.logger.err('$error');
return exit(1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// This is used by the bundling process to check for those dependencies that
/// are external path dependencies. Hence, it is not a complete parser, it only
/// parses the information that is needed for the bundling process.
library pubspec_lock;
library;

import 'dart:collection';

Expand Down Expand Up @@ -35,7 +35,7 @@ class PubspecLock {
late final YamlMap yaml;
try {
yaml = loadYaml(content) as YamlMap;
} catch (_) {
} on Exception catch (_) {
throw const PubspecLockParseException();
}

Expand All @@ -53,7 +53,7 @@ class PubspecLock {
data: entry.value as YamlMap,
);
parsedPackages.add(package);
} catch (_) {
} on Exception catch (_) {
// Ignore those packages that for some reason cannot be parsed.
}
}
Expand Down
2 changes: 1 addition & 1 deletion bricks/dart_frog_prod_server/hooks/pre_gen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Future<void> preGen(
final RouteConfiguration configuration;
try {
configuration = buildConfiguration(projectDirectory);
} catch (error) {
} on Exception catch (error) {
context.logger.err('$error');
return exit(1);
}
Expand Down
2 changes: 1 addition & 1 deletion bricks/dart_frog_prod_server/hooks/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ dependencies:
dev_dependencies:
mocktail: ^1.0.0
test: ^1.25.0
very_good_analysis: ^6.0.0
very_good_analysis: ^7.0.0
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// Collection of `pubspec.lock` files used as fixtures during testing.
library pubspec_locks;
library;

/// An artificially crafted `pubspec.lock` file with:
///
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Not needed for test files
// ignore_for_file: prefer_const_constructors

import 'package:dart_frog_prod_server_hooks/src/pubspec_lock/pubspec_lock.dart';
Expand Down
Loading