yarnpkg/yarn

`yarn add pkg` should default to the version used in the other workspaces instead of latest

Open

#4 154 ouverte le 11 août 2017

Voir sur GitHub
 (9 commentaires) (1 réaction) (0 assignés)JavaScript (2 731 forks)batch import
cat-featuregood first issuehelp wantedhigh-prioritytriaged

Métriques du dépôt

Stars
 (41 514 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

This is an enhancement.

What is the current behavior?

Running yarn add pkg in a workspace will install the latest version of pkg.

What is the expected behavior?

Running yarn add pkg in a workspace should use the same version as the other workspaces if possible in order to deduplicate them.

This is a potentially confusing change so we can discuss it there.

Guide contributeur