Skip to content

Commit

Permalink
format doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebolam committed Dec 24, 2018
1 parent d305238 commit 29de7e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lang/en/docs/yarn-version-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@ layout: guide
{% include vars.html %}

## Motivation <a class="toc" id="toc-motivation" href="#toc-motivation"></a>

As your usage of yarn grows, you will find yourself with projects that depend on certain versions of yarn.
Once you hit this scale it can be difficult to keep all your projects compatible with the latest version of yarn.
This becomes increasingly more difficult if you have many developers working on these projects, as it is near impossible to have all project-contributors running the same version of yarn.
To mitigate this, you can manage your version of yarn per project.

#### Use `yvm`, the yarn version manager <a class="toc" id="toc-use-yvm-the-yarn-version-manager" href="#toc-use-yvm-the-yarn-version-manager"></a>

You [can use yvm](https://yvm.js.org/) to manage your yarn versions

#### Commit the yarn binary to the project and use `yarn-path` in `.yvmrc` <a class="toc" id="toc-commit-the-yarn-binary-to-the-project-and-use-yarn-path-in-yvmrc" href="#toc-commit-the-yarn-binary-to-the-project-and-use-yarn-path-in-yvmrc"></a>

See [`yarn-path` in the yarnrc docs](/lang/en/docs/yarnrc/#toc-yarn-path)

0 comments on commit 29de7e9

Please sign in to comment.