dependabot and expo compatibility

  1. SDK Version: 40
  2. Platforms(Android/iOS/web/all): all

dependabot on github is a great way to keep dependencies up to date. When using expo it is not always possible to update, which makes sense. The process of updating dependencies is a bit cumbersome, this is what I do now:

# check dependabot pull requests
# for each new pull request, check if it is compatible with expo like:
cat ./node_modules/expo/bundledNativeModules.json | fgrep <thepackage>
# if no output or compatible version: merge the PR
# otherwise close the PR (no merging) and (optionally) comment: @dependabot ignore this minor version
# pull on the cli and upgrade
git pull
expo install

Is there a way to do this all at once? Does this cover all cases? E.g. react-native-web is not in bundledNativeModules.json, but I’m not clear if it is OK to upgrade to 0.14.10.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.