Skip to content

Commit fa73490

Browse files
authored
refactor(dart_frog_gen): upgrade to Dart 2.19 and Very Good Analysis 4.0.0 (#534)
1 parent ad6b1c8 commit fa73490

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include: package:very_good_analysis/analysis_options.3.1.0.yaml
1+
include: package:very_good_analysis/analysis_options.4.0.0.yaml

packages/dart_frog_gen/lib/src/build_route_configuration.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,12 +244,12 @@ extension on FileSystemEntity {
244244
class RouteConfiguration {
245245
/// {@macro route_configuration}
246246
const RouteConfiguration({
247-
this.globalMiddleware,
248247
required this.middleware,
249248
required this.directories,
250249
required this.routes,
251250
required this.endpoints,
252251
required this.rogueRoutes,
252+
this.globalMiddleware,
253253
this.serveStaticFiles = false,
254254
this.invokeCustomEntrypoint = false,
255255
});

packages/dart_frog_gen/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ issue_tracker: https://github.com/VeryGoodOpenSource/dart_frog/issues
77
documentation: https://dartfrog.vgv.dev/docs/overview
88

99
environment:
10-
sdk: ">=2.18.0 <3.0.0"
10+
sdk: ">=2.19.0 <3.0.0"
1111

1212
dependencies:
1313
path: ^1.8.1
1414

1515
dev_dependencies:
1616
mocktail: ^0.3.0
1717
test: ^1.19.2
18-
very_good_analysis: ^3.1.0
18+
very_good_analysis: ^4.0.0

0 commit comments

Comments
 (0)