Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: include --workspace-root on pnpm add command (#2753)
Given Turborepo is intended to use on workspaces, it is very likely users are adding it to the root of an already configured workspace. If you run `pnpm add` on a workspace root, you get an error: ``` ERR_PNPM_ADDING_TO_ROOT Running this command will add the dependency to the workspace root, which might not be what you want - if you really meant it, make it explicit by running this command again with the -w flag (or --workspace-root). If you don't want to see this warning anymore, you may set the ignore-workspace-root-check setting to true. ``` This adds the `--workspace-root` flag to the docs command so this is skipped. This might also be needed for yarn but I'm not sure if they have a stable option besides `--ignore-workspace-root-check` on 1.x.
- Loading branch information
a0fabba
There was a problem hiding this comment.
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:
turbo-site – ./docs
turbo.vercel.app
turbo.build
www.turbo.build
turbo.vercel.sh
www.turborepo.org
turbo-site.vercel.sh
turbopack.org
www.turborepo.com
www.turbopack.org
turborepo.org
turbo-site-git-main.vercel.sh