Skip to content

Commit

Permalink
Misc lints and deps updates for each package (#2978)
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough committed Jun 4, 2024
1 parent 1f0335c commit 683f73f
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions pkgs/dart_services/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ dependencies:
dev_dependencies:
build_runner: ^2.4.9
collection: ^1.18.0
dart_flutter_team_lints: ^2.1.1
dart_flutter_team_lints: ^3.0.0
grinder: ^0.9.5
json_serializable: any
package_config: ^2.1.0
shelf_router_generator: ^1.1.0
synchronized: ^3.1.0
test: ^1.24.9
test: ^1.25.2
test_descriptor: ^2.0.1

dependency_overrides:
Expand Down
10 changes: 5 additions & 5 deletions pkgs/dartpad_shared/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: dartpad_shared
description: Shared code between the DartPad frontend and backend.
publish_to: 'none'
publish_to: none

environment:
sdk: ^3.2.0
sdk: ^3.3.0

dependencies:
http: ^1.1.0
http: ^1.2.1
json_annotation: ^4.9.0

dev_dependencies:
build_runner: ^2.4.5
dart_flutter_team_lints: ^2.1.1
build_runner: ^2.4.9
dart_flutter_team_lints: ^3.0.0
json_serializable: ^6.8.0
4 changes: 2 additions & 2 deletions pkgs/dartpad_ui/lib/samples.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions pkgs/dartpad_ui/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,24 @@ dependencies:
dartpad_shared: any
flutter:
sdk: flutter
flutter_markdown: ^0.6.22
flutter_markdown: ^0.7.1
flutter_web_plugins:
sdk: flutter
fluttering_phrases: ^1.0.0
go_router: ^13.0.0
http: ^1.2.0
json_annotation: ^4.8.1
go_router: ^14.1.4
http: ^1.2.1
json_annotation: ^4.9.0
pointer_interceptor: ^0.10.0
provider: ^6.1.0
provider: ^6.1.2
split_view: ^3.2.0
url_launcher: ^6.2.2
url_launcher: ^6.3.0
vtable: ^0.4.0
web: ^0.5.0
web: ^0.5.1

dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^3.0.0
flutter_lints: ^4.0.0
test: any

flutter:
Expand Down
4 changes: 2 additions & 2 deletions pkgs/samples/lib/google_ai.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class _ChatScreenState extends State<ChatScreen> {
class ApiKeyWidget extends StatelessWidget {
ApiKeyWidget({required this.onSubmitted, super.key});

final ValueChanged onSubmitted;
final ValueChanged<String> onSubmitted;
final TextEditingController _textController = TextEditingController();

@override
Expand Down Expand Up @@ -256,7 +256,7 @@ class _ChatWidgetState extends State<ChatWidget> {
}

void _showError(String message) {
showDialog(
showDialog<void>(
context: context,
builder: (context) {
return AlertDialog(
Expand Down
12 changes: 6 additions & 6 deletions pkgs/samples/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: samples
description: Sample code snippets for DartPad.
publish_to: 'none'
publish_to: none

environment:
sdk: ^3.3.0

dependencies:
flame: ^1.16.0
flame: ^1.17.0
flutter:
sdk: flutter
flutter_markdown: ^0.6.19
google_generative_ai: ^0.2.0
url_launcher: ^6.2.4
flutter_markdown: ^0.7.1
google_generative_ai: ^0.4.2
url_launcher: ^6.3.0

dev_dependencies:
args: ^2.4.0
flutter_lints: ^3.0.0
path: ^1.8.0
path: ^1.9.0

flutter:
uses-material-design: true

0 comments on commit 683f73f

Please sign in to comment.