docs(core): remove package manager comment from commands (#8711)

This commit is contained in:
Benjamin Cabanes 2022-01-26 14:21:06 -05:00 committed by GitHub
parent 83e2bdc52b
commit 0661620454
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 5 additions and 17 deletions

View File

@ -18,10 +18,10 @@ The Nx Plugin for Angular contains executors, generators, and utilities for mana
Adding the Angular plugin to an existing Nx workspace can be done with the following: Adding the Angular plugin to an existing Nx workspace can be done with the following:
```bash ```bash
#yarn
yarn add -D @nrwl/angular yarn add -D @nrwl/angular
```
#npm ```bash
npm install -D @nrwl/angular npm install -D @nrwl/angular
``` ```

View File

@ -27,19 +27,17 @@ You can create a new Cypress E2E project for an existing project.
If the `@nrwl/cypress` package is not installed, install the version that matches your `@nrwl/workspace` version. If the `@nrwl/cypress` package is not installed, install the version that matches your `@nrwl/workspace` version.
```sh ```bash
#yarn
yarn add --dev @nrwl/cypress yarn add --dev @nrwl/cypress
``` ```
```sh ```bash
#npm
npm install --save-dev @nrwl/cypress npm install --save-dev @nrwl/cypress
``` ```
Next, generate an E2E project based on an existing project. Next, generate an E2E project based on an existing project.
```sh ```bash
nx g @nrwl/cypress:cypress-project your-app-name-e2e --project=your-app-name nx g @nrwl/cypress:cypress-project your-app-name-e2e --project=your-app-name
``` ```

View File

@ -7,12 +7,10 @@ The Express plugin contains generators to add a new Express application to an Nx
Adding the Express plugin to a workspace can be done with the following: Adding the Express plugin to a workspace can be done with the following:
```bash ```bash
#yarn
yarn add -D @nrwl/express yarn add -D @nrwl/express
``` ```
```bash ```bash
#npm
npm install -D @nrwl/express npm install -D @nrwl/express
``` ```

View File

@ -7,12 +7,10 @@ The Node Plugin contains generators and executors to manage Node applications wi
Installing the Node plugin to a workspace can be done with the following: Installing the Node plugin to a workspace can be done with the following:
```bash ```bash
#yarn
yarn add -D @nrwl/node yarn add -D @nrwl/node
``` ```
```bash ```bash
#npm
npm install -D @nrwl/node npm install -D @nrwl/node
``` ```

View File

@ -13,12 +13,10 @@ The Nx Plugin for React Native contains generators for managing React Native app
Adding the React plugin to a workspace can be done with the following: Adding the React plugin to a workspace can be done with the following:
```bash ```bash
#yarn
yarn add -D @nrwl/react-native yarn add -D @nrwl/react-native
``` ```
```bash ```bash
#npm
npm install -D @nrwl/react-native npm install -D @nrwl/react-native
``` ```

View File

@ -14,12 +14,10 @@ The Nx Plugin for React contains generators for managing React applications and
Adding the React plugin to a workspace can be done with the following: Adding the React plugin to a workspace can be done with the following:
```bash ```bash
#yarn
yarn add -D @nrwl/react yarn add -D @nrwl/react
``` ```
```bash ```bash
#npm
npm install -D @nrwl/react npm install -D @nrwl/react
``` ```

View File

@ -11,12 +11,10 @@ The Nx Plugin for Web Components contains generators for managing Web Component
Adding the Web plugin to a workspace can be done with the following: Adding the Web plugin to a workspace can be done with the following:
```bash ```bash
#yarn
yarn add -D @nrwl/web yarn add -D @nrwl/web
``` ```
```bash ```bash
#npm
npm install -D @nrwl/web npm install -D @nrwl/web
``` ```