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
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
Pim
19fbbb6ef6
fix(cli): show memory usage after build for nuxt dev
( #5514 )
2019-04-12 21:49:46 +04:30
Pooya Parsa
d0afaa1daf
fix(cli): config cache invalidation + refactors ( #5500 )
2019-04-11 14:34:21 +04:30
Pooya Parsa
e88e998d70
fix(cli): throw error with proper code for failed imports ( #5478 )
2019-04-07 11:25:53 +01:00
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
Franck Abgrall
91f4eb0468
feat(cli): add --quiet
option to nuxt generate command ( #5357 )
2019-03-29 18:38:08 +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
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
Sébastien Chopin
ef41e205e6
feat: loading screen ( #5251 )
...
[release]
2019-03-20 12:47:53 +03:30
Pooya Parsa
d6b505aa50
test: fail tests in case of unhandled errors ( #5255 )
2019-03-16 16:12:35 +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
Jarek Lipski
c6565c97c6
feat(generate): return non-zero code or page error ( fixes #4991 ) ( #5195 )
2019-03-11 23:25:54 +03:30
Pooya Parsa
13cb0f73d9
refactor: remove builder coupling from server ( #5157 )
2019-03-08 20:43:23 +00:00
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
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
Alexander Lichter
574a2eb293
fix: disable "analyze" for nuxt generate ( #4975 )
2019-02-07 18:30:41 +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
Ricardo Gobbo de Souza
4c7bd9c507
feat(cli): option to open the project in the browser ( #4930 )
2019-02-06 01:07:59 +03:30
Kevin Marrec
06a18ca09e
fix(config): define once default nuxt config filename ( #4814 )
2019-01-22 23:22:43 +03:30
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
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
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
Jonas Galvez
0145551c3a
feat(cli): improvements and external commands ( #4314 )
2018-12-20 14:45:48 +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
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
Pooya Parsa
992849ee1a
fix(cli): prefer require dependencies from local node_modules ( #4337 )
2018-11-16 00:18:47 +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
e4fe2409f5
fix: make generate default value be false in build command
2018-11-09 16:32:04 +00:00
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
Clark Du
17e0890c90
fix(cli): remove duplicate error message in start and build ( #4258 )
2018-11-02 17:24:58 +03:30