bugsnag / bugsnag-expo

MIT License
11 stars 5 forks source link

[PLAT-9758] Install a sourcemap plugin version that matches the SDK version #111

Closed yousif-bugsnag closed 1 year ago

yousif-bugsnag commented 1 year ago

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 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

Testing