-
Notifications
You must be signed in to change notification settings - Fork 259
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: enable dependabot #1568
chore: enable dependabot #1568
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Script could be cleaned up but not a major issue IMO. Can rewrite in Dart if you want and use Directory.list(recursive: true)
to make it future proof.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is any annoying nit, but could we put the 'updates' block in alphabetical order?
Otherwise looks good to me.
I changed the generation script to sort the output alphabetically. |
Good suggestion, ended up converting to a dart script to do this plus some other things. |
This PR adds needed code changes to enable dependabot for dart projects. See https://github.blog/changelog/2022-04-05-pub-beta-support-for-dependabot-version-updates/ as well as linked thread where there are some questions about monorepos. Per that thread, I believe we need separate entries for all the pubspec locations, so I made a little script to generate that as I expect it to need updates when directory structure changes.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.