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

feat!: update package and ecosystem to Dart 3.4 #1047

Merged
merged 4 commits into from
May 28, 2024
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/spdx_license.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: 🎯 Setup Dart
uses: dart-lang/setup-dart@v1
with:
sdk: 3.3.0
sdk: 3.4.0

- name: 📦 Install Dependencies
run: dart pub get
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
- name: 🎯 Setup Dart
uses: dart-lang/setup-dart@v1
with:
sdk: 3.3.0
sdk: 3.4.0

- name: 📦 Install Dependencies
run: dart pub get
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_optimizer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
build_hooks:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v1
with:
dart_sdk: 3.3.0
dart_sdk: 3.4.0
working_directory: bricks/test_optimizer/hooks

verify_bundle:
Expand Down
2 changes: 1 addition & 1 deletion bricks/test_optimizer/hooks/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: hooks
publish_to: none

environment:
sdk: ">=3.1.0 <4.0.0"
sdk: ^3.4.0

dependencies:
mason: ">=0.1.0-dev.50 <0.1.0"
Expand Down
2 changes: 1 addition & 1 deletion e2e/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ">=3.1.0 <4.0.0"
sdk: ^3.4.0

dev_dependencies:
mason: ^0.1.0-dev.50
Expand Down
2 changes: 1 addition & 1 deletion e2e/test/commands/test/async_main/fixture/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ">=3.1.0 <4.0.0"
sdk: ^3.4.0

dev_dependencies:
test: ^1.24.3
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 0.1.0+1
publish_to: none

environment:
sdk: ">=3.1.0 <4.0.0"
sdk: ^3.4.0

