chore: Use npm for demos
				
					
				
			This commit is contained in:
		| @@ -30,7 +30,7 @@ VisionCamera is a powerful, high-performance Camera library for React Native. It | |||||||
| Install VisionCamera from npm: | Install VisionCamera from npm: | ||||||
|  |  | ||||||
| ```sh | ```sh | ||||||
| yarn add react-native-vision-camera | npm i react-native-vision-camera | ||||||
| cd ios && pod install | cd ios && pod install | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|   | |||||||
| @@ -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: | Frame Processors require [react-native-worklets-core](https://github.com/margelo/react-native-worklets-core) 0.2.0 or higher. Install it: | ||||||
|  |  | ||||||
| ```sh | ```sh | ||||||
| yarn add react-native-worklets-core | npm i react-native-worklets-core | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
| And add the plugin to your `babel.config.js`: | 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: | 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 | ```bash | ||||||
| yarn add vision-camera-resize-plugin | npm i vision-camera-resize-plugin | ||||||
| cd ios && pod install | cd ios && pod install | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|   | |||||||
| @@ -15,7 +15,7 @@ Similar to react-native libraries, Frame Processor Plugins are distributed throu | |||||||
| 1. Install using npm: | 1. Install using npm: | ||||||
|  |  | ||||||
| ``` | ``` | ||||||
| yarn add vision-camera-xxxxx | npm i vision-camera-xxxxx | ||||||
| cd ios && pod install | cd ios && pod install | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|   | |||||||
| @@ -28,7 +28,7 @@ Install [react-native-vision-camera](https://www.npmjs.com/package/react-native- | |||||||
|  |  | ||||||
| ```bash | ```bash | ||||||
| npm i react-native-vision-camera | npm i react-native-vision-camera | ||||||
| npx pod-install | cd ios && pod install | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
| </TabItem> | </TabItem> | ||||||
|   | |||||||
| @@ -87,7 +87,6 @@ | |||||||
|     "@types/react-native": "^0.72.2", |     "@types/react-native": "^0.72.2", | ||||||
|     "eslint": "^8.46.0", |     "eslint": "^8.46.0", | ||||||
|     "eslint-plugin-prettier": "^5.0.0", |     "eslint-plugin-prettier": "^5.0.0", | ||||||
|     "pod-install": "^0.1.38", |  | ||||||
|     "prettier": "^3.0.1", |     "prettier": "^3.0.1", | ||||||
|     "react": "^18.2.0", |     "react": "^18.2.0", | ||||||
|     "react-native": "^0.72.3", |     "react-native": "^0.72.3", | ||||||
|   | |||||||
| @@ -6369,11 +6369,6 @@ plist@^3.0.5: | |||||||
|     base64-js "^1.5.1" |     base64-js "^1.5.1" | ||||||
|     xmlbuilder "^15.1.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: | prelude-ls@^1.2.1: | ||||||
|   version "1.2.1" |   version "1.2.1" | ||||||
|   resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" |   resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user