Skip to content

Commit afdfa8b

Browse files
authored
chore: add fabric scripts (#769)
1 parent 0a4f2ba commit afdfa8b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

example/ios/Podfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ prepare_react_native_project!
1818
# ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
1919
# ```
2020
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
21-
ENV['RCT_NEW_ARCH_ENABLED'] = '0'
2221

2322
linkage = ENV['USE_FRAMEWORKS']
2423
if linkage != nil

example/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"android": "react-native run-android",
77
"ios": "react-native run-ios",
88
"start": "react-native start",
9-
"pods": "pod-install --quiet"
9+
"pods": "pod-install --quiet",
10+
"pods-fabric": "RCT_NEW_ARCH_ENABLED=1 pod-install --quiet"
1011
},
1112
"dependencies": {
1213
"@react-native-community/masked-view": "^0.1.10",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"example": "yarn --cwd example",
3232
"bootstrap": "yarn example && yarn && yarn example pods",
3333
"bootstrap-no-pods": "yarn example && yarn",
34+
"bootstrap-fabric": "yarn example && yarn && yarn example pods-fabric",
3435
"test:e2e:android": "bash ./scripts/run-maestro-tests.sh android",
3536
"run-example-android": "cd example;react-native run-android --variant=release",
3637
"run-example-ios": "cd example;react-native run-ios --configuration Release --simulator \"iPhone 13 (15.2)\"",

0 commit comments

Comments
 (0)