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

19 commits

Author SHA1 Message Date
Ari Leo Frankel 9b88eef897 fix(bin/next:inspect): Allow node inspect flag to be used (#4160)
This accepts arguments to a node --inspect flag as well as other debugging node flags.

Resolves #4151
2018-05-25 15:10:55 +02:00
Tim Neutkens 29c4035eb5 Remove config from bin/next since it's unused (#3496)
* No need to get the config here

* Remove unused functions
2017-12-24 10:05:23 -08:00
Kenneth Auchenberg 20af8cdabe Add option to pass --inspect flag to enable server-side debugging (#3294)
* Add option to pass --inspect flag

* Re-add shebang's

* Tweak spacing

* Use global 'node' when spawning process
2017-11-20 15:51:46 +01:00
Tim Neutkens 152c2c2af3 Make sure NODE_ENV is production for react-dom to optimize 2017-10-29 00:19:59 +02:00
Tim Neutkens bf0d7f8b40 Better error message for missing peerDependencies (#2168)
* Add better error reporting (#2087)

* Apply message to all missing dependencies (#2105)

* Use template string instead of escapes
2017-06-07 14:43:49 +05:30
Arunoda Susiripala f602f6dc1e Copy all the static assests to .out 2017-05-07 15:47:40 -07:00
Kevin Donahue c9bfba6865 Only watch config file that exists on the level of source files (#1643) 2017-04-10 16:07:38 +02:00
Kevin Donahue f9aa7bdbc1 Fix typo in signal message on process close event (#1601) 2017-04-03 09:19:29 +05:30
Tim Neutkens 63e3262f2f Add message for missing peerDependencies (#1187)
* Add message for missing peerDependencies

* Remove exit

* Use console.warn
2017-02-23 17:00:37 +01:00
Jarmo Isotalo 51cbebb240 Don't process.exit(null) when e.g build is SIGKILLed (#887) 2017-01-25 17:10:48 -08:00
Luke Edwards ff7e128c80 add cli version flags (#435)
* add version flags

* fix typo -.-
2016-12-19 12:14:23 -08:00
Stephen Sauceda 955f6817c4 Add cli usage information (#423)
* add cli usage: `next init`

* add cli usage: `next --help`

* add cli usage: `next build --help`

* add cli usage: `next dev --help`

* add cli usage: `next init --help`

* add cli usage: `next start --help`

* use set

* build, start and dev all accept a directory

* typo and conciseness
2016-12-18 12:28:34 -08:00
Ives van Hoorne 5ab7463b93 Exploration of different config + expose webpack config (#222)
* Use next.config.js instead of package.json

* Remove irrelevant comment

* Integrate with custom webpack config

* Include hotReload option

* Remove async/await for getConfig

* Read package.json, show warning when webpack in config is defined

* Prepend warning message with WARNING

* Update log statements

* Documentation

* Restart server on change of config

* Fix process handling and cases where there is no config

* Also restart server when config file gets deleted

* Changed second parameter of webpack to config

* Support for returning Promise

* Update documentation, fix bug with webpack config

* Remove package.json, cdn and hotReload from config
2016-12-17 10:38:11 -08:00
nkzawa ec774a39da refactor paths 2016-10-19 21:58:08 +09:00
nkzawa 1be8447a26 Merge branch 'master' into add/hot-reload 2016-10-17 11:10:16 +09:00
Dan Zajdband 1477734211 Added linting using standard (#27)
* Added linting using standard

* Linting on test
2016-10-16 17:00:17 -07: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
nkzawa 26e6193a97 hot-reload: initial 2016-10-15 00:05:08 +09:00
nkzawa 9b06a22f31 initial source 2016-10-06 08:52:50 +09:00