chore: Use npm for demos

This commit is contained in:
Marc Rousavy 2024-01-31 17:17:58 +01:00
parent 8ab7bdd425
commit 060d3f6831
No known key found for this signature in database
GPG Key ID: 83BEF0F19E8F5321
6 changed files with 5 additions and 11 deletions

View File

@ -30,7 +30,7 @@ VisionCamera is a powerful, high-performance Camera library for React Native. It
Install VisionCamera from npm:
```sh
yarn add react-native-vision-camera
npm i react-native-vision-camera
cd ios && pod install
```

View File

@ -57,7 +57,7 @@ Because they are written in JS, Frame Processors are simple, powerful, extensibl
Frame Processors require [react-native-worklets-core](https://github.com/margelo/react-native-worklets-core) 0.2.0 or higher. Install it:
```sh
yarn add react-native-worklets-core
npm i react-native-worklets-core
```
And add the plugin to your `babel.config.js`:
@ -217,7 +217,7 @@ See: ["Creating Frame Processor Plugins"](/docs/guides/frame-processors-plugins-
Community Frame Processor Plugins are distributed through npm. To install the [vision-camera-resize-plugin](https://github.com/mrousavy/vision-camera-resize-plugin) plugin, run:
```bash
yarn add vision-camera-resize-plugin
npm i vision-camera-resize-plugin
cd ios && pod install
```

View File

@ -15,7 +15,7 @@ Similar to react-native libraries, Frame Processor Plugins are distributed throu
1. Install using npm:
```
yarn add vision-camera-xxxxx
npm i vision-camera-xxxxx
cd ios && pod install
```

View File

@ -28,7 +28,7 @@ Install [react-native-vision-camera](https://www.npmjs.com/package/react-native-
```bash
npm i react-native-vision-camera
npx pod-install
cd ios && pod install
```
</TabItem>

View File

@ -87,7 +87,6 @@
"@types/react-native": "^0.72.2",
"eslint": "^8.46.0",
"eslint-plugin-prettier": "^5.0.0",
"pod-install": "^0.1.38",
"prettier": "^3.0.1",
"react": "^18.2.0",
"react-native": "^0.72.3",

View File

@ -6369,11 +6369,6 @@ plist@^3.0.5:
base64-js "^1.5.1"
xmlbuilder "^15.1.1"
pod-install@^0.1.38:
version "0.1.39"
resolved "https://registry.yarnpkg.com/pod-install/-/pod-install-0.1.39.tgz#853a0585bafbd332c2ca6543854fd4919958cfb3"
integrity sha512-0kVvdLYe0CtfJEr+ISvTMxAEB0UF4JMRToPjuu9xAAq1mEqA2Ql5u7uLWX1m45BMM+7NfU4LnBbnfNjmQE9GCw==
prelude-ls@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"