Commit Graph

46 Commits

Author SHA1 Message Date
Pooya Parsa
59ff0df052 feat: use consola for logging 2018-03-31 20:52:14 +04:30
Pooya Parsa
53e98a958c feat: rewrite core to esm 2018-03-16 19:42:06 +03:30
qm3ster
ad0649925d
Refactor cli
Extracted common logic
Improved style consistency
2018-02-07 02:44:29 +02:00
Pooya Parsa
dbba642d56 fix debug logs
env.DEBUG should be set BEFORE requireing Utils
2018-01-16 10:13:41 +03:30
Pooya Parsa
13166bcf78 misc: improve CLI errors 2018-01-11 19:41:50 +03:30
Clark Du
fd42610862 fix: lint error in bin 2017-11-24 11:40:46 +03:30
Dmitri Efimenko
6022c5d561 Prevent double compile on nuxt.config.js update 2017-11-22 15:57:39 +03:00
Dmitriy
4451178c99 Improved nuxt dev restart on config change (#2189) 2017-11-22 01:03:37 +03:30
Pooya Parsa
38b71cbe04
fix(nuxt-dev): successful rebuild if nuxt.config.js has problems 2017-11-21 16:36:13 +03:30
Atinux
d93eb06ae9 lint: Lint files 2017-10-31 14:16:40 +01:00
Atinux
69fa6fc637 lint: Lint bin/nuxt 2017-10-30 15:48:19 +01:00
Eric McCormick
a5e16d2fe6 feat(bin): adds version flag
adds --version / -v support for the nuxt binary; will always output version and exit(0)
2017-10-13 12:02:09 +03:30
Pooya Parsa
a289a55a72 simplify modes 2017-08-19 17:52:53 +04:30
Pooya Parsa
d589bc5819 static ~> ssr-only 2017-08-18 17:16:03 +04:30
Pooya Parsa
5903319241 add -m flag 2017-08-18 15:24:35 +04:30
Pooya Parsa
85825d190c fix: gracefully handle unhandled promises
This prevents nuxt process exiting in dev mode on unhandled promises
2017-07-09 17:07:54 +04:30
Marcello Gesmundo
f30a4f7169 Fix #1039 2017-07-06 15:02:48 +02:00
Sebastien Chopin
d3cacd0e58 Add back error handler on nuxt-dev 2017-07-03 13:53:37 +02:00
Sébastien Chopin
e4e9149b54 feat: Add dynamic component injection + example 2017-07-02 20:47:01 +02:00
Sebastien Chopin
ebc6da4c08 Add server-destroy 2017-06-20 15:07:38 +02:00
Pooya Parsa
daa50e4efb refactor server into nuxt 2017-06-20 16:14:47 +04:30
Pooya Parsa
59d7e786aa Fully decouple builder
runBuild flag removed
2017-06-18 20:17:21 +04:30
Sébastien Chopin
fb9b2b5e63 Lint 2017-06-18 13:36:03 +02:00
Pooya Parsa
829ffa634b refactor structure 2017-06-16 17:12:45 +04:30
Pooya Parsa
5722a92c4c many improvements 2017-06-16 02:49:53 +04:30
Pooya Parsa
42bf9bb41d decouple builder from renderer + improvements 2017-06-14 20:43:43 +04:30
Sébastien Chopin
602adf0464 Refactor nuxt commands using minimist 2017-06-12 21:33:25 +04:30
Sebastien Chopin
2b80bc3e5c No need to call build() on development 2017-06-02 17:59:20 +02:00
Pooya Parsa
c5ca8c64f1 refactor: nuxt constructor no longer returns a promise
by not returning a promise we can expose .render method
also the old way of using nuxt won't change by 1.x release
2017-05-31 18:51:16 +04:30
Pooya Parsa
975e468388 app rebuild await for nuxt initialization 2017-05-12 23:19:55 +04:30
Pooya Parsa
497d673727 Install all modules in sequence before nuxt init
For this functionality Nuxt constructor would return a Promise so all bin commands updated to resolve promise before using nuxt
2017-05-11 15:53:58 +04:30
Alex M
c177354633 Add support to --config-file to nuxt-dev 2017-04-19 17:01:26 -03:00
Sébastien Chopin
1cefff8194 Add watchers option and url after build 2017-03-25 15:16:07 +01:00
Sébastien Chopin
c5b8d16a2b Add progress-bar when building 2017-02-08 14:09:59 +01:00
Sébastien Chopin
b8ec7329f7 Set color for debug module 2016-12-15 18:48:31 +01:00
Sébastien Chopin
0dd867cdec Fix rebuild when nuxt.config.js changed 2016-12-14 15:30:55 +01:00
Sébastien Chopin
5b3dc23cd3 Avoid crashing server when config changed 2016-12-12 15:01:30 +01:00
Sébastien Chopin
4aa600e57a Add Server class in nuxt 2016-12-09 20:09:12 +01:00
Sébastien Chopin
7cbc06144d compat with node 4 2016-12-09 19:40:59 +01:00
Sébastien Chopin
a42cda8db4 add es-lint no-console 2016-12-09 18:54:41 +01:00
Sébastien Chopin
bbf6ea2953 Update commands 2016-12-07 18:47:47 +01:00
Sébastien Chopin
2400fabceb Add transition option and package.json next config 2016-11-21 19:53:11 +01:00
Sébastien Chopin
a98e6d4e9b Watch changes on nuxt.config.js when launching nuxt-dev 2016-11-16 18:41:09 +01:00
Sébastien Chopin
2cc88acbe9 Add DEBUG flag when using the bin 2016-11-10 15:24:22 +01:00
Sébastien Chopin
d88948bdea map static to /
v0.3.0
2016-11-10 02:19:47 +01:00
Sébastien Chopin
18a2b57655 Add nuxt-build and nuxt-start, build:false and dev option 2016-11-09 23:59:41 +01:00