docs(nx): add --ignore-existing to all npx commands

This commit is contained in:
Victor Savkin 2019-03-19 19:54:25 -04:00
parent 3d0e7867e0
commit fc9af4d0b9
4 changed files with 5 additions and 5 deletions

View File

@ -13,7 +13,7 @@ npm install -g @angular/cli
**Using `npx`** **Using `npx`**
```bash ```bash
npx create-nx-workspace myworkspace npx --ignore-existing create-nx-workspace myworkspace
``` ```
**Using `npm init`** **Using `npm init`**

View File

@ -11,7 +11,7 @@ To show how Nx does it, let's build two applications (one in Angular, and one in
Let's start by creating a new Nx workspace. The easiest way to do this is to use npx. Let's start by creating a new Nx workspace. The easiest way to do this is to use npx.
```bash ```bash
npx create-nx-workspace happynrwl --preset=empty npx --ignore-existing create-nx-workspace happynrwl --preset=empty
``` ```
## Creating an Angular Application ## Creating an Angular Application

View File

@ -16,13 +16,13 @@ Nx has first class support for React: you can create React applications and libr
Create a new Nx workspace. The easiest way to do it is to use npx. Create a new Nx workspace. The easiest way to do it is to use npx.
```bash ```bash
npx create-nx-workspace happynrwl --preset=empty npx --ignore-existing create-nx-workspace happynrwl --preset=empty
``` ```
You can also create a workspace with a React application in place by running: You can also create a workspace with a React application in place by running:
```bash ```bash
npx create-nx-workspace happynrwl --preset=react npx --ignore-existing create-nx-workspace happynrwl --preset=react
``` ```
## Generating a React Application ## Generating a React Application

View File

@ -7,7 +7,7 @@ In this tutorial you will use Nx to build a full-stack application out of common
**Start by creating a new workspace.** **Start by creating a new workspace.**
```bash ```bash
npx create-nx-workspace myorg npx --ignore-existing create-nx-workspace myorg
``` ```
When asked about 'preset', select `empty`. When asked about 'preset', select `empty`.