Commit Graph

302 Commits

Author SHA1 Message Date
Pooya Parsa
f6aa45dda6 v2.10.2 [release] 2019-10-21 23:16:29 +02:00
renovate[bot]
a3f1957adc chore(deps): update dependency execa to v3 (#6563) 2019-10-19 10:40:26 +02:00
Pooya Parsa
624c4c058e v2.10.1 [release] 2019-10-11 10:08:40 +02:00
Pim
67d5601142 test: refactor cli integration tests (#6537) 2019-10-11 09:35:10 +02:00
Clark Du
a0ef4a3736 Merge remote-tracking branch 'origin/2.x' into dev 2019-10-09 19:07:10 +01:00
Xin Du (Clark)
6f2f13e7e7
chore(deps): upgrade execa to 2.1.0 (#6542) 2019-10-09 19:04:49 +01:00
Dmitry Molotkov
136777de1d fix(cli): enable server for build when spa pages should be generated (#6525) 2019-10-08 10:33:42 +02:00
renovate[bot]
2b1366b965 chore(deps): update all non-major dependencies (#6496) 2019-10-08 10:31:09 +02:00
Pooya Parsa
c17afa77a7 v2.10.0
[release]
2019-10-02 13:40:59 +02:00
Daniel Roe
46a7a67ad4 feat(cli, config): cli.bannerColor option (#6399) 2019-09-30 10:46:58 +02:00
Pim
27e03531d6 feat(cli): catch build errors with cli:buildError hook (#6475) 2019-09-29 10:11:32 +02:00
Xin Du (Clark)
95e043f167 fix(cli): server should not be initialized in nuxt build (#6441) 2019-09-20 20:49:38 +02:00
Kevin Marrec
05a6efd1eb chore: rename setup hook to run:before (#6363) 2019-09-05 10:45:39 +02:00
Kevin Marrec
bdcf4c8304 refactor(cli): call setup hook in run command with more args (#6353) 2019-09-04 12:06:34 +02:00
Renovate Bot
88fb44c6df chore(deps): update dependency hable to ^2.3.2 2019-09-02 12:36:41 +02:00
Clark Du
c8ee9a6608 v2.9.2 2019-08-28 12:32:12 +01:00
Pooya Parsa
f0ab042bf4
chore(cli): accept hooks (#6274) 2019-08-24 18:45:08 +04:30
pooya parsa
0157b971de v2.9.1 2019-08-20 15:41:35 +04:30
pooya parsa
ce3b456961 v2.9.0 2019-08-20 12:51:10 +04:30
renovate[bot]
8f5244cabd chore(deps): update all non-major dependencies (#6213) 2019-08-17 15:54:58 +01:00
pooya parsa
de7ed24b36 feat(cli): export options (#6206)
Co-Authored-By: Kevin Marrec <kevin@marrec.io>

[release]
2019-08-09 18:40:19 +04:30
renovate[bot]
cb22d841fe chore(deps): update all non-major dependencies (#6193) 2019-08-09 15:04:17 +04:30
renovate[bot]
275c4dc2f1 chore(deps): update dependency consola to ^2.10.0 (#6189) 2019-08-05 13:54:24 +01:00
renovate[bot]
1ebf6cbfa0 chore(deps): update all non-major dependencies (#6121) 2019-07-27 09:55:08 +01:00
Kevin Marrec
81b5ce22ce feat: externalize typescript support (#5858) 2019-07-24 11:56:44 +04:30
pooya parsa
e7cc2757c3 refactor: update eslint-config to 1.x
Co-authored-by: Alexander Lichter <manniL@gmx.net>
2019-07-10 15:15:49 +04:30
Xin Du (Clark)
e63923419a fix error when use alias for nuxt-edge (#6051) 2019-07-10 14:27:31 +04:30
renovate[bot]
9014251c1f chore(deps): update all non-major dependencies (#6030) 2019-07-06 16:22:27 +01:00
Xin Du (Clark)
e6acdbc9bf fix(cli): prevent both nuxt & nuxt-edge being installed (#6020) 2019-07-04 17:28:07 +04:30
renovate[bot]
9d04b8fb52 chore(deps): update all non-major dependencies (#6003) 2019-07-01 18:41:18 +01:00
renovate[bot]
ae82a03a28 chore(deps): update all non-major dependencies (#6001)
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2019-06-29 05:49:55 +01:00
renovate[bot]
2a0a34f629 chore(deps): update all non-major dependencies (#5997) 2019-06-28 11:53:20 +04:30
Xin Du (Clark)
d1395a032a chore: upgrade fs-extra to v8 (#5994) 2019-06-28 00:33:44 +04:30
renovate[bot]
79877b4ec3 chore(deps): update dependency execa to v2 (#5984)
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2019-06-25 16:48:53 +01:00
Ricardo Gobbo de Souza
43a43bc924 fix: downgrade fs-extra to v7 for fixing jest crashing (#5977) 2019-06-25 15:58:20 +01:00
renovate[bot]
99176aa261 chore(deps): update all non-major dependencies (#5955) 2019-06-24 10:00:31 +01:00
renovate[bot]
7d08ff1f4a chore(deps): update dependency consola to ^2.8.0 (#5953) 2019-06-18 17:41:23 +04:30
renovate[bot]
b809d58dc8 chore(deps): update dependency wrap-ansi to v6 (#5914) 2019-06-12 09:14:30 +01:00
renovate[bot]
2467dabf9f chore(deps): update all non-major dependencies (#5894) 2019-06-12 09:14:00 +01:00
pooya parsa
2fabea9402 v2.8.1 2019-06-05 00:55:47 +04:30
Pooya Parsa
e4fd6fee7e
fix(cli): don't mutate options export (#5865) 2019-06-04 19:18:06 +04:30
pooya parsa
7622d66866 v2.8.0 2019-05-30 21:37:38 +04:30
Pooya Parsa
f39fe2279e
refactor: improve build indicator (#5832)
[release]
2019-05-30 14:33:57 +04:30
Xin Du (Clark)
d149e9fb64
chore: upgrade boxen to v4 (#5830) 2019-05-30 10:25:36 +01:00
renovate[bot]
1f74362d38 Update dependency consola to ^2.7.1 (#5809) 2019-05-26 14:44:05 +04:30
renovate[bot]
f00f02171f Update all non-major dependencies (#5808) 2019-05-26 14:28:57 +04:30
Dmitry Molotkov
5ae03d0d4b chore(deps): unpin and update esm (#5804) 2019-05-25 18:47:02 +04:30
Alexander Lichter
d08ce2f628 refactor: small readability improvements (#5748) 2019-05-16 14:38:44 +04:30
renovate[bot]
c2c2945f05 chore(deps): update all non-major dependencies (#5735) 2019-05-15 15:56:07 +04:30
pooya parsa
0f609dfb37 v2.7.1 2019-05-14 23:24:56 +04:30
pooya parsa
5a98230ec6 v2.7.0 2019-05-14 17:05:38 +04:30
renovate[bot]
017d3a490a chore(deps): update all non-major dependencies (#5715) 2019-05-14 12:36:07 +04:30
Kevin Marrec
0c7e500699 fix: prevent ts-node to register twice (#5699) 2019-05-11 21:21:19 +04:30
renovate[bot]
8019c9c7db chore(deps): update dependency fs-extra to v8 (#5702) 2019-05-11 21:12:55 +04:30
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
renovate[bot]
2fd05e0fe3 chore(deps): update dependency consola to ^2.6.1 (#5674) 2019-05-08 21:36:11 +04:30
renovate[bot]
989add8fb2 chore(deps): update all non-major dependencies (#5628) 2019-05-01 17:17:38 +01:00
renovate[bot]
905de666f2 chore(deps): update all non-major dependencies (#5591) 2019-04-29 12:03:21 +04:30
pooya parsa
a5cf705ed8 v2.6.3 2019-04-25 13:13:50 +04:30
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
pooya parsa
6cee89324f v2.6.2 2019-04-15 20:45:03 +04:30
Pooya Parsa
ff340abe6f
v2.6.2 (#5523) 2019-04-15 20:43:27 +04:30
pooya parsa
c0776eb2d7 v2.6.1 2019-04-04 22:28:06 +04:30
pooya parsa
53915c55b3 fix: pin esm to 3.2.20 (#5464) 2019-04-04 22:27:27 +04:30
pooya parsa
0e51676731 v2.6.0 2019-04-04 21:36:17 +04:30
renovate[bot]
913069ff59 chore(deps): update all non-major dependencies (#5447) 2019-04-03 11:42:43 +04:30
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
renovate[bot]
82bde15622 chore(deps): update dependency consola to ^2.5.8 (#5416) 2019-03-29 23:01:21 +04:30
Franck Abgrall
91f4eb0468 feat(cli): add --quiet option to nuxt generate command (#5357) 2019-03-29 18:38:08 +04:30
renovate[bot]
7ce30935fa chore(deps): update all non-major dependencies (#5402) 2019-03-29 18:36:03 +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
5d7757bf29 v2.5.1 2019-03-22 02:18:39 +04:30
renovate[bot]
a0b0242919 chore(deps): update dependency esm to ^3.2.20 (#5322) 2019-03-22 02:14:47 +04:30
renovate[bot]
db200a3e69 chore(deps): update all non-major dependencies (#5314) 2019-03-21 23:15:21 +03:30
pooya parsa
e2c296321b v2.5.0 2019-03-21 16:37:34 +03: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
pooya parsa
665f15ad36 fix(pkg): add missing dependencies
[release]
2019-03-20 22:22:36 +03:30
Sébastien Chopin
ef41e205e6 feat: loading screen (#5251)
[release]
2019-03-20 12:47:53 +03:30
renovate[bot]
f8ff8b5d62 chore(deps): update dependency consola to ^2.5.7 (#5283) 2019-03-19 21:09:36 +03:30
Pooya Parsa
d6b505aa50
test: fail tests in case of unhandled errors (#5255) 2019-03-16 16:12:35 +03:30
renovate[bot]
020fa8e1b6 chore(deps): update all non-major dependencies (#5252) 2019-03-16 10:44:14 +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
renovate[bot]
0dd22deba3 chore(deps): update all non-major dependencies (#5232) 2019-03-14 09:25:52 +03:30
renovate[bot]
ff93d14bbc chore(deps): update all non-major dependencies (#5224)
[release]
2019-03-13 14:03:43 +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
renovate[bot]
1336ac9c56 chore(deps): update all non-major dependencies (#5180) 2019-03-11 13:37:29 +00:00
Pooya Parsa
13cb0f73d9 refactor: remove builder coupling from server (#5157) 2019-03-08 20:43:23 +00:00
renovate[bot]
083ac57514 chore(deps): update dependency esm to ^3.2.11 (#5165) 2019-03-06 09:35:08 +00:00
Xin Du (Clark)
cc573a4925
test: unit tests for server module (#5154) 2019-03-04 20:12:33 +00:00
renovate[bot]
340c10736b chore(deps): update all non-major dependencies (#5149) 2019-03-04 10:19:33 +03:30
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
renovate[bot]
4b9ea2919d chore(deps): update all non-major dependencies (#5122) 2019-03-02 22:41:23 +03:30
pooya parsa
83db959506 v2.4.5 2019-02-26 14:20:41 +03:30
pooya parsa
0ad13e04d2 v2.4.5 2019-02-26 14:01:42 +03:30
pooya parsa
85c7869641 v2.4.4 2019-02-26 13:56:12 +03:30
pooya parsa
42e41cc2f3 update all remaining safe deps 2019-02-26 13:34:28 +03:30
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
renovate[bot]
e2bdaa3880 chore(deps): update dependency consola to ^2.5.6 (#5107) 2019-02-25 22:10:29 +03:30
renovate[bot]
27a201ca54 chore(deps): update dependency consola to ^2.5.5 (#5106) 2019-02-25 21:24:39 +03:30
renovate[bot]
e789a8e727 chore(deps): update all non-major dependencies (#5098) 2019-02-25 21:07:28 +03:30
renovate[bot]
fc4abddc5a chore(deps): update all non-major dependencies (#5095) 2019-02-23 09:53:56 +03:30
renovate[bot]
58f6424570 chore(deps): update dependency boxen to v3 (#5071) 2019-02-19 22:54:12 +03:30
Clark Du
3dd1a28533 test: update cli snapshot 2019-02-19 17:30:46 +00:00
Clark Du
538378cf8c Merge remote-tracking branch 'origin/2.x' into dev 2019-02-19 17:13:15 +00: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
renovate[bot]
3ed9f3e6a6 chore(deps): update all non-major dependencies (#5044) 2019-02-18 12:25:43 +00:00
renovate[bot]
6d90ec2a50 chore(deps): update dependency consola to ^2.4.1 (#5012) 2019-02-12 11:44:29 +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
renovate[bot]
f791d786e0 chore(deps): update all non-major dependencies (#4981) 2019-02-08 13:35:47 +03:30
Alexander Lichter
574a2eb293 fix: disable "analyze" for nuxt generate (#4975) 2019-02-07 18:30:41 +03:30
renovate[bot]
111455f99a fix(deps): update serve-placeholder and esm (#4970) 2019-02-07 11:25:46 +03:30
renovate[bot]
fc604d1733 chore(deps): update all non-major dependencies (#4970) 2019-02-07 11:21:51 +03:30
pooya parsa
562c62f982 update snapshot 2019-02-06 23:12:56 +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
pooya parsa
4e30bda44e v2.4.3 2019-02-06 19:37:24 +03:30
pooya parsa
13e494c0f0 v2.4.3 2019-02-06 19:26:54 +03:30
renovate[bot]
76736f8ac7 chore(deps): update all non-major dependencies (#4954) 2019-02-06 01:17:01 +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
renovate[bot]
cdec133cb3 chore(deps): update all non-major dependencies (#4894) 2019-02-02 14:39:07 +03:30
Clark Du
32b0f155c9 v2.4.2 2019-01-30 15:15:05 +00:00
Clark Du
ade4bbe486 v2.4.1 2019-01-30 14:07:33 +00:00
Clark Du
5f221b4b7e v2.4.0 2019-01-28 17:41:28 +00:00
renovate[bot]
3d0bc199ed chore(deps): update all non-major dependencies (#4864) 2019-01-28 00:09:39 +03:30
renovate[bot]
4325feb072 chore(deps): update all non-major dependencies (#4860) 2019-01-27 18:25:52 +03:30
renovate[bot]
351f5c7bac chore(deps): update all non-major dependencies (#4851) 2019-01-25 14:28:14 +03:30
Kevin Marrec
06a18ca09e fix(config): define once default nuxt config filename (#4814) 2019-01-22 23:22:43 +03:30
renovate[bot]
4ab3524551 chore(deps): update all non-major dependencies (#4816) 2019-01-21 23:40:08 +03:30
Dmitry Molotkov
a7ba73ed13 fix: exit with proper error code on errors (#4806) 2019-01-19 16:19:57 +03:30
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
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
renovate[bot]
381e0af52f chore(deps): update dependency esm to ^3.1.0 (#4772) 2019-01-16 21:16:02 +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
renovate[bot]
3ccfcedb65 chore(deps): update all non-major dependencies (#4692) 2019-01-06 12:36:24 +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
renovate[bot]
438b430a2e chore(deps): update all non-major dependencies (#4670) 2019-01-03 01:22:25 +03:30
Jonas Galvez
0145551c3a feat(cli): improvements and external commands (#4314) 2018-12-20 14:45:48 +03:30
renovate[bot]
186b3cb233 chore(deps): update all non-major dependencies (#4581)
[skip release]
2018-12-18 20:32:05 +03:30
Alexander Lichter
c60b1945e8 chore: cleanup (#4529) 2018-12-12 10:01:49 +03:30