This script compares two branches, SOURCE_REF
and TARGET_REF
. It finds all packages in node_modules
that contain ios
or android
directories, and then compares the versions of those packages between the two branches. If there are any differences, it returns with a non-zero code.
This is intended to be used within a CI process that needs to determine whether or not a new binary is needed for an Expo project.