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

Uses the corresponding react-native init version #581

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

TatianaKapos
Copy link
Contributor

@TatianaKapos TatianaKapos commented Jul 2, 2024

closes #580

Summary

Uses the corresponding version of react-native init as specified by the "--version" flag. This allows the module to be used on RNW versions other than "latest" since latest isn't always compatible with every version and a new version may introduce breaking changes.

Test plan

Actually wasn't able to test this module locally, the instructions failed for me :( but tested npx --yes [email protected] init testcli --directory examples --version 0.75.0-rc.2 --skip-install --npm to make sure it works as intended.

@TatianaKapos
Copy link
Contributor Author

@satya164 let me know if you need anything else from me! This should fix using this module with the new nightly versions of RN :)

Copy link
Member

@satya164 satya164 left a comment

Choose a reason for hiding this comment

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

Thank you

@satya164 satya164 merged commit 1ff7d0c into callstack:main Jul 2, 2024
15 of 32 checks passed
@satya164
Copy link
Member

satya164 commented Jul 2, 2024

I'll check locally and release tomorrow.

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.

create-react-native-library fails with new versions of RN
2 participants