Skip to content

Commit

Permalink
chore: add fabric scripts (#769)
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski authored Sep 12, 2023
1 parent 0a4f2ba commit afdfa8b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ prepare_react_native_project!
# ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
# ```
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
ENV['RCT_NEW_ARCH_ENABLED'] = '0'

linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
Expand Down
3 changes: 2 additions & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"pods": "pod-install --quiet"
"pods": "pod-install --quiet",
"pods-fabric": "RCT_NEW_ARCH_ENABLED=1 pod-install --quiet"
},
"dependencies": {
"@react-native-community/masked-view": "^0.1.10",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"example": "yarn --cwd example",
"bootstrap": "yarn example && yarn && yarn example pods",
"bootstrap-no-pods": "yarn example && yarn",
"bootstrap-fabric": "yarn example && yarn && yarn example pods-fabric",
"test:e2e:android": "bash ./scripts/run-maestro-tests.sh android",
"run-example-android": "cd example;react-native run-android --variant=release",
"run-example-ios": "cd example;react-native run-ios --configuration Release --simulator \"iPhone 13 (15.2)\"",
Expand Down

0 comments on commit afdfa8b

Please sign in to comment.