yarnpkg/yarn

Yarn resolutions only works with fixed versions not dist-tags

Open

#6,666 opened on 2018年11月12日

GitHub で見る
 (3 comments) (6 reactions) (1 assignee)JavaScript (41,514 stars) (2,731 forks)batch import
cat-featurehelp wanted

説明

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

Yarn resolutions only works with fixed versions, not dist-tags

What is the current behavior? Yarn installs react@latest not react@next

If the current behavior is a bug, please provide the steps to reproduce. run the yarn install on the following package.json document

{ "name": "yarn-test", "version": "1.0.0", "license": "ISC", "private": true, "resolutions": { "react": "next" }, "dependencies": { "react": "latest" } }

What is the expected behavior? Yarn installs react@next not react@latest

Please mention your node.js, yarn and operating system version. yarn: 1.12.3 node: 8.11.4 os: Windows 10

コントリビューターガイド