dev: add dependabot to maintain deps #989
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue(s) Resolved
Dependencies going out of date and being annoying to update.
High-level Explanation of PR
Adds a
dependabot.yml
with some relatively arbitrary settings.dependabot
recently added support forpnpm
workspace catalogs which we we recently introduced. This means we can use it now, as our most important dependncies are managed inworkspaces.yml
.In case you are unaware of what
dependabot
is: basically a bot that puts up PRs updating dependencies that have gone out of date.How to handle dependabot pull requests.
Given that we now have a reasonably robust test-suite, i feel relatively comfortable merging in patch/minor version updates if they pass our tests. For major versions we should still do some sleuthing I think.
I have set it up st it will put up PRs on monday. Given i'm usually the first person online, I'm happy to go through the PRs and handle them.
Proposal
dependabot
s minor/patch PR(s) pass our tests, we just merge them in.- run it locally once going through some things.
- merge if it feels right
- unlikely that they pass tests anywan
- first discuss with team whether major version update is desired
Test Plan
Screenshots (if applicable)
Notes