Pooya Parsa
16821361a0
pass cli tests
2018-03-12 03:07:38 +03:30
Pooya Parsa
a354d2fa55
hide debug lines by default
2018-03-12 02:44:46 +03:30
qm3ster
ad0649925d
Refactor cli
...
Extracted common logic
Improved style consistency
2018-02-07 02:44:29 +02:00
NicoPennec
ff8ffb9592
feat: check expectated node version
2018-01-30 02:57:24 +01: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
c3bcda873c
fix(nuxt-build): wait for use exit when running with --analyze flag
2018-01-14 14:04:58 +03:30
Pooya Parsa
b3e9952976
fix: logError is not a function. fixes #2577 .
2018-01-13 08:40:01 +03:30
Pooya Parsa
cc29b26cbe
fix: exit with code (0) on successful nuxt-build. fixes #2569 .
2018-01-13 00:51:49 +03:30
Pooya Parsa
3c4b57e1f7
minor fixes
2018-01-11 23:13:34 +03:30
Pooya Parsa
118d3fb8c2
imrpove nuxt-generate error report summary
2018-01-11 21:50:35 +03:30
Pooya Parsa
061059beb4
update generate cli & tests
2018-01-11 20:03:30 +03:30
Pooya Parsa
13166bcf78
misc: improve CLI errors
2018-01-11 19:41:50 +03:30
Pooya Parsa
771945c789
use pretty error handler
2018-01-11 17:41:49 +03:30
Ivan Santos
26ba9f43ea
remove duplicated --spa flag on nuxt-generate help ( #2467 )
2017-12-28 08:54:12 +03:30
Clark Du
fd42610862
fix: lint error in bin
2017-11-24 11:40:46 +03:30
Pim
65f4a030f4
refactor generator + cli tests ( #2205 )
...
* Rename this.generateRoutes to this.staticRoutes
* Refactor generator to separate logic
* Move routeCreated hook to generateRoute
Add routeFailed hook for unhandled exceptions
Keep page errors separately until page hooks have been called
* Move debug and report statements to hooks
* pageErrors can be a const
Push pageErrors to errors
* fix done hook, errors are 2nd param
* Add generator hooks to nuxt-build for spa mode
* Added a cli integration test for bin/nuxt-(build|start|generate)
* Removed unnecessary waitFor
* Use pify instead util.promisify for v6 compatibility
* Fix windows build
You cant execute .js files directly on Windows/Appveyor so call node with nuxt-*.js file as argument
* Fix windows build (2)
Use correct folder separators in text search
* Fix possible timing quirck in children.path.test
2017-11-24 02:01:54 +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
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