Skip to content

Yarn resolutions only works with fixed versions not dist-tags #6666

Open

Description

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions