Skip to content

Commit

Permalink
bump versions, fix updater, add dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
josxha committed Apr 3, 2024
1 parent fcf1a94 commit 3f4ce92
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2
enable-beta-ecosystems: true
updates:
- package-ecosystem: "pub"
directory: "/"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
update-types:
- "version-update:semver-minor"
- "version-update:semver-patch"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
2 changes: 1 addition & 1 deletion .github/workflows/update-list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout git repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install dart
uses: dart-lang/setup-dart@v1
- name: Install dart dependencies
Expand Down
4 changes: 1 addition & 3 deletions updater/lib/pub_dev_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class PubDevService {
version: packageVersion,
description: info.description,
homepage: info.latestPubspec.homepage,
repository: info.latestPubspec.repository,
repository: info.latestPubspec.repository(),
lastUpdate: info.latest.published,
flutterMapVersion: fmVersionConstraint,
latestFlutterMapDependency: fmVersionConstraint?.allows(fmVersion),
Expand All @@ -44,6 +44,4 @@ extension PubspecExt on PubSpec {
if (fmDep == null) return null;
return VersionConstraint.parse(fmDep.toString().replaceAll('"', ''));
}

String? get repository => unParsedYaml?['repository'];
}
2 changes: 1 addition & 1 deletion updater/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ dependencies:
pub_semver: ^2.1.4

dev_dependencies:
total_lints: ^2.19.0
total_lints: ^3.2.0

0 comments on commit 3f4ce92

Please sign in to comment.