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

Bump cypress peer dependency to accept 3.x, 4.x, and 5.x #42

Merged
merged 5 commits into from Dec 15, 2020

Conversation

Sauloxd
Copy link
Contributor

@Sauloxd Sauloxd commented Aug 25, 2020

Hi there!

We are having a little problem when bumping to cypress 5, related to multiple cypress versions being installed together, and I think that's due to the multiple versions of cypress being defined in our yarn.lock.

Related issue:

package.json Outdated
@@ -44,6 +44,6 @@
},
"dependencies": {},
"peerDependencies": {
"cypress": "^3.1.0"
"cypress": "^2.1.0 || ^3.1.0 || ^4.0.0 || ^5.0.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about using "cypress": "*" ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be!
The only caveat I see on using * is that what if cypress 6 comes along with a major breaking change? I know it's not a real concern today, but I think it's nice for a library to keep the dependencies list with only known working deps. That way, when cypress 6 comes out (or something like that), you or the core contributors can manually approve that this package is still compatible with the new version, and publish a new version...
But I can change if you want me to, no problem!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Im fine with that.

@bierik
Copy link
Member

bierik commented Dec 10, 2020

@Sauloxd Could you please rebase against master. I updated all devDependencies and let the tests run against cypress 6.x. So https://github.com/4teamwork/cypress-drag-drop/pull/42/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R32 is obsolete them.

@bierik bierik merged commit dc68598 into 4teamwork:master Dec 15, 2020
@Sauloxd Sauloxd deleted the bump-cypress-5 branch December 16, 2020 10:52
@Sauloxd Sauloxd restored the bump-cypress-5 branch December 16, 2020 10:52
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

Successfully merging this pull request may close these issues.

None yet

2 participants