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

feat: convert command options and dependencyConfig into getters #2226

Merged

Conversation

okwasniewski
Copy link
Contributor

@okwasniewski okwasniewski commented Dec 21, 2023

Summary:

This PR converts buildOptions and runOptions to follow the same builder pattern. That way we can remove irrelevant platform options and stick to a consistent pattern.

Dependency config is now also a builder for consistent usage. Example of run-visionos --help:

CleanShot 2023-12-21 at 10 11 50@2x

Test Plan:

Test --help command

Checklist

  • Documentation is up to date to reflect these changes.
  • Follows commit message convention described in CONTRIBUTING.md

@okwasniewski okwasniewski force-pushed the feat/commandOptionsGetters branch from 6426ad7 to dd15e98 Compare December 21, 2023 10:50
@okwasniewski
Copy link
Contributor Author

I think we can do a release after this one, as it's the last PR with API change. cc: @thymikee

@thymikee thymikee merged commit bcdfcd7 into react-native-community:main Dec 21, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation change feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants