Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): yarn1 does not need -W flag #10419

Merged
merged 1 commit into from
Jun 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/shared/core-tutorial/01-create-blog.md
Original file line number Diff line number Diff line change
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