From 060d3f68316183470515548fd4c32f08e17c57ca Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Wed, 31 Jan 2024 17:17:58 +0100 Subject: [PATCH] chore: Use `npm` for demos --- README.md | 2 +- docs/docs/guides/FRAME_PROCESSORS.mdx | 4 ++-- docs/docs/guides/FRAME_PROCESSOR_PLUGINS.mdx | 2 +- docs/docs/guides/SETUP.mdx | 2 +- package/package.json | 1 - package/yarn.lock | 5 ----- 6 files changed, 5 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 4979a6e..2ae50a2 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/docs/docs/guides/FRAME_PROCESSORS.mdx b/docs/docs/guides/FRAME_PROCESSORS.mdx index cb12bd0..31b36a1 100644 --- a/docs/docs/guides/FRAME_PROCESSORS.mdx +++ b/docs/docs/guides/FRAME_PROCESSORS.mdx @@ -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 ``` diff --git a/docs/docs/guides/FRAME_PROCESSOR_PLUGINS.mdx b/docs/docs/guides/FRAME_PROCESSOR_PLUGINS.mdx index 9607362..9a777bd 100644 --- a/docs/docs/guides/FRAME_PROCESSOR_PLUGINS.mdx +++ b/docs/docs/guides/FRAME_PROCESSOR_PLUGINS.mdx @@ -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 ``` diff --git a/docs/docs/guides/SETUP.mdx b/docs/docs/guides/SETUP.mdx index d134ed8..75cbac4 100644 --- a/docs/docs/guides/SETUP.mdx +++ b/docs/docs/guides/SETUP.mdx @@ -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 ``` diff --git a/package/package.json b/package/package.json index 88065d9..bbb52f6 100644 --- a/package/package.json +++ b/package/package.json @@ -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", diff --git a/package/yarn.lock b/package/yarn.lock index 6c89d18..ceb0a31 100644 --- a/package/yarn.lock +++ b/package/yarn.lock @@ -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"