From d23a3557b59cdc3d5f7fd7ad0a0698ce3541119d Mon Sep 17 00:00:00 2001 From: Yaroslav Serhieiev Date: Sun, 22 Dec 2024 17:56:00 +0200 Subject: [PATCH] docs: remove yarn converter for --global commands --- docs/cli/overview.md | 2 +- docs/contributing/code/setting-up-the-dev-environment.md | 4 ++-- docs/guide/migration.md | 2 +- docs/guide/uninstalling.md | 2 +- docs/introduction/environment-setup.md | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/cli/overview.md b/docs/cli/overview.md index 0f7a4bd6c2..97e83c6fc6 100644 --- a/docs/cli/overview.md +++ b/docs/cli/overview.md @@ -6,7 +6,7 @@ Detox CLI lets you operate Detox from command line. Install `detox-cli` globally via [npm](http://npmjs.org/detox-cli): -```bash npm2yarn +```bash npm install detox-cli --global ``` diff --git a/docs/contributing/code/setting-up-the-dev-environment.md b/docs/contributing/code/setting-up-the-dev-environment.md index 935d10aea3..15c65527c7 100644 --- a/docs/contributing/code/setting-up-the-dev-environment.md +++ b/docs/contributing/code/setting-up-the-dev-environment.md @@ -28,7 +28,7 @@ To set up the monorepo locally, follow these steps: Install the monorepo management tool, `lerna`: -```bash npm2yarn +```bash npm install lerna@6.x.x --global ``` @@ -52,7 +52,7 @@ lerna bootstrap [react-native-cli] is a command line interface for React Native. -```bash npm2yarn +```bash npm install react-native-cli --global ``` diff --git a/docs/guide/migration.md b/docs/guide/migration.md index 3feb83994e..c87491d461 100644 --- a/docs/guide/migration.md +++ b/docs/guide/migration.md @@ -600,7 +600,7 @@ Cannot find module 'jest-cli/build/cli/args' If you were using `detox-cli` global package, make sure to upgrade it before proceeding to `detox@17.4.7`. -```bash npm2yarn +```bash npm install detox-cli --global ``` diff --git a/docs/guide/uninstalling.md b/docs/guide/uninstalling.md index ad060a2036..b56d08e664 100644 --- a/docs/guide/uninstalling.md +++ b/docs/guide/uninstalling.md @@ -90,6 +90,6 @@ adb -s shell rm -rf /sdcard/*_*.* If you have installed the official CLI wrapper for Detox, then make sure to uninstall it as well: -```bash npm2yarn +```bash npm uninstall detox-cli --global ``` diff --git a/docs/introduction/environment-setup.md b/docs/introduction/environment-setup.md index 691c78ebe0..0c6c95f977 100644 --- a/docs/introduction/environment-setup.md +++ b/docs/introduction/environment-setup.md @@ -67,7 +67,7 @@ making it easier to operate Detox from the command line, e.g. `detox test -c ios It should be installed globally, enabling usage of the command line tools outside your npm scripts: -```bash npm2yarn +```bash npm install detox-cli --global ```