Skip to content

Commit

Permalink
Update tfjs-react-native dependencies (#8062)
Browse files Browse the repository at this point in the history
FEATURE
* feat: update deps

* feat: update dep

* feat: update dep

* feat: update
  • Loading branch information
paradite authored Nov 14, 2023
1 parent fe7f4f3 commit 7270e44
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
3 changes: 3 additions & 0 deletions tfjs-react-native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ Note that if you are using in a managed expo app the install instructions may be
- **Install @tensorflow/tfjs** - `npm install @tensorflow/tfjs`
- **Install @tensorflow/tfjs-react-native** - `npm install @tensorflow/tfjs-react-native`

If you encounter dependency conflict error in npm install, you can either:
- Follow the instructions to use `--force` or `--legacy-peer-deps`
- Or use yarn to install

> After this point, if you are using Xcode to build for ios, you should use a ‘.workspace’ file instead of the ‘.xcodeproj’
Expand Down
17 changes: 8 additions & 9 deletions tfjs-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,14 @@
},
"peerDependencies": {
"@react-native-async-storage/async-storage": "^1.13.0",
"@tensorflow/tfjs-backend-cpu": "~3.7.0",
"@tensorflow/tfjs-backend-webgl": "~3.7.0",
"@tensorflow/tfjs-core": "~3.7.0",
"expo-asset": "^7.0.0",
"expo-camera": "^7.0.0",
"expo-gl": "^7.0.0",
"react": "^16.12.0",
"react-native": ">= 0.58.0",
"react-native-fs": "^2.14.1"
"@tensorflow/tfjs-backend-cpu": "^4.13.0",
"@tensorflow/tfjs-backend-webgl": "^4.13.0",
"@tensorflow/tfjs-core": "^4.13.0",
"expo-camera": "^13.4.4",
"expo-gl": "^13.0.1",
"react": "*",
"react-native": ">= 0.72.0",
"react-native-fs": "^2.20.0"
},
"resolutions": {
"minimist": "1.2.6"
Expand Down

0 comments on commit 7270e44

Please sign in to comment.