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

chore: Update min version of Dart SDK to 3.0.0 #629

Merged
merged 3 commits into from
Jan 11, 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
2 changes: 1 addition & 1 deletion .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.18.0 # Update when min sdk supported version of `melos` package changes.
sdk: 3.0.0 # Update when min sdk supported version of `melos` package changes.
- name: Run Melos
run: ./.github/workflows/scripts/install-tools.sh

Expand Down
2 changes: 1 addition & 1 deletion melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ignore:
command:
bootstrap:
environment:
sdk: '>=2.18.0 <3.0.0'
sdk: ">=3.0.0 <4.0.0"
dependencies:
ansi_styles: ^0.3.1
args: ^2.0.0
Expand Down
2 changes: 1 addition & 1 deletion packages/conventional_commit/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ repository: https://github.com/invertase/melos/tree/main/packages/conventional_c
issue_tracker: https://github.com/invertase/melos/issues

environment:
sdk: '>=2.18.0 <3.0.0'
sdk: ">=3.0.0 <4.0.0"

dev_dependencies:
collection: ^1.15.0
Expand Down
3 changes: 0 additions & 3 deletions packages/melos/lib/src/common/versioning.dart
Original file line number Diff line number Diff line change
Expand Up @@ -326,14 +326,11 @@ Version nextVersion(
nextPreMajor++;
nextPreMinor = 0;
nextPrePatch = 0;
break;
case SemverReleaseType.minor:
nextPreMinor++;
nextPrePatch = 0;
break;
case SemverReleaseType.patch:
nextPrePatch++;
break;
}
return Version(
currentVersion.major,
Expand Down
2 changes: 1 addition & 1 deletion packages/melos/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repository: https://github.com/invertase/melos/tree/main/packages/melos
issue_tracker: https://github.com/invertase/melos/issues

environment:
sdk: '>=2.18.0 <3.0.0'
sdk: ">=3.0.0 <4.0.0"

executables:
melos:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: melos_workspace

environment:
sdk: '>=2.18.0 <3.0.0'
sdk: ">=3.0.0 <4.0.0"

# This allows us to use melos on itself during development.
executables:
Expand Down
Loading