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

Pick react-script version to use in CLI #437

Closed
joaosoares opened this issue Aug 14, 2016 · 2 comments
Closed

Pick react-script version to use in CLI #437

joaosoares opened this issue Aug 14, 2016 · 2 comments

Comments

@joaosoares
Copy link

It'd be nice to have a way to optionally specify the react-scripts version to be used when creating a new app, so that we can try out the alpha versions on npm. Manually changing the version after the app is created won't copy over new template files such as the test folder. For example,

create-react-app --version="0.3.0-alpha"
@gaearon
Copy link
Contributor

gaearon commented Aug 14, 2016

It is already possible via --scripts-version flag. It's not documented because we want people to use latest but it's there for power users. You can check the CLI source for it.

@gaearon gaearon closed this as completed Aug 14, 2016
@joaosoares
Copy link
Author

Thank you!

@lock lock bot locked and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants