Commit Graph

18 Commits

Author SHA1 Message Date
Jonas Galvez
0145551c3a feat(cli): improvements and external commands (#4314) 2018-12-20 14:45:48 +03:30
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
Clark Du
4c2708849f
fix: modern=true or false not work as expected (#4378) 2018-11-22 15:48:26 +00:00
Yuki Takemoto
e6f73b596a feat(cli): add --devtools option for build and generate (#4357) 2018-11-17 23:05:51 +00:00
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
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
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
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
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