Commit Graph

75 Commits

Author SHA1 Message Date
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
Pooya Parsa
f2663033fc feat(nuxt-generate): --no-build flag
Much faster generates for when just dynamic routes changed
2017-10-27 18:45:34 +03:30
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
6c4803a840 nuxt-start: check if ssr bundle is required 2017-08-19 14:30:40 +04:30
Sebastien Chopin
7f12803086 disable minify for spa 2017-08-18 15:46:00 +02:00
Sebastien Chopin
1507061138 Distinct spa mode to use generate directly 2017-08-18 15:44:16 +02:00
Pooya Parsa
2c1473c233 disable minify on build generate 2017-08-18 17:36:46 +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
61111c87f0 move errors.js 2017-08-12 23:48:01 +04:30
Pooya Parsa
ea33d83c2e pretty-error integration 2017-08-05 22:16:39 +04:30
Pooya Parsa
60b28e887f fix(nuxt-start): build detection
spa builds has no ssr json file
2017-08-05 16:15:31 +04:30
Pooya Parsa
e6987d62f0 chore: remove uncessesarry source-map install 2017-07-17 22:29:31 +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
Sébastien Chopin
840a6cfe00 Fix small typos 2017-06-18 19:32:59 +02:00
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
9d1765ae91 nuxt-start: throw error if nuxt build not called 2017-06-16 18:34:40 +04:30
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
2576e8795e init() ~> ready() 2017-06-15 19:29:26 +04:30
Pooya Parsa
25d106e2ab runBuild option 2017-06-14 23:21:14 +04:30
Pooya Parsa
42bf9bb41d decouple builder from renderer + improvements 2017-06-14 20:43:43 +04:30
Pooya Parsa
030273db49 improve build lifecycle 2017-06-14 00:01:30 +04:30
Sebastien Chopin
9e433764d7 Merge branch 'dev' of github.com:nuxt/nuxt.js into dev 2017-06-12 19:37:28 +02:00
Sebastien Chopin
7760e9a49b generate: exit when done and send back duration & errors 2017-06-12 19:36:47 +02:00
Sébastien Chopin
c9313572bd Refactor nuxt commands using minimist 2017-06-11 15:48:20 +02:00
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
Pierre RAMBAUD
fbd1c609fd Add missing comments 2017-03-15 15:14:16 +01:00
Pierre RAMBAUD
c3bcd05295 Add config file option
- Add optional --config-file and -c argv parameters
- Display log message if file isn't found

Issue: #391
2017-03-15 15:01:44 +01:00
Sébastien Chopin
c5b8d16a2b Add progress-bar when building 2017-02-08 14:09:59 +01:00
Sébastien Chopin
17650c25e0 Middleware feature 🔥 2017-02-03 15:09:38 +01:00
Sébastien Chopin
f40dfbaeee Use default is option un given 2017-01-24 20:25:56 +01:00
Sébastien Chopin
7552da1453 Add analyse option 2017-01-23 17:56:05 +01:00
Sébastien Chopin
e016b5d184 Exit with code 1 on build error 2017-01-20 18:55:30 +01:00