Commit Graph

52 Commits

Author SHA1 Message Date
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