Closed chetstone closed 7 months ago
The whole list of packages that are part of the default preset (as mentioned in many places across the documentation) can be found here: https://github.com/microsoft/rnx-kit/tree/main/packages/align-deps#capabilities
As you can see there, codepush is not one of those. That's precisely why we have a way for expanding and customizing the presets.
By the way, keep in mind that:
Visual Studio App Center is scheduled for retirement on March 31, 2025. After that date it will not be possible to sign in with your user account nor make API calls. App Center will continue to be supported until March 31, 2025, with critical bug fixes and technical support.
find more info in the dedicated documentation.
Thanks for the heads up about codepush retirement. Frankly, I haven't actually used it to update production apps for a few years. Maybe I'll just remove it.
What happened?
I just upgraded react-native from 0.70 to 0.71. After making all the required changes to RN template files, I ran rnx-align-deps and inspected the results. It did not tell me my react-native-code-push was incompatible with 0.71. I had to track down a very inscrutable error message until I finally found this issue and realized I needed to update RNCodePush.
If I hadn't had access to
rnx-kit align-deps
I probably would have checked code-push compatibility before trying to build, because I am aware it's one of the packages that can have this problem. But I was counting on align-deps to find these dependencies, and I would have thought that since code-push is a popular package, and built by (ahem), the same company, that it would be included.Perhaps I'm misunderstanding what I should be expecting from align-deps?
Affected Package
@rnx-kit/align-deps
Version
2.4.2
Which platforms are you seeing this issue on?
System Information
Steps to Reproduce
This is my package.json
Code of Conduct