yarnpkg/yarn

Yarn resolutions only works with fixed versions not dist-tags

Open

#6.666 geöffnet am 12. Nov. 2018

Auf GitHub ansehen
 (3 Kommentare) (6 Reaktionen) (1 zugewiesene Person)JavaScript (41.514 Stars) (2.731 Forks)batch import
cat-featurehelp wanted

Beschreibung

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

Contributor Guide