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

Preserve the version constraint when running upgrade and upgrade-interactive #2367

Open
armandabric opened this issue Jan 2, 2017 · 0 comments

Comments

@armandabric
Copy link

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

What is the current behavior?
When using yarn upgrade-interactive the used version constraint ~ are changed to ^.

# Before `yarn upgrade-interactive`
-    "postcss-reporter": "~2.0.0",
-    "react": "~15.3.1",
-    "react-dom": "~15.3.1",
-    "react-element-to-jsx-string": "~4.2.0",

# After `yarn upgrade-interactive`
+    "postcss-reporter": "^3.0.0",
+    "react": "^15.4.1",
+    "react-dom": "^15.4.1",
+    "react-element-to-jsx-string": "^5.0.5",

What is the expected behavior?
When I upgrade my dependencies I expect that the version constraint are not changed.

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

@arcanis arcanis changed the title Preserve the version constraint when running yarn upgrade-interactive Preserve the version constraint when running upgrade and upgrade-interactive Jun 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants