yarnpkg/yarn

yarn install --flat - Automatic Choice

Open

#1,658 opened on Nov 3, 2016

View on GitHub
 (30 comments) (180 reactions) (0 assignees)JavaScript (2,731 forks)batch import
cat-featurehelp wanted

Repository metrics

Stars
 (41,514 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Do you want to request a feature or report a bug? feature

What is the current behavior? yarn install --flat asks the user which version of a module they would like, if there is a conflict.

Please mention your node.js, yarn and operating system version. node v6.8.1 npm v3.10.8 yarn v0.16.1

yarn install --flat is wonderful in that it asks the users which version of a dep they want to install. However, it would be immensely useful for automation environments, to allow for an option to direct yarn to automatically assume the newest version.

Contributor guide