@@ -194,7 +194,7 @@ async function generateFullComposite(
194
194
) ;
195
195
// Also add latest version of the bridge
196
196
extraJsDependencies . push (
197
- PackagePath . fromString ( 'react-native-electrode-bridge' ) ,
197
+ PackagePath . fromString ( 'react-native-electrode-bridge@^1.0.0 ' ) ,
198
198
) ;
199
199
extraJsDependencies = [ ...extraJsDependencies , ...jsApiImplDependencies ] ;
200
200
}
@@ -213,8 +213,8 @@ async function generateFullComposite(
213
213
installExtraPackages ( {
214
214
cwd : outDir ,
215
215
extraJsDependencies : [
216
- PackagePath . fromString ( 'ern-bundle-store-metro-asset-plugin' ) ,
217
- PackagePath . fromString ( 'react-native-svg-transformer' ) ,
216
+ PackagePath . fromString ( 'ern-bundle-store-metro-asset-plugin@^1.0.0 ' ) ,
217
+ PackagePath . fromString ( 'react-native-svg-transformer@^1.0.0 ' ) ,
218
218
...extraJsDependencies ,
219
219
] ,
220
220
} ) ,
@@ -248,9 +248,10 @@ async function generateFullComposite(
248
248
// Exclude api/api impls as they are not native modules
249
249
allNativeDeps . apis = [ ] ;
250
250
allNativeDeps . nativeApisImpl = [ ] ;
251
- const dedupedNativeModules = nativeDepenciesVersionResolution . resolveNativeDependenciesVersionsEx (
252
- allNativeDeps ,
253
- ) ;
251
+ const dedupedNativeModules =
252
+ nativeDepenciesVersionResolution . resolveNativeDependenciesVersionsEx (
253
+ allNativeDeps ,
254
+ ) ;
254
255
255
256
if ( dedupedNativeModules . pluginsWithMismatchingVersions . length > 0 ) {
256
257
let errorMsg = `Mismatching native module versions detected.
0 commit comments