-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Update create-expo-app CLI help screen and README to reflect new default template in v51 #28738
base: main
Are you sure you want to change the base?
Conversation
As mentioned at https://expo.dev/changelog/2024/05-07-sdk-51#new-default-project-template-and-%22getting-started%22-flow, the default template changed from 'blank' to 'tabs'. This change just fixes the CLI help screen to reflect that.
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.
thanks for pointing this out! i completely missed it. made some changes to your suggestion because we actually use the default
template and not tabs
(we may drop the tabs
template at some point)
@@ -38,7 +38,7 @@ async function run() { | |||
[ | |||
`-y, --yes Use the default options for creating a project`, | |||
` --no-install Skip installing npm packages or CocoaPods`, | |||
chalk`-t, --template {gray [pkg]} NPM template to use: blank, tabs, bare-minimum. Default: blank`, | |||
chalk`-t, --template {gray [pkg]} NPM template to use: default, blank, tabs, bare-minimum.`, |
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.
@brentvatne maybe we should omit this, we also support github URLs or tarbal paths with --template
. That's not reflected here at all either.
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.
Wouldn't the more appropriate solution be to include all options here?
Why
As mentioned at https://expo.dev/changelog/2024/05-07-sdk-51#new-default-project-template-and-%22getting-started%22-flow, the default template changed from 'blank' to 'tabs'. This change just fixes the CLI help screen and README to reflect that.
How
Just fixed the instructions text
Test Plan
Checklist
npx expo prebuild
& EAS Build (eg: updated a module plugin).