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

CLI: Skip builder selection for react native #23042

Merged
merged 3 commits into from
Jun 14, 2023

Conversation

dannyhw
Copy link
Member

@dannyhw dannyhw commented Jun 13, 2023

Closes #23041

Choosing between webpack and vite is confusing for a react-native user since they don't use either. I just set something so that the project gets created as normal without asking.

What I did

adds fallback to webpack for react native, this doesn't seem to effect anything.

How to test

  1. run cli init with type react_native

Checklist

  • Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests)
  • Make sure to add/update documentation regarding your changes
  • If you are deprecating/removing a feature, make sure to update
    MIGRATION.MD

Maintainers

  • If this PR should be tested against many or all sandboxes,
    make sure to add the ci:merged or ci:daily GH label to it.
  • Make sure this PR contains one of the labels below.

["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]

@dannyhw
Copy link
Member Author

dannyhw commented Jun 13, 2023

does this make sense for this or would there be an "other" or "metro" core builder?

@dannyhw dannyhw added the bug label Jun 13, 2023
@dannyhw dannyhw changed the title fix: skip builder selection for react native fix: CLI skip builder selection for react native Jun 13, 2023
@dannyhw dannyhw changed the title fix: CLI skip builder selection for react native CLI: fix skip builder selection for react native Jun 13, 2023
@dannyhw dannyhw changed the title CLI: fix skip builder selection for react native CLI: Skip builder selection for react native Jun 13, 2023
@dannyhw dannyhw marked this pull request as ready for review June 13, 2023 11:13
@dannyhw dannyhw self-assigned this Jun 13, 2023
@shilman shilman added patch:yes Bugfix & documentation PR that need to be picked to main branch cli labels Jun 13, 2023
@kasperpeulen kasperpeulen merged commit 8b9ffc7 into next Jun 14, 2023
@kasperpeulen kasperpeulen deleted the fix/cli-rn-skip-ask-for-builder branch June 14, 2023 15:20
kasperpeulen added a commit that referenced this pull request Jun 14, 2023
…ilder

CLI: Skip builder selection for react native
github-actions bot pushed a commit that referenced this pull request Jun 14, 2023
…ilder

CLI: Skip builder selection for react native
(cherry picked from commit 8b9ffc7)
kasperpeulen added a commit that referenced this pull request Jun 14, 2023
…ilder

CLI: Skip builder selection for react native
(cherry picked from commit 8b9ffc7)
@JReinhold JReinhold added the patch:done Patch/release PRs already cherry-picked to main/release branch label Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cli patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: sb init for react-native asks for builder type (webpack/vite) - this doesn't apply
4 participants