Commit Graph

65 Commits

Author SHA1 Message Date
Clark Du
b920f22483
refactor: add hooks (#3772) 2018-08-20 15:20:45 +01:00
Jonas Galvez
97910de3ec Improve hooks in nuxt.config.js (#3766)
* Improve hooks in nuxt.config.js

* No mult-line for
2018-08-20 14:19:09 +02:00
Clark Du
e9bb9e7236 fix: avoid duplicate listening message 2018-08-16 10:36:54 +01:00
Clark Du
1492a13162 refactor: nuxt dev watcher (#3732) 2018-08-15 13:48:34 +02:00
Clark Du
85a8af570d refactor: use resloveAlias for watch 2018-08-13 22:25:03 +01:00
Alexander Lichter
52d9629bac eslint: Prefer const over let (#3650) 2018-08-08 12:54:05 +02:00
Sébastien Chopin
a3926d5266 core: Show ip address if hostname is 0.0.0.0 2018-08-08 12:45:49 +02:00
Jonas Galvez
3f1d634fb7 Consistent parens in arrow functions (#3630)
* Minor consistency enhancements

* Arrow parenthesis consistency

* Change linting rule

* Fix typo

* Update .eslintrc.js to only require parens for blocks

* Update style according to brace-only suggestion

* Remove --fix from lint

* Tweak no-loading time (failing test)

* Tweak no-loading time (failing test) (2)

* Tweak no-loading time (failing test) (3)

* Tweak no-loading time (failing test) (4)

* Tweak no-loading time (failing test) (5)
2018-08-06 02:12:44 +02:00
Clark Du
5bdd0dd8a5
fix: undefined host in listening on message (#3595)
Fix error in #3529
2018-07-26 17:38:15 +01:00
Blake Kostner
ee95461cb1 resolve server listen details with server.address() (#3529)
* resolve server listen details with server.address()

* remove empty whitespace

* overwrite host and port in server listen method

* no let
2018-07-26 15:52:00 +02:00
Clark Du
dfef5252de
Merge remote-tracking branch 'origin/master' into dev 2018-07-19 12:26:52 +01:00
Clark Du
e2296061b0
misc: fix typos 2018-07-18 15:39:48 +01:00
Blake Kostner
842cc19431 fix(nuxt): try to resolve node_modules before alias logic (#3505)
Fixes issues with @<organization>/<package> for plugins and more.
2018-07-06 18:57:21 +04:30
zyxd
3b2ed038da fix: wait for core to be ready before listen (#3407) 2018-06-06 21:22:08 +04:30
Pooya Parsa
e4ee624011 feat: improve esm handling
disables esm for nuxt modules
2018-04-05 13:08:54 +04:30
Pooya Parsa
1484928237 chore: add http:// to ready message 2018-04-02 15:42:29 +04:30
Pooya Parsa
0ca99426c9 chore: remove unnecessary scopes 2018-04-02 00:50:46 +04:30
Pooya Parsa
9f8aea5a4c fix: fatal error on nuxt ready 2018-04-02 00:07:57 +04:30
Pooya Parsa
89d5f3753e perf: prevent duplicate showReady 2018-04-01 00:50:14 +04:30
Pooya Parsa
46c7fd2767 fix: default ready message 2018-03-31 21:39:06 +04:30
Pooya Parsa
59ff0df052 feat: use consola for logging 2018-03-31 20:52:14 +04:30
Pooya Parsa
948d56622e misc: improve onReady CLI experience (#3143) 2018-03-29 02:35:27 +04:30
Clark Du
ef7a42649d misc: improve coverage and packaging (#3121)
nuxt-start and nuxt/legacy are also coming!
2018-03-28 02:58:17 +04:30
Pooya Parsa
6234ae84c0 refactor(core): use strict mjs 2018-03-16 22:41:24 +03:30
Pooya Parsa
53e98a958c feat: rewrite core to esm 2018-03-16 19:42:06 +03:30
Clark Du
78aac2df26
deprecate: remove nuxt.plugin 2018-03-15 17:49:14 +08:00
Clark Du
4907e81574
test: resolvePath throws error 2018-01-29 11:41:56 +08:00
Pooya Parsa
3c4b57e1f7 minor fixes 2018-01-11 23:13:34 +03:30
Pooya Parsa
f30ef38c70 fix(core): use options.extensions for resolvePath 2018-01-11 22:19:54 +03:30
Pooya Parsa
13166bcf78 misc: improve CLI errors 2018-01-11 19:41:50 +03:30
Pooya Parsa
cef64cdbad improve error handling 2018-01-11 18:43:52 +03:30
Pooya Parsa
771945c789 use pretty error handler 2018-01-11 17:41:49 +03:30
Pooya Parsa
e5ffbdfcd2 feat(module): improve error handling 2018-01-11 16:58:56 +03:30
Pooya Parsa
49b43c4be3 improve modulesDir 2017-12-13 04:39:38 +03:30
Pooya Parsa
9b8cbed512 perf: remove rollup build
Using native node 8.x for less transpilations
2017-12-12 13:12:29 +03:30
Clark Du
06ae3868fe feat: add Nuxt.version 2017-11-30 14:00:49 +03:30
Dmitriy
967a442d5e resolve extra modules if nuxt linked (#2212) 2017-11-24 11:50:00 +03:30
Pooya Parsa
711e6a916e fix: add deprecated warn for tapables + simple backward compatibility 2017-11-07 17:18:46 +03:30
Atinux
7137f848a2 hooks: Handle hooks as object 2017-10-31 12:33:15 +01:00
Sébastien Chopin
daaa5bdd12 hook: Handle hook error and continue process 2017-10-30 23:15:35 +01:00
Sébastien Chopin
94ad5955e6 Hooks ready to be tested 2017-10-30 22:39:08 +01:00
Atinux
6648695015 refacto: Hooks 2017-10-30 18:41:22 +01:00
Atinux
379d4f72d4 refacto: Refacto nuxt.build() to finish after webpack is done 2017-10-30 15:46:06 +01:00
Pooya Parsa
a585d8cb35 imrpove CLI experience for OPEN url 2017-08-19 14:59:41 +04:30
Hana Shiro
db19b50a02 internals: improve options module (#1392) 2017-08-16 12:10:10 +04:30
Pooya Parsa
c5578f8822 green OPEN message
nuxt branding
2017-08-05 23:25:18 +04:30
Pooya Parsa
be4d8c5e13 internal refactors 2017-07-30 16:50:58 +04:30
Pooya Parsa
1417dae99b update tapable plugins 2017-07-30 16:17:50 +04:30
Hana Shiro
72a9beff64 Resolve requires from rootDir 2017-07-22 20:30:31 +08:00
Hana Shiro
1401434594 Resolve non-js package importing 2017-07-22 20:29:44 +08:00