rsnext/packages/create-next-app/helpers
Dylan Brookes bc7d18367b
Confirm if user wants example when creating app (#10543)
* Confirm if user wants example when creating app

* Only ask user to choose example if they provide --example flag

* Simplify the search

* Added test

* Use a select to pick the template

* Updated test

* check for lowercase and updated no example message

* Add message if no template is selected

* Updated tests

* Handle error if fetching the examples fails

* Fixed tests

* Updated test timeout

* Update examples.ts

Co-authored-by: merelinguist <merelinguist@users.noreply.github.com>
Co-authored-by: Luis Alvarez <luis@zeit.co>
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-07 13:11:29 -04:00
..
examples.ts Confirm if user wants example when creating app (#10543) 2020-04-07 13:11:29 -04:00
git.ts Initialize Git repo on app creation (#9376) 2019-11-10 21:42:51 -08:00
install.ts Adjust Create Next App install env (#8431) 2019-08-20 00:41:51 -04:00
is-folder-empty.ts Rewrite Create Next App (#8030) 2019-07-19 15:55:30 -04:00
is-online.ts Rewrite Create Next App (#8030) 2019-07-19 15:55:30 -04:00
should-use-yarn.ts [create-next-app] update logic for shouldUseYarn function (#11683) 2020-04-06 09:32:20 +02:00
validate-pkg.ts Rewrite Create Next App (#8030) 2019-07-19 15:55:30 -04:00