yarnpkg/yarn

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

Open

#4,154 创建于 2017年8月11日

在 GitHub 查看
 (9 评论) (1 反应) (0 负责人)JavaScript (2,731 fork)batch import
cat-featuregood first issuehelp wantedhigh-prioritytriaged

仓库指标

Star
 (41,514 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南