Skip to content

Commit

Permalink
fix(docs): yarn1 does not need -W flag (#10419)
Browse files Browse the repository at this point in the history
I tried omitting the flag and everything seemed to work fine.
if yarn2 needs this, it should be clarified which version  that it is talking about
  • Loading branch information
Zamiell committed Jun 2, 2022
1 parent 4576d74 commit a7e2d0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/shared/core-tutorial/01-create-blog.md
Expand Up @@ -48,7 +48,7 @@ Which tells yarn (or npm) and Nx to look in the `packages` folder for projects t
To install Eleventy run:

```bash
yarn add -D -W @11ty/eleventy@1.0.0
yarn add -D @11ty/eleventy@1.0.0
```

or
Expand All @@ -57,7 +57,7 @@ or
npm add -D @11ty/eleventy@1.0.0
```

Note: We are intentionally installing the package at the root of the workspace because this forces the organization to have the upfront cost of agreeing on the same versions of dependencies rather than the delayed cost of having projects using multiple different incompatible versions of dependencies. Yarn needs the `-W` flag so that you can install dependencies at the root. This is not a requirement of Nx, just a suggestion to help you maintain a growing repo.
Note: We are intentionally installing the package at the root of the workspace because this forces the organization to have the upfront cost of agreeing on the same versions of dependencies rather than the delayed cost of having projects using multiple different incompatible versions of dependencies. This is not a requirement of Nx, just a suggestion to help you maintain a growing repo.

**Eleventy Hello World**

Expand Down

1 comment on commit a7e2d0c

@vercel
Copy link

@vercel vercel bot commented on a7e2d0c Jun 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx-dev-nrwl.vercel.app
nx-five.vercel.app
nx.dev

Please sign in to comment.