1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
Commit graph

5 commits

Author SHA1 Message Date
Tim Oxley 5595232f58 next init: Exit non-zero when refusing to run in 'pages' dir. (#156)
Should only exit `0` if the command was successful. The command refusing to execute should be considered a failure.

Also, this condition can be detected synchronously, no need to wait on the async existence check.
2016-10-30 15:03:05 +09:00
Tim Oxley da1cdcb843 next init: create package.json with empty description (#135) 2016-10-28 12:05:30 +01:00
Tim Oxley cab1f48d1e next init: Inherit project name from directory. (#134) 2016-10-28 12:05:11 +01:00
Dan Zajdband 38efb9f96e Using process.exit instead of exit 2016-10-25 16:03:24 +01:00
Dan Zajdband 97ad053855 Added next init command for starting a new project (#15)
* Added next bootstrap command for starting a new project

* renamed bootstrap to init and check we are not in a dir called pages

* Removed extra empty line
2016-10-16 16:55:30 -07:00