Clark Du
b11e9c0e51
feat: upgrade eslint to 5.x ( #3494 )
...
- [ ] babel-eslint https://github.com/babel/babel-eslint/issues/664
- [x] eslint-config-standard-jsx https://github.com/standard/eslint-config-standard-jsx/issues/32
- [x] eslint-config-standard to be stable release https://github.com/standard/eslint-config-standard/issues/123
- [x] eslint-plugin-html
- [x] eslint-plugin-import
- [x] eslint-plugin-jest
- [x] eslint-plugin-node
- [x] eslint-plugin-promise
- [x] eslint-plugin-standard https://github.com/standard/eslint-plugin-standard/issues/29
- [x] eslint-plugin-vue https://github.com/vuejs/eslint-plugin-vue/pull/504
- [x] eslint-plugin-react https://github.com/yannickcr/eslint-plugin-react/releases/tag/v7.10.0
2018-08-31 21:34:12 +01:00
Tatsuyuki Ishi
716c04f4e9
Isolate client and server artifacts ( #3758 )
2018-08-20 18:04:55 +02:00
Clark Du
1492a13162
refactor: nuxt dev watcher ( #3732 )
2018-08-15 13:48:34 +02:00
Jonas Galvez
f184016197
Server middleware watcher ( #3718 )
...
See https://github.com/nuxt/nuxt.js/issues/1509
Status: improving tests.
2018-08-14 19:35:25 +01:00
Clark Du
c55f213743
fix: use correct server config in nuxt dev
2018-08-13 16:34:01 +01:00
Clark Du
3b4b8640b8
fix: use correct config for server host and port
2018-08-13 16:31:54 +01:00
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
Clark Du
b60c4fd432
refactor: add build.quiet config
2018-08-12 14:35:24 +01:00
Alexander Lichter
04e53b0f9f
feat: add --quite mode for nuxt-build ( #3700 )
...
* feat: add quite mode for nuxt-build
* fix: typoe
* fix: better description
* revert: level change in options
2018-08-12 10:43:30 +01:00
Alexander Lichter
427e836688
lint: force dot-notation where applicable ( #3677 )
2018-08-10 08:19:19 +01:00
Clark Du
68dfc60078
fix: lint error in bin ( #3668 )
2018-08-09 22:35:55 +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
a522aaf125
misc: add user-defined chokidar files to watch (2) ( #3633 )
...
* misc: add user-defined chokidar files to watch
* Improved user-defined chokidar files setup
* Improved user-defined chokidar files setup (2)
* Added custom file for CLI watch test
* Added cli.dev.test.js
* Added cli.dev.test.js (2)
* Remove cli-start/cli.dev, just use cli.test
* Refactored CLI test
* Missing dot in fname
* Improved user-defined chokidar files setup (3)
* Fix killNuxt()
* Remove genHandlers
* Refactored CLI test (2)
* Refactor exitCode
* Remove debugging code
* Remove debugging code (2)
* Linting
* Linting (2)
* Disable nuxt-start test for now
* Disable nuxt-start test for now (2)
* Tweaking nuxt-start test
* Tweaking nuxt-start test (2)
* Tweaking nuxt-start test (3)
* Fix ext
* Tweaked wait params
* Fix conflicts
* hotfix
* nuxt-dev tweak
* Add blank line after variables declaration
* Disable waitFor() test due to random failure in appveyor
* Fixed error msg
* Refactored into builder.js
* Refactored into builder.js (2)
* Remove unnecessary import from nuxt-dev
* Fixed nuxt-dev test
* Debugging nuxt-dev test
* Debugging nuxt-dev test (2)
* Skip in appveyor
* Linting
* Requested changes
* Hook into nuxt-dev
* Hook into nuxt-dev (2)
* Get fname
* Get fname (2)
* Get fname (3)
* Change hook name
* Fixed conflict
2018-08-08 19:51:57 +01:00
Sébastien Chopin
83700a58da
fix: Use dist/nuxt-start to faster bootup
2018-08-08 18:23:53 +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
a0ca257263
fix: lost context in closures
2018-07-25 17:10:56 +01:00
Alexander Lichter
095404a251
refactor: change function calls when arity is one ( #3563 )
2018-07-20 16:42:31 +01:00
Akos Kovacs
2e6d503f76
fix(builder): nuxt build -a
omits webpack-bundle-analyzer options declared in nuxt.config.js ( #3390 , #3391 )
2018-06-06 17:00:22 +04:30
Pooya Parsa
412ffd4c06
feat: auto fallback to legacy build for node@6 support
2018-06-01 16:56:13 +04:30
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
63fe3fd803
feat: add --no-generate option
...
useful for SPA builds that don't need static dist/ to be generated
2018-04-15 11:11:31 +04:30
Sébastien Chopin
7d3afb0502
fix: nuxt-build generate dist/ when spa mode (remove --generate option)
2018-04-13 13:21:58 +02:00
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
0ca99426c9
chore: remove unnecessary scopes
2018-04-02 00:50:46 +04:30
Pooya Parsa
f14ac05ce4
perf(nuxt-dev): start first listen as fast as possible
...
also fixes problem with showReady not showing on first compile
2018-04-02 00:26:59 +04:30
Pooya Parsa
88c3cddf32
fix: handle fatal errors
2018-04-02 00:06:30 +04:30
Pooya Parsa
46fcf47db1
fix: prevent showReady when has compile errors
2018-04-02 00:00:39 +04:30
Pooya Parsa
89d5f3753e
perf: prevent duplicate showReady
2018-04-01 00:50:14 +04:30
Pooya Parsa
5e595e7e66
misc: improve cli
2018-04-01 00:26:38 +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
Pooya Parsa
5ee9ed459b
fix(nuxt-build): always wait for analyze plugin when enabled
2018-03-27 11:43:29 +04:30
Pooya Parsa
8ed2b60707
fix nuxt-build script
2018-03-27 11:40:50 +04:30
Pooya Parsa
b8d30d806a
misc: improve --generate option
...
static version will be generated and auto open + json stats
2018-03-27 11:22:22 +04:30
Pooya Parsa
d9c2575652
feat(nuxt-build): add --generate option
2018-03-20 13:45:18 +03: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
Pooya Parsa
76b5e0454a
use webpack's built in minimizer
2018-03-13 15:28:40 +03:30
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