Skip to content

Commit

Permalink
Update constraints for Dart 3.4 (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough authored May 20, 2024
1 parent c4a7b45 commit 21f4bb0
Show file tree
Hide file tree
Showing 16 changed files with 36 additions and 34 deletions.
10 changes: 5 additions & 5 deletions command_line/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ description: >-
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
args: ^2.4.0
args: ^2.5.0
build_cli_annotations: ^2.1.0
github: ^9.21.0
github: ^9.24.0
intl: ^0.19.0

dev_dependencies:
build_cli: ^2.2.3
build_runner: ^2.4.8
lints: ^3.0.0
build_runner: ^2.4.10
lints: ^4.0.0
test: ^1.25.0

executables:
Expand Down
4 changes: 2 additions & 2 deletions enhanced_enums/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ description: Samples that demonstrates the enhanced enums syntax
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.0
4 changes: 2 additions & 2 deletions extension_methods/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ description: >-
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.0
4 changes: 2 additions & 2 deletions ffi/hello_world/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ description: >-
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
path: ^1.9.0

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.0
# test_utils depends on code elsewhere in the samples repository.
# You can reference it for useful cross-platform testing functionality
Expand Down
4 changes: 2 additions & 2 deletions ffi/primitives/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ description: A super simple example of calling C code from Dart with FFI
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
ffi: ^2.1.0
path: ^1.9.0

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.0
# test_utils depends on code elsewhere in the samples repository.
# You can reference it for useful cross-platform testing functionality
Expand Down
4 changes: 2 additions & 2 deletions ffi/structs/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ description: >-
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
ffi: ^2.1.0
path: ^1.9.0

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.0
# test_utils depends on code elsewhere in the samples repository.
# You can reference it for useful cross-platform testing functionality
Expand Down
4 changes: 2 additions & 2 deletions ffi/system-command/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ description: A FFI application that invokes system commands.
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
ffi: ^2.1.0

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.0
4 changes: 2 additions & 2 deletions ffi/test_utils/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ name: test_utils
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
path: ^1.9.0

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
4 changes: 2 additions & 2 deletions isolates/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ description: A sample command-line application.
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
async: ^2.11.0

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.0
4 changes: 2 additions & 2 deletions native_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ description: >-
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0

executables:
main: hello_world
4 changes: 2 additions & 2 deletions null_safety/calculate_lix/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ version: 1.3.0
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
collection: ^1.18.0

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
6 changes: 3 additions & 3 deletions package_constraint_solver/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ repository: https://github.com/dart-lang/samples/tree/main/package_constraint_so
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
path: ^1.8.3
path: ^1.9.0

dev_dependencies:
checks: ^0.3.0
lints: ^3.0.0
lints: ^4.0.0
intl: ^0.19.0
test: ^1.25.0
4 changes: 2 additions & 2 deletions parameters/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ version: 1.0.0
publish_to: none

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.0
4 changes: 2 additions & 2 deletions server/google_apis/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: cloud_run_google_apis
publish_to: none # not intended for publication to pub.dev

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
google_cloud: ^0.2.0
Expand All @@ -12,4 +12,4 @@ dependencies:
shelf_router: ^1.1.2

dev_dependencies:
lints: ^3.0.0
lints: ^4.0.0
4 changes: 2 additions & 2 deletions server/simple/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: container_server_example
publish_to: none # not intended for publication to pub.dev

environment:
sdk: ^3.3.0
sdk: ^3.4.0

dependencies:
shelf: ^1.4.0
Expand All @@ -11,6 +11,6 @@ dependencies:

dev_dependencies:
http: ^1.2.0
lints: ^3.0.0
lints: ^4.0.0
test: ^1.25.0
test_process: ^2.1.0
2 changes: 2 additions & 0 deletions server/simple/test/docker_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// BSD-style license that can be found in the LICENSE file.

@Tags(['presubmit-only'])
library;

import 'package:test/test.dart';

import 'test_definitions.dart';
Expand Down

0 comments on commit 21f4bb0

Please sign in to comment.