Skip to content

Commit e4087e0

Browse files
committed
fix: use workspace pods script for MaestroTestApp bootstrap
Add a "pods" script to MaestroTestApp matching the purchaseTesterTypescript pattern, and use `yarn workspace MaestroTestApp pods` in bootstrap instead of raw cd + pod install. Made-with: Cursor
1 parent 49db3a2 commit e4087e0

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

e2e-tests/MaestroTestApp/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"ios": "react-native run-ios",
88
"start": "react-native start",
99
"build": "tsc",
10-
"lint": "eslint ."
10+
"lint": "eslint .",
11+
"pods": "pod-install --quiet"
1112
},
1213
"dependencies": {
1314
"@react-navigation/native": "^7.0.0",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"prepare": "tsc",
4242
"example": "yarn workspace purchasetester",
4343
"ui": "yarn workspace react-native-purchases-ui",
44-
"bootstrap": "yarn && yarn prepare-expo && yarn example pods && cd e2e-tests/MaestroTestApp/ios && pod install && cd ../../..",
44+
"bootstrap": "yarn && yarn prepare-expo && yarn example pods && yarn workspace MaestroTestApp pods",
4545
"prepare-expo": "yarn build && yarn ui prepare && yarn pack && yarn ui pack && touch examples/purchaseTesterExpo/yarn.lock"
4646
},
4747
"workspaces": [

0 commit comments

Comments
 (0)