-
-
Notifications
You must be signed in to change notification settings - Fork 151
fix: remove deprecated addons package #130
fix: remove deprecated addons package #130
Conversation
|
Correct me if i'm wrong, but making these changes will break compatability with lower versions? This isnt a problem, but if it does, we should change the version numbers to enforce this. |
|
Yes, I think it will be the case. |
RealOrangeOne
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change the required version numbers in package.json to prevent use on versions <0.43.
|
How can I do this ? With peerDependencies ? |
a1114d8 to
fb0e2e5
Compare
|
Yes, change the |
|
I change the version of the package, change some code for avoid warning due to deprecation.
But I don't know how to handle the different versions of React. |
|
Looks like the versioning issue is because |
|
Sorry for the late answer. I try the regExp but I still have a warning of missing peerDependencies, because all the package require I don't know how to handle it. |
|
How strange. Try reverting all the changes you made to version numbers for constraint then, as it seems it worked before you made these changes. Maybe then it'll work? |
|
I don't think so, because I try to build the I try to revert all the changes related to version, deprecation, etc... With fresh clone: |
46ce933 to
501edde
Compare
|
Sounds like the issue is because |
|
It seems a good option, I don't know how to handle this conflict versions. But it doesn't solve the problem for the |
501edde to
42bc829
Compare
|
Any update on this? |
|
Go to Jest, the contributors to this repo are too slow to keep up with facebook and Jest is the official test framework for react (as denoted by facebook) |
|
@Brian-Kaplan I disagree, many people arent able to move to Jest, and being official doesnt necessarily make it better. I plan to focus most of my time on this and the remaining open issues in the coming weeks, however time has been thin recently. |
|
@RealOrangeOne I definitely didn't say it was better, and I agree it's not. My team now has more work to do in terms of creating a useable test framework with Jest. We are, however, confident that moving to Jest is the right choice. Mainly because the lack of movement on this issue solidifies the fact that we would not be able to keep up to date on react-native if we use this repo. Although it creates more work for us in terms of test framework we get important bug fixes released by facebook. "however time has been thin recently." - thats clear |
|
@samouss @RealOrangeOne @Brian-Kaplan Any update on this? |
|
Any update on this? |
…t-class module instead
42bc829 to
0a188a1
Compare
|
I'm getting |
|
Please merge this so anyone on RN 43, 44, 45, 46, 47, 48, 49, or 50 can use react-native-mock. |
|
I don't think it's necessary since the rewrite is almost done. We should probably close this one in favour of #120. |
Fixed #129