From a7e2d0c47e9ab5bae538ae81917cd3c27a089106 Mon Sep 17 00:00:00 2001 From: James <5511220+Zamiell@users.noreply.github.com> Date: Thu, 2 Jun 2022 10:28:29 -0400 Subject: [PATCH] fix(docs): yarn1 does not need -W flag (#10419) 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 --- docs/shared/core-tutorial/01-create-blog.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/shared/core-tutorial/01-create-blog.md b/docs/shared/core-tutorial/01-create-blog.md index 336bc5a95b1b1..caf6af43f220b 100644 --- a/docs/shared/core-tutorial/01-create-blog.md +++ b/docs/shared/core-tutorial/01-create-blog.md @@ -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 @@ -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**