Skip to content

Commit 057204c

Browse files
committed
chore: move pods script to the example app
1 parent 832c691 commit 057204c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/create-react-native-library/templates/common/$package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
"prepare": "bob build",
2929
"release": "release-it",
3030
"example": "yarn --cwd example",
31-
"pods": "cd example && RCT_NEW_ARCH_ENABLED=<%- project.turbomodule ? 1 : 0 -%> pod-install --quiet",
32-
"bootstrap": "yarn example && yarn && yarn pods"
31+
"bootstrap": "yarn example && yarn && yarn example pods"
3332
},
3433
"keywords": [
3534
"react-native",

packages/create-react-native-library/templates/example/example/$package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"android": "react-native run-android",
88
"ios": "react-native run-ios",
99
"start": "react-native start",
10+
"pods": "RCT_NEW_ARCH_ENABLED=<%- project.turbomodule ? 1 : 0 -%> pod-install --quiet",
1011
"postinstall": "patch-package"
1112
},
1213
"dependencies": {

0 commit comments

Comments
 (0)