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

Fix webdev version check for Dart 3 #442

Merged
merged 2 commits into from
Nov 4, 2024
Merged

Conversation

robbecker-wf
Copy link
Member

@robbecker-wf robbecker-wf commented Nov 3, 2024

Summary

When running dart run dart_dev serve under Dart 3, it checks that webdev is installed, but it insists on webdev ^2.0.0. Dor Dart 3, only webdev ^3.0.0 resolves.

Changes

Switch the version to check for based on the version of Dart being run. For Dart 2, use ^2.0.0 and Dart 3 use ^3.0.0 of webdev.

@robbecker-wf robbecker-wf marked this pull request as ready for review November 3, 2024 19:05
@robbecker-wf robbecker-wf requested a review from a team as a code owner November 3, 2024 19:05
@robbecker-wf
Copy link
Member Author

QA+1 CI passes. Tested with Dart 2.19 and 3.5.4 locally. @Workiva/release-management-p

Copy link
Contributor

@rmconsole-wf rmconsole-wf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 from RM

@rmconsole4-wk rmconsole4-wk merged commit f5e95b2 into master Nov 4, 2024
6 checks passed
@rmconsole4-wk rmconsole4-wk deleted the fix_webdev_check_dart3 branch November 4, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants