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

use yarn instead of npm #1490

Closed
kevinbarabash opened this issue Jul 18, 2018 · 1 comment
Closed

use yarn instead of npm #1490

kevinbarabash opened this issue Jul 18, 2018 · 1 comment

Comments

@kevinbarabash
Copy link
Member

npm has changed the format of package-lock.json between v5 and v6. The yarn.lock format is intended to be stable so even if the organization of node_modules changes between versions, yarn.lock should remain unchanged. Also, yarn install doesn't update its lock file whereas you have to pass npm the --no-save option if you want to prevent changes to `package-lock.json. The downside of this change is that people will have to install yet another package manager.

@ylemkimon
Copy link
Member

In #1484, Docusaurus recommends using yarn, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants