Commit Graph

14 Commits

Author SHA1 Message Date
Sébastien Chopin
baaf67def6 Revert "env: Add NUXT_ROOT_DIR env to work with pm2"
This reverts commit 17275d52df.
2018-09-06 14:35:51 +02:00
Sébastien Chopin
17275d52df
env: Add NUXT_ROOT_DIR env to work with pm2 2018-09-06 14:27:56 +02:00
Jonas Galvez
72479687d9 feat(core, cli): builtin support of https and unix sockets (#3831)
Co-authored-by: Aurélien Chrétien <aurelien@manager.one>
Co-authored-by: Rémy Sanchez <remy.sanchez@hyperthese.net>
2018-09-02 13:50:25 +04:30
Anthony Fu
0dff1b8fe9 feat: support server option in nuxt.config.js to set PORT and HOST (#3701)
* feat: support `server` option in `nuxt.config.js` to set PORT and HOST

* lint

* change the conifg priority to `argv > nuxt.config.js > env.NUXT_PORT > env.PORT > package.json > default`

* check for `options.server`
2018-08-12 15:26:30 +01:00
Alexander Lichter
427e836688 lint: force dot-notation where applicable (#3677) 2018-08-10 08:19:19 +01:00
Alexander Lichter
52780d3257 feat: add NUXT_HOST and NUXT_PORT for host retrieval (#3651)
related: #3609
2018-08-08 20:18:06 +01: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
Pooya Parsa
b7c6a87239 fix(bin): allow cjs __dirname in nuxt.config.js 2018-05-02 14:29:55 +04:30
Pooya Parsa
050e380203 fix(nuxt-dev): ensure cache is cleaned for nuxt.config.js 2018-04-22 12:01:45 +04:30
Pooya Parsa
ba4aa6dc09 fix for #3197. 2018-04-05 20:04:36 +04:30
Pooya Parsa
e4ee624011 feat: improve esm handling
disables esm for nuxt modules
2018-04-05 13:08:54 +04:30
Pooya Parsa
ed5bfacb4d eslint: fix import/order 2018-03-16 23:22:17 +03: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