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
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
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
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
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
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
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