1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-03-02 10:43:28 +00:00
Commit Graph

20 Commits

Author SHA1 Message Date
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 () 2019-01-12 23:51:43 +03:30
Jonas Galvez
0145551c3a feat(cli): improvements and external commands () 2018-12-20 14:45:48 +03:30
Pooya Parsa
fe0516978a
fix: improvements for build and dev stability () 2018-12-09 14:12:22 +03:30
Pooya Parsa
0f104aa588
feat: improve SSR bundle ()
- 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. (, , , , )
- 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 () 2018-11-22 15:48:26 +00:00
Yuki Takemoto
e6f73b596a feat(cli): add --devtools option for build and generate () 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 () 2018-11-08 12:45:56 +03:30
Clark Du
2a36dbad22
feat: client mode modern and support dev/generate () 2018-11-07 23:37:06 +00:00
Jonas Galvez
19287cce96 feat(cli): add help command ()
* 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 ()
* 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 () 2018-10-31 00:12:53 +03:30
Jonas Galvez
4503d42d54 refactor(cli): cleanups and improvements () 2018-10-30 01:46:16 +03:30
Jonas Galvez
007ca05174 refactor: move config files to @nuxt/config () 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 () 2018-10-27 20:18:23 +03:30
Pim
4b7afcc218 feat(cli): add imports mock and cleanup () 2018-10-25 19:10:55 +03:30
Pooya Parsa
46103e72ea
chore: packaging and development improvements () 2018-10-25 14:52:31 +03:30
Pim
0669b68c91 refactor(cli): better consistency and easier unit testing () 2018-10-25 11:13:42 +03:30