Updates bugsnag-expo-cli to install a version of the sourcemap plugin that matches the project's Expo SDK version (and by extension Bugsnag version).
This makes it easier to introduce breaking changes to the sourcemap plugin by reducing the likelihood of newer versions being inadvertently installed into projects running older SDK versions.
Design
The CLI now uses @expo/package-manager to install the sourcemap plugin instead of running expo install - this is due to an issue with expo install that means versioned installs are always saved to the project's main dependencies list and not to devDependencies
Goal
Updates
bugsnag-expo-cli
to install a version of the sourcemap plugin that matches the project's Expo SDK version (and by extension Bugsnag version).This makes it easier to introduce breaking changes to the sourcemap plugin by reducing the likelihood of newer versions being inadvertently installed into projects running older SDK versions.
Design
The CLI now uses
@expo/package-manager
to install the sourcemap plugin instead of runningexpo install
- this is due to an issue withexpo install
that means versioned installs are always saved to the project's maindependencies
list and not todevDependencies
Testing