lwc
lwc copied to clipboard
chore: enable Dependabot updates
Details
First try on enabling Dependabot for weekly automatic dependency updates.
Does this pull request introduce a breaking change?
- ✅ No, it does not introduce a breaking change.
Does this pull request introduce an observable change?
- ✅ No, it does not introduce an observable change.
GUS work item
/nucleus test
There are a few dependencies that we don't update like prettier and some resolutions like jasmine-core, semver. Can we do something about them?
We can't fix this without a lot of churn. For now, we should
- Search through all the
package.json
files for//
comments - Find all dependencies that must be pinned, such as
jasmine-core
andprettier
- Add them to the
ignore
list
For semver
, which uses the yarn "resolutions"
, there is apparently nothing we need to do:
Dependabot cannot increase the version in the resolutions field. However it respects the value in the resolutions field when it bumps a dependency.
Superseded by #4130. Incidentally a lot of things have changed in the past ~6 months so we don't need to pin as many dependencies.