Skip to content

Commit

Permalink
[RN-Tester] Correctly specify React Native dependency (#2065)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saadnajmi authored Feb 2, 2024
1 parent d326dfc commit e24bfad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
10 changes: 4 additions & 6 deletions packages/rn-tester/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"node": ">=18"
},
"scripts": {
"start": "react-native start",
"android": "react-native run-android --mode HermesDebug",
"start": "react-native-macos start",
"android": "react-native-macos run-android --mode HermesDebug",
"install-android-jsc": "../../gradlew :packages:rn-tester:android:app:installJscDebug",
"install-android-hermes": "../../gradlew :packages:rn-tester:android:app:installHermesDebug",
"clean-android": "rm -rf android/app/build",
Expand All @@ -25,11 +25,9 @@
"dependencies": {
"flow-enums-runtime": "^0.0.6",
"invariant": "^2.2.4",
"nullthrows": "^1.1.1"
},
"peerDependencies": {
"nullthrows": "^1.1.1",
"react": "18.2.0",
"react-native": "*"
"react-native-macos": "workspace:*"
},
"codegenConfig": {
"name": "AppSpecs",
Expand Down
7 changes: 3 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3645,9 +3645,8 @@ __metadata:
flow-enums-runtime: "npm:^0.0.6"
invariant: "npm:^2.2.4"
nullthrows: "npm:^1.1.1"
peerDependencies:
react: 18.2.0
react-native: "*"
react: "npm:18.2.0"
react-native-macos: "workspace:*"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -12469,7 +12468,7 @@ __metadata:
languageName: unknown
linkType: soft

"react-native-macos@workspace:packages/react-native":
"react-native-macos@workspace:*, react-native-macos@workspace:packages/react-native":
version: 0.0.0-use.local
resolution: "react-native-macos@workspace:packages/react-native"
dependencies:
Expand Down

0 comments on commit e24bfad

Please sign in to comment.