dev_dependencies:
test: ^1.24.3
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ final testOptimizerBundle = MasonBundle.fromJson(<String, dynamic>{
{
"path": "pubspec.yaml",
"data":
"bmFtZTogaG9va3MKcHVibGlzaF90bzogbm9uZQoKZW52aXJvbm1lbnQ6CiAgc2RrOiAiPj0zLjEuMCA8NC4wLjAiCgpkZXBlbmRlbmNpZXM6CiAgbWFzb246ICI+PTAuMS4wLWRldi41MCA8MC4xLjAiCiAgcGF0aDogXjEuOC4xCgojIEJld2FyZTogb24gaG9va3MsIGV2ZW4gZGV2IGRlcGVuZGVuY2llcyBoYXZlIHRvIGJlIGNvbXBhdGlibGUgdG8gYWxsIGRhcnQgdmVyc2lvbnMgY292ZXJlZCBieQojIHRoZSBzZGsgY29uc3RyYWludHMgYWJvdmUKZGV2X2RlcGVuZGVuY2llczoKICBtb2NrdGFpbDogXjEuMC4wCiAgdGVzdDogXjEuMjUuMAogIHZlcnlfZ29vZF9hbmFseXNpczogXjUuMS4wCg==",
"bmFtZTogaG9va3MKcHVibGlzaF90bzogbm9uZQoKZW52aXJvbm1lbnQ6CiAgc2RrOiBeMy40LjAKCmRlcGVuZGVuY2llczoKICBtYXNvbjogIj49MC4xLjAtZGV2LjUwIDwwLjEuMCIKICBwYXRoOiBeMS44LjEKCiMgQmV3YXJlOiBvbiBob29rcywgZXZlbiBkZXYgZGVwZW5kZW5jaWVzIGhhdmUgdG8gYmUgY29tcGF0aWJsZSB0byBhbGwgZGFydCB2ZXJzaW9ucyBjb3ZlcmVkIGJ5CiMgdGhlIHNkayBjb25zdHJhaW50cyBhYm92ZQpkZXZfZGVwZW5kZW5jaWVzOgogIG1vY2t0YWlsOiBeMS4wLjAKICB0ZXN0OiBeMS4yNS4wCiAgdmVyeV9nb29kX2FuYWx5c2lzOiBeNS4xLjAK",
"type": "text"
},
{
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ documentation: https://cli.vgv.dev/docs/overview
topics: [cli, codegen, test, template, boilerplate]

environment:
sdk: ">=3.1.0 <4.0.0"
sdk: ^3.4.0
alestiago marked this conversation as resolved.
Show resolved Hide resolved

dependencies:
args: ^2.1.0
Expand Down
2 changes: 1 addition & 1 deletion test/src/commands/create/commands/dart_cli_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Run "very_good help" to see global options.''',
const pubspec = '''
name: example
environment:
sdk: ">=2.13.0 <3.0.0"
sdk: ^3.4.0
''';

void main() {
Expand Down
2 changes: 1 addition & 1 deletion test/src/commands/create/commands/dart_package_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Run "very_good help" to see global options.''',
const pubspec = '''
name: example
environment:
sdk: ">=2.13.0 <3.0.0"
sdk: ^3.4.0
''';

void main() {
Expand Down
2 changes: 1 addition & 1 deletion test/src/commands/create/commands/docs_site_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Run "very_good help" to see global options.''',
const pubspec = '''
name: example
environment:
sdk: ">=2.13.0 <3.0.0"
sdk: ^3.4.0
''';

void main() {
Expand Down
2 changes: 1 addition & 1 deletion test/src/commands/create/commands/flame_game_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Run "very_good help" to see global options.''',
const pubspec = '''
name: example
environment:
sdk: ">=2.13.0 <3.0.0"
sdk: ^3.4.0
''';

void main() {
Expand Down
2 changes: 1 addition & 1 deletion test/src/commands/create/commands/flutter_app_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Run "very_good help" to see global options.''',
const pubspec = '''
name: example
environment:
sdk: ">=2.13.0 <3.0.0"
sdk: ^3.4.0
''';

void main() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Run "very_good help" to see global options.''',
const pubspec = '''
name: example
environment:
sdk: ">=2.13.0 <3.0.0"
sdk: ^3.4.0
''';

void main() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Run "very_good help" to see global options.''',
const pubspec = '''
name: example
environment:
sdk: ">=2.13.0 <3.0.0"
sdk: ^3.4.0
''';

void main() {
Expand Down
2 changes: 1 addition & 1 deletion test/src/commands/create/create_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Run "very_good help" to see global options.'''
const pubspec = '''
name: example
environment:
sdk: ">=3.1.0 <4.0.0"
sdk: ^3.4.0
''';

void main() {
Expand Down
20 changes: 10 additions & 10 deletions test/src/commands/packages/commands/get_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ void main() {
version: 0.1.0

environment:
sdk: ">=3.1.0 <4.0.0"
sdk: ^3.4.0
''',
);
final result = await commandRunner.run(
Expand All @@ -127,7 +127,7 @@ void main() {
version: 0.1.0

environment:
sdk: ">=3.1.0 <4.0.0"
sdk: ^3.4.0
''',
);
final result = await commandRunner.run(
Expand Down Expand Up @@ -163,7 +163,7 @@ void main() {
version: 0.1.0

environment:
sdk: ">=3.1.0 <4.0.0"
sdk: ^3.4.0
''',
);
pubspecB
Expand All @@ -174,7 +174,7 @@ void main() {
version: 0.1.0

environment:
sdk: ">=3.1.0 <4.0.0"
sdk: ^3.4.0
''',
);

Expand Down Expand Up @@ -214,7 +214,7 @@ void main() {
version: 0.1.0

environment:
sdk: ">=3.1.0 <4.0.0"
sdk: ^3.4.0
''',
);
pubspecB
Expand All @@ -225,7 +225,7 @@ void main() {
version: 0.1.0

environment:
sdk: ">=3.1.0 <4.0.0"
sdk: ^3.4.0
''',
);

Expand Down Expand Up @@ -263,7 +263,7 @@ void main() {
version: 0.1.0

environment:
sdk: ">=3.1.0 <4.0.0"
sdk: ^3.4.0
''',
);
pubspecB
Expand All @@ -274,7 +274,7 @@ void main() {
version: 0.1.0

environment:
sdk: ">=3.1.0 <4.0.0"
sdk: ^3.4.0
''',
);

Expand Down Expand Up @@ -318,7 +318,7 @@ void main() {
version: 0.1.0

environment:
sdk: ">=3.1.0 <4.0.0"
sdk: ^3.4.0
''',
);
pubspecB
Expand All @@ -329,7 +329,7 @@ void main() {
version: 0.1.0

environment:
sdk: ">=3.1.0 <4.0.0"
sdk: ^3.4.0
''',
);

Expand Down
2 changes: 1 addition & 1 deletion tool/spdx_license/hooks/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ issue_tracker: https://github.com/VeryGoodOpenSource/very_good_cli/issues
publish_to: none

environment:
sdk: ">=3.0.0 <4.0.0"
sdk: ^3.4.0

dependencies:
archive: ^3.4.10
Expand Down
2 changes: 1 addition & 1 deletion tool/spdx_license/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ issue_tracker: https://github.com/VeryGoodOpenSource/very_good_cli/issues
publish_to: none

environment:
sdk: ">=3.3.0 <4.0.0"
sdk: ^3.4.0

dev_dependencies:
test: ^1.25.2
Expand Down
Loading