byCedric / semantic-release-expo

An Expo implementation for semantic release, so you don't have to bother.
MIT License
91 stars 11 forks source link

Plugin overwrites keys outside of `expo` #215

Closed PaulWozny closed 1 year ago

PaulWozny commented 1 year ago

Hi!

I want to use this plugin together with react-native-google-mobile-ads. It is necessary to include additional configuration outside expo key as stated here: https://docs.page/invertase/react-native-google-mobile-ads#setting-up-google-admob

{
  "expo": {
    "name": "test-name",
    "version": "1.0.0",
  },
  "react-native-google-mobile-ads": {
    "android_app_id": "ca-app-pub-xxxxxx~xxxxxx"
  }
}

But when plugin executes, it deletes react-native-google-mobile-ads key.

Is there a way to preserve that configuration?

PaulWozny commented 1 year ago

I did it by myself on my fork: https://github.com/PaulWozny/semantic-release-expo/tree/feature/outside-keys