Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check versions before run #7617

Open
AlexWayfer opened this issue Oct 10, 2019 · 0 comments
Open

Check versions before run #7617

AlexWayfer opened this issue Oct 10, 2019 · 0 comments

Comments

@AlexWayfer
Copy link

AlexWayfer commented Oct 10, 2019

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

Request a feature, but current behavior looks like a bug.

What is the current behavior?

Yarn runs scripts with other versions of packages instead of locked.

If the current behavior is a bug, please provide the steps to reproduce.

  1. Use version A of package X ("stylelint": "^10.0.0" for example).
  2. Have script like "lint": "stylelint assets/styles/".
  3. Run yarn install.
  4. Checkout to another git branch, with another version of package X ("stylelint": "^11.0.0", for example).
  5. Execute yarn lint.

What is the expected behavior?

Errors about non-installed versions from package.json or yarn.lock.

Please mention your node.js, yarn and operating system version.

Node.js v12.11.1, Yarn v1.19.1, Arch Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant