Commit Graph

358 Commits

Author SHA1 Message Date
renovate[bot]
1f74362d38 Update dependency consola to ^2.7.1 (#5809) 2019-05-26 14:44:05 +04:30
renovate[bot]
f00f02171f Update all non-major dependencies (#5808) 2019-05-26 14:28:57 +04:30
Dmitry Molotkov
5ae03d0d4b chore(deps): unpin and update esm (#5804) 2019-05-25 18:47:02 +04:30
Alexander Lichter
d08ce2f628 refactor: small readability improvements (#5748) 2019-05-16 14:38:44 +04:30
renovate[bot]
c2c2945f05 chore(deps): update all non-major dependencies (#5735) 2019-05-15 15:56:07 +04:30
pooya parsa
0f609dfb37 v2.7.1 2019-05-14 23:24:56 +04:30
pooya parsa
5a98230ec6 v2.7.0 2019-05-14 17:05:38 +04:30
renovate[bot]
017d3a490a chore(deps): update all non-major dependencies (#5715) 2019-05-14 12:36:07 +04:30
Kevin Marrec
0c7e500699 fix: prevent ts-node to register twice (#5699) 2019-05-11 21:21:19 +04:30
renovate[bot]
8019c9c7db chore(deps): update dependency fs-extra to v8 (#5702) 2019-05-11 21:12:55 +04:30
Sébastien Chopin
03eb049677
fix(builder): watch store dir and serverMiddleware paths (#5681)
* fix(builder): Watch store dir to restart Nuxt app when options.store=false

* hotfix: Linting issues

* hotfix: Use path.resolve instead of path.join

* test: Update test for watcher

* hotfix: revert to path.join and fix tests

* hotfix: Fix coverage for hard to test condition

* hotfix: Fix test for Windows

* Update builder.js

* fix lint error

* fix: Cache serverMiddlewarePaths
2019-05-10 15:03:07 +02:00
renovate[bot]
2fd05e0fe3 chore(deps): update dependency consola to ^2.6.1 (#5674) 2019-05-08 21:36:11 +04:30
renovate[bot]
989add8fb2 chore(deps): update all non-major dependencies (#5628) 2019-05-01 17:17:38 +01:00
renovate[bot]
905de666f2 chore(deps): update all non-major dependencies (#5591) 2019-04-29 12:03:21 +04:30
pooya parsa
a5cf705ed8 v2.6.3 2019-04-25 13:13:50 +04:30
pooya parsa
91c3642e64 fix: don't customize esm options
options like `{ cjs: { }  }` resets other defaults. this ensures consitency of usage

[release]
2019-04-21 22:20:32 +04:30
Pooya Parsa
c9a95429eb
fix(cli): watch and reload nuxt.config (#5574)
[release]
2019-04-21 15:39:26 +04:30
pooya parsa
6cee89324f v2.6.2 2019-04-15 20:45:03 +04:30
Pooya Parsa
ff340abe6f
v2.6.2 (#5523) 2019-04-15 20:43:27 +04:30
pooya parsa
c0776eb2d7 v2.6.1 2019-04-04 22:28:06 +04:30
pooya parsa
53915c55b3 fix: pin esm to 3.2.20 (#5464) 2019-04-04 22:27:27 +04:30
pooya parsa
0e51676731 v2.6.0 2019-04-04 21:36:17 +04:30
renovate[bot]
913069ff59 chore(deps): update all non-major dependencies (#5447) 2019-04-03 11:42:43 +04:30
Pooya Parsa
516aea3d7f
feat(cli): add internal _generate and _build options (#5434) 2019-04-01 20:18:24 +04:30
Pooya Parsa
832bd12091
refactor(typescript): use an object for _typescript (#5418) 2019-03-30 00:39:20 +04:30
Pooya Parsa
6ffc5c5792
feat(typescript): detect typescript based on tsconfig.json (#5412) 2019-03-29 23:49:30 +04:30
renovate[bot]
82bde15622 chore(deps): update dependency consola to ^2.5.8 (#5416) 2019-03-29 23:01:21 +04:30
Franck Abgrall
91f4eb0468 feat(cli): add --quiet option to nuxt generate command (#5357) 2019-03-29 18:38:08 +04:30
renovate[bot]
7ce30935fa chore(deps): update all non-major dependencies (#5402) 2019-03-29 18:36:03 +04:30
Kevin Marrec
9a3fc8a44e refactor(ts): only generate tsconfig.json if missing (#5356) (#5367)
Co-authored-by: SAWADA Takayoshi <sawadasuiren@gmail.com>
2019-03-29 18:30:49 +04:30
pooya parsa
5d7757bf29 v2.5.1 2019-03-22 02:18:39 +04:30
renovate[bot]
a0b0242919 chore(deps): update dependency esm to ^3.2.20 (#5322) 2019-03-22 02:14:47 +04:30
renovate[bot]
db200a3e69 chore(deps): update all non-major dependencies (#5314) 2019-03-21 23:15:21 +03:30
pooya parsa
e2c296321b v2.5.0 2019-03-21 16:37:34 +03:30
pooya parsa
c46def75cf fix(cli): enable server for implicit SPA generate in nuxt build
revert it back with nuxt 3
2019-03-21 14:29:05 +03:30
pooya parsa
665f15ad36 fix(pkg): add missing dependencies
[release]
2019-03-20 22:22:36 +03:30
Sébastien Chopin
ef41e205e6 feat: loading screen (#5251)
[release]
2019-03-20 12:47:53 +03:30
renovate[bot]
f8ff8b5d62 chore(deps): update dependency consola to ^2.5.7 (#5283) 2019-03-19 21:09:36 +03:30
Pooya Parsa
d6b505aa50
test: fail tests in case of unhandled errors (#5255) 2019-03-16 16:12:35 +03:30
renovate[bot]
020fa8e1b6 chore(deps): update all non-major dependencies (#5252) 2019-03-16 10:44:14 +03:30
Kevin Marrec
920f444b6e refactor(ts): better DX for typescript support (#5079)
Breaking change : `build.useForkTsChecker` renamed to `build.typescript.typeCheck`
2019-03-14 13:37:47 +03:30
renovate[bot]
0dd22deba3 chore(deps): update all non-major dependencies (#5232) 2019-03-14 09:25:52 +03:30
renovate[bot]
ff93d14bbc chore(deps): update all non-major dependencies (#5224)
[release]
2019-03-13 14:03:43 +03:30
Jarek Lipski
c6565c97c6 feat(generate): return non-zero code or page error (fixes #4991) (#5195) 2019-03-11 23:25:54 +03:30
renovate[bot]
1336ac9c56 chore(deps): update all non-major dependencies (#5180) 2019-03-11 13:37:29 +00:00
Pooya Parsa
13cb0f73d9 refactor: remove builder coupling from server (#5157) 2019-03-08 20:43:23 +00:00
renovate[bot]
083ac57514 chore(deps): update dependency esm to ^3.2.11 (#5165) 2019-03-06 09:35:08 +00:00
Xin Du (Clark)
cc573a4925
test: unit tests for server module (#5154) 2019-03-04 20:12:33 +00:00
renovate[bot]
340c10736b chore(deps): update all non-major dependencies (#5149) 2019-03-04 10:19:33 +03:30
Pim
4e51723efc feat(cli): lock project during build or generate (#4985) 2019-03-03 11:42:46 +03:30
renovate[bot]
0751faa9c8 chore(deps): update dependency wrap-ansi to v5 (#5145) 2019-03-03 10:57:19 +03:30
renovate[bot]
4b9ea2919d chore(deps): update all non-major dependencies (#5122) 2019-03-02 22:41:23 +03:30
pooya parsa
83db959506 v2.4.5 2019-02-26 14:20:41 +03:30
pooya parsa
0ad13e04d2 v2.4.5 2019-02-26 14:01:42 +03:30
pooya parsa
85c7869641 v2.4.4 2019-02-26 13:56:12 +03:30
pooya parsa
42e41cc2f3 update all remaining safe deps 2019-02-26 13:34:28 +03:30
Kevin Marrec
4f887f6963 fix(nuxt-ts): error catch in nuxt-ts binary (#5086)
* fix: nuxt-ts binary error catch

* test: update cli snapshot
2019-02-25 21:09:26 +01:00
renovate[bot]
e2bdaa3880 chore(deps): update dependency consola to ^2.5.6 (#5107) 2019-02-25 22:10:29 +03:30
renovate[bot]
27a201ca54 chore(deps): update dependency consola to ^2.5.5 (#5106) 2019-02-25 21:24:39 +03:30
renovate[bot]
e789a8e727 chore(deps): update all non-major dependencies (#5098) 2019-02-25 21:07:28 +03:30
renovate[bot]
fc4abddc5a chore(deps): update all non-major dependencies (#5095) 2019-02-23 09:53:56 +03:30
renovate[bot]
58f6424570 chore(deps): update dependency boxen to v3 (#5071) 2019-02-19 22:54:12 +03:30
Clark Du
3dd1a28533 test: update cli snapshot 2019-02-19 17:30:46 +00:00
Clark Du
538378cf8c Merge remote-tracking branch 'origin/2.x' into dev 2019-02-19 17:13:15 +00:00
Pim
4b82aa9d84 fix: dont force exit when it was explicitly disabled (#4973)
* fix: remove slash from warning text

* fix: dont force-exit when explicitly disabled

chore: add tests for force-exit behaviour

* feat: default option value can be fn
2019-02-19 17:12:24 +00:00
Pim
3d2deacd3a feat: show warning on forced exit (#4958) 2019-02-19 16:40:34 +00:00
renovate[bot]
3ed9f3e6a6 chore(deps): update all non-major dependencies (#5044) 2019-02-18 12:25:43 +00:00
renovate[bot]
6d90ec2a50 chore(deps): update dependency consola to ^2.4.1 (#5012) 2019-02-12 11:44:29 +03:30
Alexander Lichter
69dfd848d7 refactor: some small stuff (#4979)
* refactor: flatten ifs

* refactor: unnecessary curly brackets

* refactor: unnecessary else

* refactor: promise.all instead of for-await

* refactor: apply changes suggested by @clarkdo

* chore: fix typo

* refactor: early return

* refactor: add removal TODOs

* refactor: more descriptive variable name

* refactor: prefer template string

* refactor: one-line

* refactor: early returns

* refactor: early return

* refactor: parallel promises

* refactor: early return and no else

* refactor: spread operator

* refactor: spread operator and early return

* fix: remove error and throw string instead

* fix: always return true

* refactor: clear multiline ternary

* refactor: err stack assignment

* refactor: early return and async/await

* refactor: one line

* refactor: early return

* refactor: early return

* refactor: promise.all

* refactor: args spread
2019-02-08 17:25:11 +01:00
Pim
3e9eee2549 fix: dont force exit when it was explicitly disabled (#4973)
* fix: remove slash from warning text

* fix: dont force-exit when explicitly disabled

chore: add tests for force-exit behaviour

* feat: default option value can be fn
2019-02-08 13:36:47 +03:30
renovate[bot]
f791d786e0 chore(deps): update all non-major dependencies (#4981) 2019-02-08 13:35:47 +03:30
Alexander Lichter
574a2eb293 fix: disable "analyze" for nuxt generate (#4975) 2019-02-07 18:30:41 +03:30
renovate[bot]
111455f99a fix(deps): update serve-placeholder and esm (#4970) 2019-02-07 11:25:46 +03:30
renovate[bot]
fc604d1733 chore(deps): update all non-major dependencies (#4970) 2019-02-07 11:21:51 +03:30
pooya parsa
562c62f982 update snapshot 2019-02-06 23:12:56 +03:30
pooya parsa
b1a16c995e fix help message for force-exit 2019-02-06 23:12:04 +03:30
pooya parsa
a347ef9b94 fix: default for-exit to false to prevent dev exit 2019-02-06 23:10:43 +03:30
Pim
5094d9c75d feat: show warning on forced exit (#4958) 2019-02-06 22:53:42 +03:30
pooya parsa
4e30bda44e v2.4.3 2019-02-06 19:37:24 +03:30
pooya parsa
13e494c0f0 v2.4.3 2019-02-06 19:26:54 +03:30
renovate[bot]
76736f8ac7 chore(deps): update all non-major dependencies (#4954) 2019-02-06 01:17:01 +03:30
Ricardo Gobbo de Souza
4c7bd9c507 feat(cli): option to open the project in the browser (#4930) 2019-02-06 01:07:59 +03:30
renovate[bot]
cdec133cb3 chore(deps): update all non-major dependencies (#4894) 2019-02-02 14:39:07 +03:30
Clark Du
32b0f155c9 v2.4.2 2019-01-30 15:15:05 +00:00
Clark Du
ade4bbe486 v2.4.1 2019-01-30 14:07:33 +00:00
Clark Du
5f221b4b7e v2.4.0 2019-01-28 17:41:28 +00:00
renovate[bot]
3d0bc199ed chore(deps): update all non-major dependencies (#4864) 2019-01-28 00:09:39 +03:30
renovate[bot]
4325feb072 chore(deps): update all non-major dependencies (#4860) 2019-01-27 18:25:52 +03:30
renovate[bot]
351f5c7bac chore(deps): update all non-major dependencies (#4851) 2019-01-25 14:28:14 +03:30
Kevin Marrec
06a18ca09e fix(config): define once default nuxt config filename (#4814) 2019-01-22 23:22:43 +03:30
renovate[bot]
4ab3524551 chore(deps): update all non-major dependencies (#4816) 2019-01-21 23:40:08 +03:30
Dmitry Molotkov
a7ba73ed13 fix: exit with proper error code on errors (#4806) 2019-01-19 16:19:57 +03:30
Xin Du (Clark)
a616c09b22 feat(test): unit tests for core/config module (#4760)
* feat(test): enable tests in packages

* fix: wait error hook

* test: entry and hookable in core

* fix(test): options snapshot in windows

* refactor(test): simpilify jest.fn

* test: module in core

* test: complete module test

* test: add test for resolver in core

* test: update config snapshot

* test: nuxt in core module
2019-01-19 13:00:51 +01:00
Alexander Lichter
40fbe5ba47 refactor: cleanups and code style improvements (#4788) 2019-01-18 00:48:29 +03:30
Pim
0c64410c6d chore: don't show stable version number when running from git/source (#4756) 2019-01-16 21:23:14 +03:30
renovate[bot]
381e0af52f chore(deps): update dependency esm to ^3.1.0 (#4772) 2019-01-16 21:16:02 +03:30
Clark Du
746d4ffb0a test: cli list 2019-01-14 11:56:30 +00:00
Xin Du (Clark)
ef05e005a6 refactor: add module not found fatal message in cli/imports (#4741) 2019-01-12 23:51:43 +03:30
Kevin Marrec
dfaffc0183 feat(nuxt-ts): typescript support improvements (#4750) 2019-01-12 23:51:21 +03:30
renovate[bot]
3ccfcedb65 chore(deps): update all non-major dependencies (#4692) 2019-01-06 12:36:24 +03:30
Pooya Parsa
ee0096bf59
feat: nuxt-ts (#4658)
[release]
2019-01-04 23:00:28 +03:30
Pooya Parsa
bdb6791e40
feat(webpack,cli): standalone build mode (#4661)
* feat(webpack,cli): standalone build mode

* revert typo
2019-01-03 23:57:50 +03:30
renovate[bot]
438b430a2e chore(deps): update all non-major dependencies (#4670) 2019-01-03 01:22:25 +03:30
Jonas Galvez
0145551c3a feat(cli): improvements and external commands (#4314) 2018-12-20 14:45:48 +03:30
renovate[bot]
186b3cb233 chore(deps): update all non-major dependencies (#4581)
[skip release]
2018-12-18 20:32:05 +03:30
Alexander Lichter
c60b1945e8 chore: cleanup (#4529) 2018-12-12 10:01:49 +03:30
Jonas Galvez
655f11cefd chore: update code to meet new curly-all rule (#4505)
[skip ci]
2018-12-10 01:30:48 +03:30
Sébastien Chopin
25dea5f52a fix(dev): Show correct path when webpack watched files changed 2018-12-09 12:47:57 +01:00
Pooya Parsa
fe0516978a
fix: improvements for build and dev stability (#4470) 2018-12-09 14:12:22 +03:30
Pooya Parsa
0f104aa588
feat: improve SSR bundle (#4439)
- Better insights and inspection for server bundle
- Remove all vue related dependencies from vue-renderer package as much as possible to reduce install size of nuxt-start
- Support for single file distributions (serverless)
- Remove server-bundle.json and use the standard .js files for dist/server
- Mitigate CALL_AND_RETRY_LAST Allocation failed errors. Most of the cases happen on JSON.parse() the part when loading bundle. (#4225, #3465, #1728, #1601, #1481)
- Reduce server dist size by removing escape characters caused by JSON serialize
- Faster dev reloads and production start by removing extra JSON.serialize/JSON.parse time
- Less memory usage
- General performance improvements and refactors
2018-12-01 13:43:28 +03:30
Pooya Parsa
8cc954d48e merge 2.x changes into dev
commit 0f28f9cdb6
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 21:23:55 2018 +0330

    add simple release script

commit 16c5b892fa
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 21:20:03 2018 +0330

    v2.3.4

commit e4a02a51ac
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 21:17:40 2018 +0330

    whitelist CHANGELOG files

commit c96e9f4996
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 21:14:29 2018 +0330

    lerna auto tag

commit be126bd962
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 21:12:22 2018 +0330

    remove extra gitHead

commit eefa13033f
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 21:09:31 2018 +0330

    hotfix: build on prepublish hook

commit d0af6a4736
Author: Sébastien Chopin <seb@chopin.io>
Date:   Mon Nov 26 18:37:12 2018 +0100

    bump: Bump to v2.3.3

commit 2e90166f2a
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 20:32:11 2018 +0330

    update @nuxtjs/opencollective to 0.2.0

commit f10c9829a8
Author: renovate[bot] <renovate[bot]@users.noreply.github.com>
Date:   Mon Nov 26 20:24:49 2018 +0330

    chore(deps): update dependency vue-meta to ^1.5.6 (#4427)

commit b7285fe8f3
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 20:05:18 2018 +0330

    remove build with devtools tests as feature is not merged yet

commit b582e706fc
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 19:58:34 2018 +0330

    update patch-only dependencies

commit 289d30f836
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 19:55:51 2018 +0330

    remove typings

commit 7e1beed9b8
Author: Dmitry Molotkov <aldarund@gmail.com>
Date:   Sun Nov 25 17:48:13 2018 +0300

    perf(pkg): remove lodash dependency from packages (#4411)

commit 4a85c0311f
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Sun Nov 25 22:46:19 2018 +0330

    fix(pkg): move opencollective dependency nuxt and nuxt-legacy (#4415)

commit d1877935a3
Author: Dmitry Molotkov <aldarund@gmail.com>
Date:   Sun Nov 25 17:52:37 2018 +0300

    fix(server, vue-app): allow unicode page names (#4402)

commit e1c1240b8d
Author: Alexander Lichter <manniL@gmx.net>
Date:   Sun Nov 25 14:51:32 2018 +0000

    fix(server, jsdom): fix timeout error message (#4412)

    [skip release]

commit 0c6c69b011
Author: Alexander Lichter <manniL@gmx.net>
Date:   Sat Nov 24 21:35:43 2018 +0000

    fix(scrollBehavior): emit triggerScroll event after changing layer (#4399)

    resolves: #4080

commit 8030ca1a3d
Author: Alexander Lichter <manniL@gmx.net>
Date:   Sat Nov 24 18:30:28 2018 +0000

    fix(progress-bar): allow 0 for values and remove duplicate defaults (#4397)

commit 54d273720c
Author: Clark Du <clark.duxin@gmail.com>
Date:   Sat Nov 24 00:02:13 2018 +0000

    fix: router Expected "0" to be defined (#4394)

commit 47f02ae5ca
Author: Clark Du <clark.duxin@gmail.com>
Date:   Fri Nov 23 22:34:05 2018 +0000

    fix: empty error message in dev mode

commit ff7c083dda
Author: Clark Du <clark.duxin@gmail.com>
Date:   Thu Nov 22 15:48:26 2018 +0000

    fix: modern=true or false not work as expected (#4378)
2018-11-26 21:32:10 +03:30
Clark Du
4c2708849f
fix: modern=true or false not work as expected (#4378) 2018-11-22 15:48:26 +00:00
Pooya Parsa
d590858ff5 Merge branch '2.x' into dev 2018-11-21 13:43:26 +03:30
Sébastien Chopin
205c9d3815 bump: Bump to v2.3.2 2018-11-20 21:48:46 +01:00
renovate[bot]
991e191c12 fix(deps): update all non-major dependencies (#4358)
[skip ci]
2018-11-20 22:58:20 +03:30
Pooya Parsa
b472e47466 [skip ci] remove changelogs 2018-11-20 22:56:45 +03:30
Pooya Parsa
c3318644c1 [skip ci] use dependent versioning 2018-11-20 22:56:45 +03:30
renovate[bot]
45fdae0a2d fix(deps): update all non-major dependencies (#4358)
[skip ci]
2018-11-20 22:21:13 +03:30
Yuki Takemoto
e6f73b596a feat(cli): add --devtools option for build and generate (#4357) 2018-11-17 23:05:51 +00:00
Pooya Parsa
33d4e89925 [skip ci] remove changelogs 2018-11-18 02:14:02 +03:30
Pooya Parsa
3e48de906a [skip ci] use dependent versioning 2018-11-18 01:49:27 +03:30
Sébastien Chopin
2f7ba13084 fix: Bump to v2.3.1 2018-11-16 09:30:11 -05:00
Sébastien Chopin
fcea3ebbc6 bump: Nuxt v2.3.0 2018-11-16 09:15:00 -05:00
Pooya Parsa
ca5d53850b fix(pkg): stick @nuxt dependency versions (#4339) 2018-11-15 21:32:51 +00:00
Pooya Parsa
992849ee1a
fix(cli): prefer require dependencies from local node_modules (#4337) 2018-11-16 00:18:47 +03:30
Pooya Parsa
c9459e7aa9
fix(distributions): add bin to all distributions (#4336) 2018-11-16 00:18:30 +03:30
renovate[bot]
bfb6d6a22a fix(deps): update all non-major dependencies (#4310) 2018-11-14 23:58:17 +03:30
Clark Du
18e613106b Revert "fix: make generate default value be false in build command" 2018-11-09 17:14:26 +00:00
Clark Du
81c77bd111 test: fix build.test 2018-11-09 16:48:28 +00:00
Clark Du
e4fe2409f5 fix: make generate default value be false in build command 2018-11-09 16:32:04 +00:00
renovate[bot]
16c8237f1c chore(deps): update all non-major dependencies (#4298)
[skip ci]
2018-11-09 01:18:29 +03:30
Pooya Parsa
c62c9656ab fix(dev): better icon for windows support 2018-11-08 14:55:48 +03:30
Clark Du
78de0956cc fix: --modern not trigger modern build 2018-11-08 09:19:09 +00:00
Pooya Parsa
7c4e77ffb9
feat: dx improvements (#4259) 2018-11-08 12:45:56 +03:30
Clark Du
2a36dbad22
feat: client mode modern and support dev/generate (#4264) 2018-11-07 23:37:06 +00:00
renovate[bot]
1a154e8188 fix(deps): update all non-major dependencies (#4270) 2018-11-05 02:29:06 +03:30
renovate[bot]
47f67cc26a fix(deps): update dependency consola to ^2.2.0 (#4269) 2018-11-04 22:18:39 +03:30
renovate[bot]
f10f860292 fix(deps): update all non-major dependencies (#4253) 2018-11-03 22:16:58 +03:30
Clark Du
17e0890c90 fix(cli): remove duplicate error message in start and build (#4258) 2018-11-02 17:24:58 +03:30
Sébastien Chopin
12151d81d6 feat: add --modern to nuxt start (#4254) 2018-11-02 09:07:39 +00:00
Jonas Galvez
19287cce96 feat(cli): add help command (#4248)
* add commands/help

* simply cmds in run()

* refinement

* simply cmds in run() (2)

* simply cmds in run() (3)

* lint

* cmd.showHelp()

* check for cmd / uknown cmd

* final fix

* fixes

* remove Set

* Add NuxtCommand.load()

* updated tests

* lint
2018-11-02 05:35:32 +01:00
Jonas Galvez
6dadadfa25 feat(cli): list commands (#4245)
* add listCommands to cli/run

* add listCommands to cli/run (2)

* lint

* lint

* lint

* fix

* fixes

* fix

* lint

* maxCharsPerLine = process.stdout.columns * 80 / 100

* fix test

* fix imports

* refactor foldLines()

* default process.stdout.columns to 80

* default to 80

* fix

* fix test

* lint

* fix test

* add help flags to main usage

* fix

* fix

* fix
2018-11-01 04:53:06 +01:00
Pooya Parsa
1dd32d0d21 feat: update to consola 2 (#4247)
* add ~> addReporter

* remove badge

* withScope ~> withTag

* update to consola 2

* update build tests
2018-11-01 04:50:07 +01:00
Clark Du
bed0714fad
feat: modern build (#4231)
* feat: modern build

* refactor: use single module import for lodash

* refactor: add credit comment for modern plugin

* feat: ssr modern build

* fix: not null check for request

* fix: not null check for request.headers

* feat: add modern argument on build command

* refactor: simpilfy filenames for modern

* refactor: use packages/webpack src instead of dist in test

* test: add feature test for modern build
2018-10-31 15:52:35 +00:00
Jonas Galvez
c86dfbf43f fix: typo in cli/commands/build (#4236)
Good catch @clarkdo :)
2018-10-31 15:27:15 +00:00
Pooya Parsa
39b558f59c
refactor core into sub-packages (#4202) 2018-10-31 00:12:53 +03:30
Jonas Galvez
4503d42d54 refactor(cli): cleanups and improvements (#4222) 2018-10-30 01:46:16 +03:30
Pooya Parsa
10aeaef110 hotfix(cli, common, core): add missing @nuxt/config dependency 2018-10-29 14:21:34 +03:30
Jonas Galvez
007ca05174 refactor: move config files to @nuxt/config (#4212) 2018-10-27 23:57:16 +03:30
Jonas Galvez
ec7794c5cd refactor(common): nuxt.config.js and dynamic server options to use latest process.env (#4208) 2018-10-27 20:18:23 +03:30
Pim
4b7afcc218 feat(cli): add imports mock and cleanup (#4195) 2018-10-25 19:10:55 +03:30
Pooya Parsa
46103e72ea
chore: packaging and development improvements (#4193) 2018-10-25 14:52:31 +03:30
Pim
0669b68c91 refactor(cli): better consistency and easier unit testing (#4160) 2018-10-25 11:13:42 +03:30
Clark Du
9df5f49e07 feat: split builder into more refined modules (#4171)
New packages:
- `@nuxt/webpack`
- `@nuxt/generator`
2018-10-24 20:25:18 +03:30
Alexander Lichter
f27939d4a7 feat(cli): support async nuxt.config.js (#4021) 2018-10-18 19:27:35 +03:30
Pooya Parsa
28b246dca2 fix(publish): set each package's publishConfig to public
Scoped packages are private by default on npm. lerna/lerna#178 (comment)
2018-10-18 01:44:54 +03:30
Pooya Parsa
2d05e0b7b7 revet: changelog and version bumps to 2.2.0
Lerna should handle it itself
2018-10-18 01:28:11 +03:30
Pooya Parsa
9c1e0d1743 feat: migrate nuxt into monorepo (#4051)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
Co-authored-by: Pooya Parsa <pooya@pi0.ir>
2018-10-18 00:58:25 +03:30