Skip to content

Commit 43aebb5

Browse files
committed
Fix Expo config plugin dependency resolution
1 parent 623cdbc commit 43aebb5

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

‎expo.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const {
55
withAppBuildGradle,
66
withMainApplication, // Using the safer, higher-level helper
77
WarningAggregator,
8-
} = require('@expo/config-plugins');
8+
} = require('expo/config-plugins');
99
const fs = require('fs');
1010
const path = require('path');
1111

‎package.json‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@
4040
"type": "git",
4141
"url": "https://github.com/codemagic-ci-cd/react-native-code-push"
4242
},
43+
"peerDependencies": {
44+
"expo": "*"
45+
},
46+
"peerDependenciesMeta": {
47+
"expo": {
48+
"optional": true
49+
}
50+
},
4351
"dependencies": {
4452
"code-push": "4.2.3",
4553
"glob": "^7.1.7",

0 commit comments

Comments
 (0)