Commit Graph

1546 Commits

Author SHA1 Message Date
renovate[bot]
7286e83ff7 chore(deps): update dependency chokidar to ^3.2.0 (#6489)
[release]
2019-10-01 13:08:27 +02:00
Pim
49136bcd1b fix(core): clear resolver cache for project files dev mode (#6490) 2019-10-01 13:04:24 +02:00
Daniel Roe
46a7a67ad4 feat(cli, config): cli.bannerColor option (#6399) 2019-09-30 10:46:58 +02:00
Xin Du (Clark)
578d5d41f4 fix(vue-app): error page layout not correctly applied in client rendering (#6479) 2019-09-30 10:44:35 +02:00
renovate[bot]
950b48f118 chore(deps): update all non-major dependencies (#6472) 2019-09-29 11:28:19 +02:00
Jonas Galvez
bdcc7dd341 feat(config): serverMiddleware as a simple key/value object (#6414) 2019-09-29 11:11:25 +02:00
Snir Shechter
92c7f4ed24 feat(builder): followSymlinks option to allow for symlinks (#6368) 2019-09-29 11:06:44 +02:00
Xin Du (Clark)
d1df5c8124 fix(webpack): fix consola IE compatibility (#6298) 2019-09-29 11:02:22 +02:00
Pim
27e03531d6 feat(cli): catch build errors with cli:buildError hook (#6475) 2019-09-29 10:11:32 +02:00
Pim
a2be217876 feat(webpack): use vue-meta browser build for client bundle (#6477) 2019-09-29 10:07:12 +02:00
Pim
ffc005c014 fix(vue-app): pass vm also as arg to support arrow fns (#6473) 2019-09-29 10:06:26 +02:00
renovate[bot]
686720f0fc chore(deps): update dependency webpack-bundle-analyzer to ^3.5.2 (#6464) 2019-09-26 14:15:06 +02:00
Pooya Parsa
13331a02b4 fix(webpack): revert pause/resume 2019-09-26 14:13:43 +02:00
Alexander Lichter
c202893b9e fix(webpack): correct sass options for sass-loader@8 (#6460) 2019-09-26 14:10:54 +02:00
renovate[bot]
6f9687e963 chore(deps): update all non-major dependencies (#6456) 2019-09-26 09:51:08 +02:00
Pim
06a288376a fix(webpack): dont push to compilersWatching in callback (#6448) 2019-09-25 17:11:39 +02:00
Xin Du (Clark)
4ca253e0b8
chore: fix example in babel-preset-app readme 2019-09-23 16:23:25 +01:00
renovate[bot]
cf9686405a chore(deps): update all non-major dependencies (#6443) 2019-09-22 21:25:53 +01:00
Xin Du (Clark)
95e043f167 fix(cli): server should not be initialized in nuxt build (#6441) 2019-09-20 20:49:38 +02:00
Pim
4e4aa4d5d4 feat(server): add config option to define etag hash function (#6438) 2019-09-20 20:49:16 +02:00
Xin Du (Clark)
75f8564cdc fix(babel-preset-app): use loose mode for babel class plugin (#6435) 2019-09-20 09:53:58 +02:00
renovate[bot]
2f0b33f5ed chore(deps): update dependency chokidar to ^3.1.1 (#6440) 2019-09-19 20:24:03 +01:00
Louis-Marie Michelin
7b3155347c feat(vue-app): add prefetch prop to <nuxt-link> (#6292) 2019-09-18 17:06:46 +02:00
renovate[bot]
ac5066c4e0 chore(deps): update dependency terser-webpack-plugin to ^2.1.0 (#6434) 2019-09-18 16:48:11 +02:00
Xin Du (Clark)
7f57d83355 feat(webpack): upgrade terser-webpack-plugin to v2 (#6398) 2019-09-18 15:59:54 +02:00
renovate[bot]
622bd9989c chore(deps): update all non-major dependencies (#6407) 2019-09-18 15:56:51 +02:00
Pim
b17f331fe5 feat: support setting (non-essential) vue-meta options by user (#6432) 2019-09-18 15:51:44 +02:00
Pim
ec6ef6e425 fix(vue-app): fix asyncData hydration when features.transition: false (#6433) 2019-09-18 15:51:22 +02:00
Pim
3b9eddc223 fix(vue-app): clear idle callback (#6430) 2019-09-18 10:54:17 +02:00
Pim
2d0f28fa75 fix(vue-renderer): dont mutate options.head (#6429) 2019-09-17 15:14:10 +02:00
Pim
8f0f16b076 chore: lint vue-app templates (#6390) 2019-09-10 11:51:14 +02:00
Xin Du (Clark)
8ccca220ed fix(config): enable total timing by default when server.timing is enabled (#6371) 2019-09-09 16:44:36 +02:00
Xin Du (Clark)
eadde4e88c fix(config, vue-app): add module declaration for config and vue-app (#6379) 2019-09-09 09:31:42 +02:00
renovate[bot]
794536e08f chore(deps): update all non-major dependencies (#6372)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2019-09-07 23:10:23 +01:00
Pim
174c13d56c feat(vue-app): support configurable features (#6287) 2019-09-05 17:15:27 +02:00
Kevin Marrec
05a6efd1eb chore: rename setup hook to run:before (#6363) 2019-09-05 10:45:39 +02:00
renovate[bot]
a972849406 chore(deps): update dependency serialize-javascript to v2 (#6359) 2019-09-05 09:11:42 +01:00
Jonas Galvez
81f0c8af33 feat(builder): extendPlugins option and builder:extendPlugins hook (#6285) 2019-09-04 14:19:50 +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
xxRockOnxx
519ced4c4a refactor(builder): await build.createRoutes to allow async functions inside it (#6352) 2019-09-04 12:00:58 +02:00
renovate[bot]
c010addb34 chore(deps): update dependency webpack-dev-middleware to ^3.7.1 (#6345) 2019-09-03 21:37:38 +02:00
Xin Du (Clark)
2fc73cf119 refactor(babel-preset-app): simplify babel preset config (#6087) 2019-09-03 21:36:54 +02:00
Xin Du (Clark)
f6ca2c77ed feat(webpack): add webpack:config hook (#6350) 2019-09-03 21:32:49 +02:00
renovate[bot]
f1edd8220b chore(deps): update dependency upath to ^1.2.0 (#6344) 2019-09-03 11:31:56 +02:00
Pim
ad223583fc feat(builder): add builder:prepared hook (#6329) 2019-09-02 15:26:21 +02:00
Pim
e78e8b4b7d feat(builder): support adding custom middlewares (#6342) 2019-09-02 12:53:52 +02:00
Renovate Bot
88fb44c6df chore(deps): update dependency hable to ^2.3.2 2019-09-02 12:36:41 +02:00
Pim
0daaf87c83 feat(utils): export sort routes (#6277) 2019-09-01 18:24:21 +02:00
Pim
93a0924754 fix(vue-app): prevent looping on error during render of error page (#6217) 2019-09-01 16:58:56 +02:00
Alexander Lichter
7c90310166 feat(builder, router): enforce uniform trailing slash handling (#6331) 2019-09-01 16:37:25 +02:00
Xin Du (Clark)
e9c4bcfee2
feat(vue-app): function watchQuery (#6297) 2019-08-31 19:23:11 +01:00
renovate[bot]
75f8d00b68 chore(deps): update all non-major dependencies (#6323) 2019-08-31 19:19:14 +01:00
Clark Du
c8ee9a6608 v2.9.2 2019-08-28 12:32:12 +01:00
renovate[bot]
5a17342f09 chore(deps): update all non-major dependencies (#6314) 2019-08-28 11:56:50 +02:00
Xin Du (Clark)
c14bb35aad
test: remove unnecessary generate (#6301) 2019-08-25 23:41:32 +01:00
Pim
3eb1710b6d test(vue-app): add template compiler helper (#6299) 2019-08-25 13:31:17 +01:00
Xin Du (Clark)
d85d2fb612
Revert "feat: function watchQuery (#6245)" (#6296)
This reverts commit 3c61830a0d.
2019-08-25 10:53:23 +01:00
Xin Du (Clark)
3c61830a0d
feat: function watchQuery (#6245) 2019-08-25 10:12:59 +01:00
Pooya Parsa
7f542e08e5
fix(builder): apply overrides from app dir only (#6283)
[release]
2019-08-24 21:40:39 +04:30
Pooya Parsa
f0ab042bf4
chore(cli): accept hooks (#6274) 2019-08-24 18:45:08 +04:30
Pooya Parsa
9ad02c4017
refactor(core): use hable (#6271) 2019-08-22 00:16:40 +04:30
Pooya Parsa
81b92b6395
fix: improve watching experience for generated files (#6257) 2019-08-21 23:34:04 +04:30
Dmitry Molotkov
1fda184990 fix(server): treat https: null as https: undefined (#6265) 2019-08-21 20:53:53 +04:30
Pim
662a409056 fix(vue-app): only overwrite leave listener when none provided or without done arg (#6264) 2019-08-21 16:06:52 +04:30
Pooya Parsa
3ca7eca7cf
fix(config): provide typescript backward compatibility (#6258) 2019-08-20 21:47:59 +04:30
renovate[bot]
6a06dfb39a chore(deps): update dependency serialize-javascript to ^1.8.0 (#6254) 2019-08-20 21:46:28 +04:30
Sébastien Chopin
fda1b1b54b fix(vue-app): enforce default css when used with frameworks (#6255) 2019-08-20 20:45:36 +04:30
pooya parsa
a11d971969 reorder package.json 2019-08-20 15:43:45 +04:30
pooya parsa
0157b971de v2.9.1 2019-08-20 15:41:35 +04:30
Kevin Marrec
7fc23cd434 fix(vue-app): provide typescript backward compatibility 2019-08-20 15:38:08 +04:30
pooya parsa
ce3b456961 v2.9.0 2019-08-20 12:51:10 +04:30
Pim
df424e56cb feat(vue-renderer): support prepend/append body tags during ssr for all allowed tag types (#6134) 2019-08-19 23:08:13 +04:30
Xin Du (Clark)
c6a9b37821 feat(vue-app): support functional watchQuery (#6222) 2019-08-19 00:05:16 +04:30
renovate[bot]
8f5244cabd chore(deps): update all non-major dependencies (#6213) 2019-08-17 15:54:58 +01:00
Ricardo Gobbo de Souza
2ad6bf2a08 feat(vue-app): export router options (#6231) 2019-08-15 00:08:25 +04:30
Xin Du (Clark)
35ba65562f fix(vue-renderer): call render:resourcesLoaded hook before createRenderer (#6223)
fixes #5960
2019-08-13 01:25:21 +04:30
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
Pooya Parsa
560cb57443
refactor(config): rename devModules to buildModules (#6203) 2019-08-09 15:02:53 +04:30
Xin Du (Clark)
c436839a17 refactor(babel-preset-app): remove babel-plugin-dynamic-import-node (#6197) 2019-08-08 13:39:17 +04:30
Sébastien Chopin
09878cd6dc
feat(vue-app): add $nuxt.refresh() (#6194)
* feat(vue-app): add $nuxt.refreshPageData()

* hotifx: lint

* chore: use getMatchedComponentsInstance util

* fix: rename to refreshPage

* fix: rename to refresh

* feat: add $nuxt.$context and handle error

* feat: set $nuxt.context

* hotfix: test
2019-08-07 15:12:02 +02:00
Sébastien Chopin
9cc3e34673 feat(vue-app): use EventSource instead of WebSocket for build indicator (#6186) 2019-08-05 20:15:33 +04:30
renovate[bot]
599268a26b chore(deps): update dependency webpackbar to v4 (#6190) 2019-08-05 19:35:18 +04:30
renovate[bot]
275c4dc2f1 chore(deps): update dependency consola to ^2.10.0 (#6189) 2019-08-05 13:54:24 +01:00
yutanoma
a87f5dde6a feat(server): allow passing loadingTimeout and other arguments to renderAndGetWindow() (#6178) 2019-08-05 15:44:03 +04:30
Kevin Marrec
b2def683ba chore: remove types remaining from #5858 (#6188) 2019-08-05 15:27:04 +04:30
renovate[bot]
da4615a160 chore(deps): update all non-major dependencies (#6180) 2019-08-04 15:24:01 +01:00
Xin Du (Clark)
7c98571ac9
refactor(webpack): simplify transpile normalization (#6179) 2019-08-04 15:23:33 +01:00
Sébastien Chopin
e8f1532124 feat(webpack): allow function entries for build.transpile (#6120) 2019-08-03 21:09:38 +01:00
renovate[bot]
5401a51862 chore(deps): update all non-major dependencies (#6160) 2019-08-03 20:54:25 +01:00
renovate[bot]
95b2e6fc5f chore(deps): update all non-major dependencies (#6156) 2019-07-30 20:31:34 +01:00
renovate[bot]
edf5e66e3c chore(deps): update dependency vue-meta to ^2.2.0 (#6153) 2019-07-28 22:14:22 +01:00
renovate[bot]
1ebf6cbfa0 chore(deps): update all non-major dependencies (#6121) 2019-07-27 09:55:08 +01:00
Dzmitry Bachko
76b1167d27 fix: modulepreload warnings (#6118) 2019-07-24 18:01:33 +01:00
Sébastien Chopin
f7cb3dae0f feat(vue-app): support app/router.scrollBehavior.js and deprecate scrollBehavior (#6055) 2019-07-24 16:05:50 +04:30
renovate[bot]
ac00f7a627 chore(deps): update all non-major dependencies (#6114)
[release]
2019-07-24 12:26:16 +04:30
Kevin Marrec
81b5ce22ce feat: externalize typescript support (#5858) 2019-07-24 11:56:44 +04:30
renovate[bot]
b73115e576 chore(deps): update all non-major dependencies (#6113) 2019-07-23 19:54:12 +01:00
renovate[bot]
39e41acb47 chore(deps): update all non-major dependencies (#6089) 2019-07-23 12:05:35 +01:00
renovate[bot]
dfba5bb14a chore(deps): update all non-major dependencies (#6083) 2019-07-18 18:20:16 +01:00
renovate[bot]
eb060bedd6 chore(deps): update all non-major dependencies (#6077) 2019-07-17 20:06:39 +01:00
Dmitry Molotkov
1736bda4aa fix(types): add standalone option to NuxtConfigurationBuild (#6078) 2019-07-17 20:05:44 +01:00
Xin Du (Clark)
26a62596c0
fix: throw error when building failed in quiet mode (#6075) 2019-07-17 20:04:40 +01:00
Xin Du (Clark)
54cd68dbb0 fix: support babel corejs config for modern mode (#6070) 2019-07-16 14:57:05 +04:30
renovate[bot]
a974834073 chore(deps): update all non-major dependencies (#6056) 2019-07-15 18:12:59 +01:00
Farzad Soltani
9909bdb534 chore: fix typo (#6065) 2019-07-13 23:27:07 +04:30
pooya parsa
bb820ddb05 fix serialize test 2019-07-11 15:09:27 +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]
2b86e31ab2 chore(deps): update all non-major dependencies (#6037) 2019-07-10 14:06:25 +04:30
Clark Du
55e95edd0e
chore: order package.json 2019-07-09 19:24:42 +01:00
Xin Du (Clark)
a1124d2fff
fix(renderer): correctly load nomodule scripts in safari 10 (#6033) 2019-07-06 16:22:50 +01:00
renovate[bot]
9014251c1f chore(deps): update all non-major dependencies (#6030) 2019-07-06 16:22:27 +01:00
bluelovers
9524bcae5e feat(vue-app): add <client-only> alias for <no-ssr> (#5941) 2019-07-04 16:47:45 +01:00
renovate[bot]
2f3709ccb6 chore(deps): update all non-major dependencies (#6029) 2019-07-04 16:03:49 +01:00
renovate[bot]
4af844cb35 chore(deps): update all non-major dependencies (#6027) 2019-07-04 17:29:14 +04:30
Xin Du (Clark)
e6acdbc9bf fix(cli): prevent both nuxt & nuxt-edge being installed (#6020) 2019-07-04 17:28:07 +04:30
Pim
ac723e6ca6 fix(vue-app): emit triggerScroll to support hash navigation (#6012) 2019-07-03 13:34:51 +04:30
Xin Du (Clark)
a56817f2f8 fix: babel polyfil can not be disabled (#6021) 2019-07-03 11:57:18 +04:30
renovate[bot]
efd242ad35 chore(deps): update all non-major dependencies (#6013) 2019-07-02 14:49:41 +01:00
renovate[bot]
9d04b8fb52 chore(deps): update all non-major dependencies (#6003) 2019-07-01 18:41:18 +01:00
Anthony Fu
d86532ae5c fix(types): add missing devModules type (#6006) 2019-06-29 22:34:20 +04:30
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]
346e1e1704 chore(deps): update dependency hash-sum to v2 (#6002) 2019-06-29 05:37:43 +01:00
renovate[bot]
2a0a34f629 chore(deps): update all non-major dependencies (#5997) 2019-06-28 11:53:20 +04:30
renovate[bot]
75c724e24e feat: update vue-meta to v2 (#5899) 2019-06-28 03:04:47 +04:30
Ustun Ozgur
ae9d3519f7 fix(vue-renderer): clone spa meta to prevent cache modification (#5964) 2019-06-28 00:47:43 +04:30
Xin Du (Clark)
d1395a032a chore: upgrade fs-extra to v8 (#5994) 2019-06-28 00:33:44 +04:30
Clark Du
fc5502cd8d Merge remote-tracking branch 'upstream/dev' into next 2019-06-26 16:32:47 +01:00
William Chong
cf39c75711 feat(vue-renderer): add csp option for csp v1 compatibility (#5975) 2019-06-26 16:22:45 +01:00
Josh Deltener
1d4421ef1d chore: inverse wording of error message (#5990) 2019-06-26 16:20:43 +01:00
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
renovate[bot]
3b74c95529 chore(deps): update dependency url-loader to ^2.0.1 (#5983) 2019-06-25 15:59:47 +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]
52cafef9a2 chore(deps): update all non-major dependencies (#5976) 2019-06-25 10:59:26 +01:00
orblazer
1b634779f8 feat(types): add vuex definition (#5946) 2019-06-24 21:26:54 +04:30
orblazer
86d4613d9c feat(types): add nuxt error type (#5950) 2019-06-24 21:26:07 +04:30
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]
611bab5bbe chore(deps): update all non-major dependencies (#5942) 2019-06-18 14:16:59 +04:30
Xin Du (Clark)
3195f34531 feat: upgrade css-loader to v3 (#5929) 2019-06-15 14:43:05 +04:30
renovate[bot]
de526f6d44 chore(deps): update all non-major dependencies (#5922) 2019-06-14 22:06:14 +04:30
Sébastien Chopin
329f0f5f36 fix(vue-app): fix font-size and make width bigger (#5920) 2019-06-14 22:05:21 +04:30
Alexander Lichter
3d80ef472e fix(webpack): extract css breaks hmr and source-maps (#5906) 2019-06-14 22:03:45 +04:30
Pim
2a2bf9b93d fix(vue-app): always finish transition.leave asynchronously (#5891) 2019-06-14 21:58:03 +04:30
Clark Du
2633e0c2b8 text: fix timer.test it node 9/10 2019-06-12 10:03:37 +01:00
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
719media
d3f1f3b4f9 chore(babel-preset-app): fix typo in babel-preset readme (#5897)
[skip ci]
2019-06-09 13:36:36 +04:30
Kevin Marrec
b1797af428 fix(config): add babel-loader options types (#5895) 2019-06-08 15:50:19 +04:30
Anthony Fu
371c93ed04 fix(config): fix extendRoutes method type (#5841) 2019-06-07 14:06:40 +04:30
Rafał Chłodnicki
0e2965319d fix(vue-app): fix position of the build indicator when page scrolled (#5890) 2019-06-07 01:54:33 +04:30
renovate[bot]
dbba774bcc chore(deps): update dependency caniuse-lite to ^1.0.30000974 (#5883) 2019-06-06 12:39:42 +04:30
Pooya Parsa
cb1b980d8a
feat(vue-app): allow customizing loading indicator (#5844) 2019-06-06 12:39:28 +04:30
renovate[bot]
7b6b3917c1 chore(deps): update dependency file-loader to v4 (#5875) 2019-06-06 12:38:34 +04:30
renovate[bot]
521c949a79 chore(deps): update dependency cache-loader to v4 (#5877) 2019-06-06 12:38:14 +04:30
Renovate Bot
3a9f4c3520 chore(deps): update dependency url-loader to v2 2019-06-06 12:37:36 +04:30
Renovate Bot
a8e5af2ad9 chore(deps): update all non-major dependencies 2019-06-06 12:36:27 +04:30
pooya parsa
2fabea9402 v2.8.1 2019-06-05 00:55:47 +04:30
Rafał Chłodnicki
ab72355669 fix(vue-app): fix exception on property access of undefined object (#5867) 2019-06-05 00:18:56 +04:30
Kevin Marrec
262ea5c31a refactor: prepare for external typescript support (#5854) 2019-06-05 00:18:01 +04:30
renovate[bot]
60df026dd2 chore(deps): update dependency webpack to ^4.33.0 (#5868) 2019-06-05 00:14:37 +04:30
renovate[bot]
8296e942ff chore(deps): update all non-major dependencies (#5848) 2019-06-04 20:05:37 +04:30
Pooya Parsa
31f5729828
fix(vue-renderer): prevent can't set headers after they are sent (#5863) 2019-06-04 19:19:18 +04:30
Pooya Parsa
0c3b9c5d12
fix(vue-app): reduce consola direct access (#5864) 2019-06-04 19:18:45 +04:30
Pooya Parsa
e4fd6fee7e
fix(cli): don't mutate options export (#5865) 2019-06-04 19:18:06 +04:30
renovate[bot]
f2c088978e Update all non-major dependencies (#5838) 2019-05-31 13:53:57 +04:30
pooya parsa
7622d66866 v2.8.0 2019-05-30 21:37:38 +04:30
Alexander Lichter
2e41bb47b5 refactor(vue-app): simplify mount error log (#5826)
* separately log mount error in dev mode
* simplify mount exception

Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2019-05-30 14:28:37 +01:00
Sébastien Chopin
0d5b49dcbc fix(vue-app): update build indicator style (#5834) 2019-05-30 15:57:41 +04:30
Pooya Parsa
f39fe2279e
refactor: improve build indicator (#5832)
[release]
2019-05-30 14:33:57 +04:30
renovate[bot]
e963dafc74 chore(deps): update all non-major dependencies (#5823) 2019-05-30 14:14:25 +04:30
Xin Du (Clark)
d149e9fb64
chore: upgrade boxen to v4 (#5830) 2019-05-30 10:25:36 +01:00
Elevista
3142ce15d8 fix(vue-app): fixPrepatch in-out transition fix (#5797) (#5824) 2019-05-30 09:04:37 +02:00
Pooya Parsa
a759196865 feat(vue-app): build indicator (#5820)
* feat: inline HMR progress indicator

* support router base

* fix nuxt err

* fix space

* fix indentation

* return in case of ws message parsing error

* close ws on beforeDestroy

* ui: Update loading indicator UI

* builder: Add build.indicator option

* ui: Use only logo and %

* hotfix: Alphabetical order

* hotfix: Add fixed with and add back v-if

* minor style change

* rename component to build-indicator

* feat: animated progress

* assign name to component

* update test

* naming consistency

* render into app to prevent dom wrapping

* extra new line

* better App.js formatting

* update snapshot

* clear interval
2019-05-29 16:44:15 +02:00
Xin Du (Clark)
dfac2326ae
feat: upgrade thread-loader to v2 (#5817) 2019-05-27 10:27:35 +01:00
Pim
1f2bf1c3d3 fix(builder): only listen for file changes for supported extensions (#5812) 2019-05-27 13:36:53 +04:30
Pooya Parsa
09620d58a9 feat: improve browser logs (#5810) 2019-05-27 09:32:53 +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
Markus Padourek
5f72ad5358 refactor(core): use require.resolve instead of Module internals (#5796) 2019-05-26 00:24:28 +04:30
Pooya Parsa
7e50fe744f
fix(vue-renderer): add vary header for ‍user-agent‍ in modern server mode (#5807) 2019-05-26 00:24:00 +04:30
Sébastien Chopin
a0958f03f4 fix(server): preserve random port when restarting (#5793) 2019-05-25 22:49:24 +04:30
aidou
0fc8ee41d1 feat(vue-renderer): render.injectScripts option (#5745) 2019-05-25 22:49:10 +04:30
pooya parsa
668db6fbbb fix(server): return listener when calling listen() 2019-05-25 19:48:51 +04:30
renovate[bot]
bacc40b8ec chore(deps): update all non-major dependencies (#5795) 2019-05-25 18:48:51 +04:30
Dmitry Molotkov
5ae03d0d4b chore(deps): unpin and update esm (#5804) 2019-05-25 18:47:02 +04:30
Sébastien Chopin
e75d65b268 fix(builder): watch for pages/ creation when default page displayed (#5753) 2019-05-23 14:49:37 +04:30
Xin Du (Clark)
21aaef3b48 feat(vue-renderer): support render.ssrLog for controlling SSR logs (#5784) 2019-05-23 14:19:16 +04:30
Pim
fd3ee629fa fix(generator): minify spa fallback (#5791) 2019-05-23 14:15:22 +04:30
renovate[bot]
b2a8b9f3f2 chore(deps): update all non-major dependencies (#5787) 2019-05-23 13:24:46 +04:30
Xin Du (Clark)
737d5f0fe7 refactor(builder): pass nuxt options to template as nuxtOptions (#5792) 2019-05-23 13:19:40 +04:30
cui_xiaorui
6e9cf8e394 test: add unit tests for core/resolver.js (#5790) 2019-05-23 09:10:18 +01:00
Xin Du (Clark)
59071e4c6d fix(ts): add type definition for functional babel.presets (#5785) 2019-05-23 00:27:17 +04:30
renovate[bot]
ec391b9f0e chore(deps): update all non-major dependencies (#5779) 2019-05-23 00:12:44 +04:30
cui_xiaorui
b62585f277 test: remove duplicate unit tests in packages/core/test/resolver… (#5782) 2019-05-22 10:25:49 +01:00
renovate[bot]
ac06cbef51 chore(deps): update all non-major dependencies (#5769) 2019-05-21 23:11:40 +04:30
Xin Du (Clark)
b49dc0fe99 fix(builder): preserve templateVars.options in templates (#5730) (#5776) 2019-05-21 22:41:34 +04:30
Xin Du (Clark)
a764e1f90d refactor(vue-app): add group for ssr logs (#5770) 2019-05-21 11:19:16 +02:00
pooya parsa
ffb1844646 update args logging 2019-05-20 20:35:17 +04:30
Xin Du (Clark)
106836f806 fix(vue-app): wrong index and string in ssr log (#5771) 2019-05-20 18:39:35 +04:30
Jun
7084b3a126 fix(vue-app): reuse page component with watchQuery (#5757) 2019-05-19 23:27:20 +04:30
renovate[bot]
75f5d4fded chore(deps): update all non-major dependencies (#5760) 2019-05-19 23:22:02 +04:30
Aaron Ransley
d86e510563 fix(utils): handle serializeFunction edge case (#5754) 2019-05-19 23:20:52 +04:30
Pooya Parsa
38fc721f50
fix(vue-renderer): safe format ssr logs (#5764) 2019-05-19 23:19:24 +04:30
renovate[bot]
dbb9f03959 chore(deps): roll back dependency connect to ^3.6.6 (#5758) 2019-05-17 14:39:48 +01:00
Xin Du (Clark)
30419e73f2
fix(vue-app): remove trailing slash in vue-router non-strict mode (#5746) 2019-05-17 10:39:52 +01:00
renovate[bot]
2399394190 chore(deps): update all non-major dependencies (#5755) 2019-05-17 10:27:09 +01:00
Rafał Chłodnicki
5d5a32b556 fix(vue-app): don't attach catch handler to already loaded component (fixes #5751) (#5752) 2019-05-17 00:01:12 +04:30
Alexander Lichter
d08ce2f628 refactor: small readability improvements (#5748) 2019-05-16 14:38:44 +04:30
renovate[bot]
119bbfc3e8 chore(deps): update all non-major dependencies (#5749) 2019-05-16 12:57:55 +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
renovate[bot]
c741bb4883 chore(deps): update dependency postcss-import-resolver to ^1.2.3 (#5732) 2019-05-14 22:36:11 +04:30
Xin Du (Clark)
1f5c6025bd fix(webpack): resolve consola to latest (#5729) 2019-05-14 22:25:14 +04:30
Pooya Parsa
62a593dcfd
fix(builder): use warn only for mismatched deps (#5723) 2019-05-14 18:05:31 +04:30
pooya parsa
121d481317 sort typescript/package.json fields 2019-05-14 17:09:26 +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
renovate[bot]
2ad194ca0e chore(deps): update all non-major dependencies (#5710) 2019-05-13 12:47:56 +01:00
renovate[bot]
126c8c14ce chore(deps): update dependency babel-loader to ^8.0.6 (#5706) 2019-05-12 12:38:14 +04:30
Kevin Marrec
0c7e500699 fix: prevent ts-node to register twice (#5699) 2019-05-11 21:21:19 +04:30
Kevin Marrec
732be3288e fix(ts): fix context.app type (#5701) 2019-05-11 21:20:36 +04:30
Kevin Marrec
501c58608c fix(ts): fix extendRoutes method type (#5700)
Co-authored-by: René Stalder <renestalder@protonmail.com>
2019-05-11 21:20:14 +04:30
renovate[bot]
8019c9c7db chore(deps): update dependency fs-extra to v8 (#5702) 2019-05-11 21:12:55 +04:30
Pooya Parsa
67750245ab
fix(builder): corretly detect mode of hashed plugins (#5695) 2019-05-11 13:53:37 +04:30
renovate[bot]
28d9d46fa4 chore(deps): update all non-major dependencies (#5697) 2019-05-11 13:53:16 +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
Xin Du (Clark)
f2bd2f56de feat(ts): upgrade ts-loader to v6 (#5691) 2019-05-10 15:26:44 +04:30
Yama-Tomo
1e4708e90f feat(webpack): suppress not found typescript warnings (#5635) 2019-05-10 14:48:44 +04:30
Rafał Chłodnicki
8588ca9a7e fix(vue-app): Followup for fix for handle prefetch error (#5687) (#5690) 2019-05-10 10:56:28 +01:00
Rafał Chłodnicki
be18b31525 fix(vue-app): properly catch component loading error (#5687) (#5688) 2019-05-10 13:20:50 +04:30
Hyunje Jun
2a66d1952e fix(vue-app): consider watchQuery option in routerViewKey (#5516) 2019-05-09 16:23:59 +04:30
renovate[bot]
d3256331f6 Update all non-major dependencies (#5679) 2019-05-09 12:49:49 +04:30
pooya parsa
0548df636c Merge branch '2.x' into dev 2019-05-09 11:42:19 +04:30
Sébastien Chopin
4b11dcc9ad feat(vue-renderer/vue-app): report SSR console logs to the browser with consola (#5673) 2019-05-09 11:36:17 +04:30
renovate[bot]
2f5646bae4 chore(deps): update dependency vuex to ^3.1.1 (#5675) 2019-05-09 01:10:27 +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]
97ebf24cb1 chore(deps): update all non-major dependencies (#5663) 2019-05-08 21:03:35 +04:30
Xin Du (Clark)
9346df7f03
feat(typescript): add babel config types (#5666) 2019-05-07 11:39:59 +01:00
renovate[bot]
5a051454e8 chore(deps): roll back dependency ts-loader to ^5.4.5 (#5660) 2019-05-07 10:47:01 +01:00
renovate[bot]
a88e8b60c7 chore(deps): update all non-major dependencies (#5647) 2019-05-06 18:45:16 +04:30
Xin Du (Clark)
adb381275b feat(webpack): extendable babel.presets and babel envName (#5637) 2019-05-06 18:30:07 +04:30
Pooya Parsa
8576b4fcfd
feat: configurable aliases (#5655) 2019-05-06 18:29:37 +04:30
Pooya Parsa
ffadb3177f
fix(webpack): set log level to warn for HardSourcePlugin (#5653) 2019-05-06 15:17:37 +04:30
Pooya Parsa
5ebf1cc78c
fix: avoid using aliases in templates (#5656) 2019-05-06 15:16:04 +04:30
renovate[bot]
5631a83eb4 chore(deps): update all non-major dependencies (#5640) 2019-05-03 13:38:50 +04:30
renovate[bot]
8327023fc7 chore(deps): update dependency chokidar to v3 (#5631) 2019-05-02 09:23:00 +01:00
Xin Du (Clark)
9d50bbb465
chore: add core-js@3 example in readme (#5633) 2019-05-02 09:22:44 +01:00
renovate[bot]
989add8fb2 chore(deps): update all non-major dependencies (#5628) 2019-05-01 17:17:38 +01:00
Xin Du (Clark)
9fb720d518 fix(builder): call watch:restart after watch:fileChanged hook (#5620) 2019-04-29 22:50:38 +04:30
Xin Du (Clark)
56d5c0c548 fix(vue-renderer): await on spa:templateParams hook (#5619)
fixes #5601
2019-04-29 13:05:33 +04:30
renovate[bot]
905de666f2 chore(deps): update all non-major dependencies (#5591) 2019-04-29 12:03:21 +04:30
Xin Du (Clark)
a21555c8cd fix(utils): node v8 not support dotAll in regex (#5608) 2019-04-26 23:47:51 +04:30
Xin Du (Clark)
b7284e1b4a refactor(vue-renderer): remove chalk in renderer (#5609) 2019-04-26 16:24:37 +04:30
pooya parsa
a5cf705ed8 v2.6.3 2019-04-25 13:13:50 +04:30
pooya parsa
2108cd669c v2.6.3 2019-04-25 13:05:37 +04:30
pooya parsa
a354d9761f atomic children removal 2019-04-24 20:43:59 +04:30
renovate[bot]
89f7287356 chore(deps): update dependency @types/node to ^11.13.7 (#5585) 2019-04-23 13:47:35 +04:30
Xin Du (Clark)
31a15559e5 refactor: move modern detection from server to utils (#5584) 2019-04-23 13:46:56 +04:30
pooya parsa
912ef25fce revert(vue-app): "expect 0 to be defined"
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2019-04-23 00:38:27 +04:30
Pooya Parsa
111132df23
refactor: avoid using _path variable (#5582) 2019-04-22 23:20:07 +04:30
renovate[bot]
1ef50f58a1 chore(deps): update all non-major dependencies (#5581) 2019-04-22 23:18:40 +04:30
Jonas Galvez
88a78ffa58 fix(utils): serialize inline functions (#5051) (#5580) 2019-04-22 23:17:42 +04:30
pooya parsa
a2790b4152 fix esm test 2019-04-21 22:31:42 +04:30
Xin Du (Clark)
2f9aae3fbe refactor(server): exclude dist files request from browser detection (#5571) 2019-04-21 22:27:48 +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
Xin Du (Clark)
aea9db6f56
fix(webpack): fix production font preloading (#5436) 2019-04-20 13:05:14 +01:00
Xin Du (Clark)
f5bbc585ee
refactor(vue-renderer): split renderer into ssr, spa and modern (#5559) 2019-04-20 13:02:51 +01:00
Sébastien Chopin
01acf66c67 feat(vue-app): rename transition to pageTransition and deprecate it (#5558) 2019-04-20 14:31:59 +04:30
renovate[bot]
8b45da09b3 chore(deps): update dependency cache-loader to v3 (#5567) 2019-04-20 13:58:50 +04:30
renovate[bot]
7176ab2d4b chore(deps): update all non-major dependencies (#5538) 2019-04-20 13:56:37 +04:30
Kevin Marrec
ccf23a07ed fix(vue-app): fix context req and res types (#5560) 2019-04-20 13:46:26 +04:30
Xin Du (Clark)
30c2b9542e
chore: revert vue-router temp fix (#5490) 2019-04-16 13:38:25 +01:00
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]
615351d5fa chore(deps): update all non-major dependencies (#5458) 2019-04-04 11:17:38 +04:30
renovate[bot]
75e8a89309 chore(deps): update all non-major dependencies (#5454) 2019-04-03 22:36:50 +04:30
Xin Du (Clark)
6ce99d2cc8 fix: revert node-externals disabling in dev mode (#5452) 2019-04-03 14:14:36 +04:30
renovate[bot]
913069ff59 chore(deps): update all non-major dependencies (#5447) 2019-04-03 11:42:43 +04:30
Xin Du (Clark)
e155ea43d7 fix(webpack): prefer main over module field for server config (#5446)
[release]
2019-04-02 17:30:32 +04:30
Xin Du (Clark)
1ae433355e fix: not override externals set by build.extend (#5444) 2019-04-02 17:27:45 +04:30
renovate[bot]
424d641c9f chore(deps): update all non-major dependencies (#5439) 2019-04-02 13:44:30 +04:30
James George
b978a3761d feat(vue-renderer): add csp meta tags (#5354) 2019-04-02 00:29:58 +04:30
renovate[bot]
d9a2a7e519 chore(deps): update dependency html-minifier to v4 (#5438) 2019-04-01 23:55:08 +04:30
Pooya Parsa
516aea3d7f
feat(cli): add internal _generate and _build options (#5434) 2019-04-01 20:18:24 +04:30
Damian Stasik
abf7db1fd3 refactor(webpack): add ability to get webpack config class (#5378) 2019-03-31 22:15:46 +01:00
Xin Du (Clark)
a5a165749a fix: disable node-externals for dev mode (#5414) 2019-04-01 01:05:06 +04:30
Xin Du (Clark)
159123feea feat(babel-preset-app): support specifying core-js version (#5411) 2019-03-30 23:53:17 +04:30
Alexander Lichter
1bd4fb14ab chore(postcss): deprecate config support (#5419) 2019-03-30 23:42:12 +04:30
Pooya Parsa
8b9969599d
fix(renderer): retry render if renderer is in loading or created state (#5417) 2019-03-30 23:35:15 +04:30
Pooya Parsa
001ba775fa
revert(core): call ready to prevent breaking changes (#5413) 2019-03-30 23:23:56 +04:30
renovate[bot]
66b956a1ba chore(deps): update all non-major dependencies (#5420) 2019-03-30 22:59:18 +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
renovate[bot]
286653292d chore(deps): update dependency typescript to ^3.4.1 (#5415) 2019-03-29 22:56:19 +04:30
Sam Bowler
97db6a4b41 fix(vue-renderer): add the csp hash if unsafe-inline hasn't been specified (#5387) 2019-03-29 20:39:53 +04:30
Franck Abgrall
91f4eb0468 feat(cli): add --quiet option to nuxt generate command (#5357) 2019-03-29 18:38:08 +04:30
noe132
2d73e8aeba fix(vue-app): prevent mounting page twice on redirect (#5361) 2019-03-29 18:36:35 +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
ryota yamamoto
3b85dd97fc fix: SyntaxError Unexpected token export in importing babel runtime helper (#5401)
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
[release]
2019-03-28 11:56:18 +00:00
Xin Du (Clark)
04ddcac4f9
fix: memory leak in dev mode (#5399) 2019-03-27 14:34:16 +00:00
renovate[bot]
c009a202b8 chore(deps): update all non-major dependencies (#5374) 2019-03-27 16:58:16 +04:30
renovate[bot]
87e0ac4637 chore(deps): update dependency semver to v6 (#5393) 2019-03-27 14:52:53 +04:30
Xin Du (Clark)
64fa4244d0 fix(build): disable loading babel.config.js by default (#5365) 2019-03-24 22:14:22 +04:30
Daniel Roe
847f2f1268
Merge branch 'dev' into dev 2019-03-23 17:44:34 +00:00
Pooya Parsa
b2a92ac4e3
Update build.d.ts 2019-03-23 20:41:31 +04:30
Kevin Marrec
69d8001d0f
remove old plugin options key
Co-Authored-By: danielroe <daniel@concision.co.uk>
2019-03-23 14:08:36 +00:00
Kevin Marrec
55dd4cb4df
greater flexibility for typeCheck options
Co-Authored-By: danielroe <daniel@concision.co.uk>
2019-03-23 14:06:49 +00:00
Johan Roxendal
77dcfe6ee8 fix(vue-app): decode uri in getlocation (#5337) 2019-03-23 13:10:38 +04:30
Pooya Parsa
535327c4f1
refactor(vue-renderer): improve ready status error (#5339) 2019-03-23 11:33:08 +04:30
Pooya Parsa
caf5198430
fix(builder): await for renderer to load resources (#5341) 2019-03-23 11:32:55 +04:30
renovate[bot]
a6ee8bfea0 chore(deps): update all non-major dependencies (#5346) 2019-03-23 11:22:12 +04:30
Pooya Parsa
439b914fd0
fix: fail in case of missing core-js dependency (#5342) 2019-03-23 11:18:18 +04:30
Pim
39bbe46ecb fix(cli): catch all possible errors thrown from proper-filelock (#5347) 2019-03-23 11:16:00 +04:30
renovate[bot]
3c50876d73 chore(deps): update all non-major dependencies (#5325) 2019-03-22 18:01:04 +04:30
Daniel Roe
2c1444d991
fix: add type definition for configuring forkTsChecker 2019-03-21 23:42:50 +00:00
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
Pim
7c24280a7a fix: apply default lock options before setting lock (#5320) 2019-03-21 23:37:50 +03:30
Thomas Reichling
9ff01f9b20 fix: remove consola.debug for hooks (#5318) 2019-03-21 23:22:17 +03:30
renovate[bot]
db200a3e69 chore(deps): update all non-major dependencies (#5314) 2019-03-21 23:15:21 +03:30
Pooya Parsa
20836d9341 hotfix: revert to corejs@2 (#5317) 2019-03-21 19:29:51 +00:00
Romain Lanz
e67b298218 fix(ts): wrong export used in render.d.ts (#5309) 2019-03-21 21:03:02 +03:30
pooya parsa
e2c296321b v2.5.0 2019-03-21 16:37:34 +03:30
Pooya Parsa
65c1f86ea3
fix(webpack): always resolve core-js to v3 (#5307) 2019-03-21 15:18:37 +03:30
renovate[bot]
aa61deadf8 chore(deps): update all non-major dependencies to ^7.4.2 (#5306) 2019-03-21 15:18:23 +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
Alexander Lichter
3ac01df488 fix(vue-app): decode router base to support unicode characters (#5297) 2019-03-20 20:16:09 +03:30
Dmitry Molotkov
60e9f781dc chore(babel-preset-app): fix lint error (#5296) 2019-03-20 13:20:33 +00:00
Clark Du
be4cee84bf chore: expose absoluteRuntime 2019-03-20 12:42:42 +00:00
Xin Du (Clark)
d094c4a974 feat: support core-js 3 (#5291) 2019-03-20 15:40:10 +03:30
Nianyong
cf02e8226a fix(vue-app): duplicated router.base when using context.redirect(object) (#5290) 2019-03-20 15:39:14 +03:30
Xin Du (Clark)
0eb5ed9763 fix(webpack): loaders in extend config is broken (#5292) 2019-03-20 15:38:24 +03:30
Sébastien Chopin
ef41e205e6 feat: loading screen (#5251)
[release]
2019-03-20 12:47:53 +03:30
renovate[bot]
fae8fb0df8 chore(deps): update all non-major dependencies (#5288) 2019-03-20 10:41:58 +03:30
renovate[bot]
f5f1471bc5 chore(deps): update all non-major dependencies (#5284) 2019-03-20 09:28:41 +03:30
renovate[bot]
f8ff8b5d62 chore(deps): update dependency consola to ^2.5.7 (#5283) 2019-03-19 21:09:36 +03:30
Pim
65a431d68c fix: relax lock settings (#5280) 2019-03-19 14:54:23 +01:00
Clark Du
2eb1965357 fix: correct socket address in use error message 2019-03-19 11:20:08 +00:00
renovate[bot]
ffe5f4df5d chore(deps): update all non-major dependencies (#5261) 2019-03-19 10:27:06 +00:00
Matsumoto Toshi
8bbb269d80 test: Add error on malformed URL (#5269) 2019-03-19 10:26:37 +00:00
Michael Leaney
d03a61b040 fix(vue-app): multiple named views cause invalid syntax (#5262) 2019-03-19 10:25:20 +00:00
renovate[bot]
ca1ecf0ee4 chore(deps): update dependency caniuse-lite to ^1.0.30000950 (#5259) 2019-03-17 11:57:10 +03:30
phof
5b7f6d78ec fix(server): handle decodeURI error (#5243) 2019-03-17 01:03:22 +03:30
pooya parsa
37cd24c261 chore: cherry-pick goodies from #4235
Co-authored-by: Sébastien Chopin <seb@chopin.io>
2019-03-17 00:52:01 +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
renovate[bot]
4281c22b45 chore(deps): update dependency caniuse-lite to ^1.0.30000948 (#5249) 2019-03-15 11:24:24 +03:30
renovate[bot]
5f6f12eea7 chore(deps): update dependency @nuxt/devalue to ^1.2.2 (#5240) 2019-03-14 13:01:52 +00:00
pooya parsa
cb3171f296 update @types/chokidar 2019-03-14 13:56:52 +03:30
pooya parsa
f89227e968 fix typo in index.d.ts 2019-03-14 13:52:12 +03:30
Daniel Hritzkiv
29c3c4250c fix(ts): deprecate isClient, isServer, isStatic (#5211) 2019-03-14 13:43:21 +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
Julien Dargelos
821676511b fix(webpack): clone config.entry (fixes #4849) (#5236) 2019-03-14 13:35:19 +03:30
renovate[bot]
b22d97ea3a chore(deps): update all non-major dependencies to ^2.6.9 (#5234) 2019-03-14 13:29:47 +03:30
renovate[bot]
0dd22deba3 chore(deps): update all non-major dependencies (#5232) 2019-03-14 09:25:52 +03:30
renovate[bot]
650a80d744 chore(deps): update dependency proper-lockfile to v4 (#5226) 2019-03-14 00:02:18 +03:30
Xin Du (Clark)
1fb7538dfe fix: publicPath is not reactive in dev restarting (#5227) 2019-03-13 22:45:26 +03:30
renovate[bot]
ff93d14bbc chore(deps): update all non-major dependencies (#5224)
[release]
2019-03-13 14:03:43 +03:30
Pooya Parsa
aabb1f69e7
perf(core): skip esm for node_modules and non .js files (#5220) 2019-03-13 13:54:39 +03:30
Alexander Lichter
adf423a57f fix(postcss): default to preset-env and cssnano last (#5215) 2019-03-13 13:40:05 +03:30
Alexander Lichter
37006f6267 fix(vua-app): clone mount error to prevent mutating read-only error object (#5214) 2019-03-13 01:37:38 +03:30
Xin Du (Clark)
648062c308
fix: correct public path in generation and start (#5202) 2019-03-12 15:52:15 +00:00
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
Clark Du
2f2baacbcc test: try to fix unhandled request 2019-03-11 13:22:09 +00:00
Pooya Parsa
13cb0f73d9 refactor: remove builder coupling from server (#5157) 2019-03-08 20:43:23 +00:00
Xin Du (Clark)
9e1ef888d8 fix: respect namespaced in store module (#5189) 2019-03-08 22:12:20 +03:30
Xin Du (Clark)
1ea86617ca
fix: keep-alive component data should not be updated (#5188) 2019-03-08 16:43:27 +00:00
Pooya Parsa
d07aefa5db feat(vue-renderer): use async fs (#5186) 2019-03-08 12:20:03 +00:00
renovate[bot]
2cbddeb142 chore(deps): update all non-major dependencies (#5174) 2019-03-07 23:04:30 +03:30
Dmitry Molotkov
a867dbd34b fix(builder, vue-app): order of plugin execution based on order in array (#5163) 2019-03-07 23:03:20 +03:30
Yutaka Sasaki
41028a407b fix(vue-app): avoid css chunk error (#5173) 2019-03-07 16:43:09 +03:30
renovate[bot]
688ab27596 chore(deps): update dependency fork-ts-checker-webpack-plugin to v1 (#5172) 2019-03-07 11:34:21 +03:30
renovate[bot]
50e9d6213d chore(deps): update all non-major dependencies (#5171) 2019-03-07 10:42:51 +03:30
renovate[bot]
26bfa47112 chore(deps): update dependency webpack-dev-middleware to ^3.6.1 (#5170) 2019-03-06 16:37:49 +00:00
renovate[bot]
840ccb4bdf chore(deps): update dependency extract-css-chunks-webpack-plugin to v4 (#5160)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2019-03-06 11:16:07 +00:00
renovate[bot]
083ac57514 chore(deps): update dependency esm to ^3.2.11 (#5165) 2019-03-06 09:35:08 +00:00
Clark Du
a188f07f19 chore: remove unnecessary checks 2019-03-05 17:07:05 +00:00
renovate[bot]
43709fda15 chore(deps): update all non-major dependencies (#5158) 2019-03-05 09:21:06 +03:30
Xin Du (Clark)
cc573a4925
test: unit tests for server module (#5154) 2019-03-04 20:12:33 +00:00
renovate[bot]
e3991aacdf chore(deps): update dependency extract-css-chunks-webpack-plugin to ^3.3.3 (#5156) 2019-03-04 20:11:51 +00:00
Clark Du
52fe145adc feat(babel): include es6.object.assign by default 2019-03-04 16:39:58 +00:00
renovate[bot]
340c10736b chore(deps): update all non-major dependencies (#5149) 2019-03-04 10:19:33 +03:30
Kevin Marrec
92f81e01e7 feat(ts): nuxt configuration typedefs (#4854) 2019-03-04 10:18:40 +03:30
renovate[bot]
be89ea1b87 chore(deps): update all non-major dependencies (#5148) 2019-03-04 00:50:45 +03:30
Pim
4e51723efc feat(cli): lock project during build or generate (#4985) 2019-03-03 11:42:46 +03:30
Xin Du (Clark)
05299d6738 refactor: improve modern middleware and spa modern rendering (#5037) 2019-03-03 11:22:59 +03:30
HG
04cdd60211 chore(babel-preset): create readme with basic docs (#5127) 2019-03-03 11:20:42 +03:30
Jonas Galvez
e87711c5e7 feat: support devModules option (#5102) 2019-03-03 11:19: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
Shingo Sato
f39205a796 chore(vue-app): suppress deprecated warning for classic vuex in prod (#5137) 2019-03-01 19:19:22 +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
47dc297bd7 chore(deps): update @types/node to v11 2019-02-26 13:35:52 +03:30
pooya parsa
42e41cc2f3 update all remaining safe deps 2019-02-26 13:34:28 +03:30
Matjaž Lipuš
66273f4b4e fix(types): reflect chainlable NuxtLoading methods (#5104) 2019-02-26 12:47:44 +03:30
Alexander Schwartz
7001312269 fix(vue-app): use browser to handle scrolling position on page reload and back-navigation from other sites (#5080) 2019-02-26 12:47:32 +03:30
Matjaž Lipuš
a6756a4188 fix(types): reflect chainlable NuxtLoading methods (#5104) 2019-02-25 23:48:06 +03:30
Alexander Schwartz
ee87f4ca82 fix(vue-app): use browser to handle scrolling position on page reload and back-navigation from other sites (#5080) 2019-02-25 23:46:44 +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]
9bf3b32a7b chore(deps): update babel to ^7.3.4 (#5108) 2019-02-25 23:01:30 +03:30
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]
21b1b865ee chore(deps): update all non-major dependencies (#5088) 2019-02-22 16:28:14 +03:30
renovate[bot]
febcd6c524 chore(deps): update dependency vue-loader to ^15.6.4 (#5070) 2019-02-19 22:55:59 +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
renovate[bot]
27b30caee5 chore(deps): update all non-major dependencies (#5057) 2019-02-19 16:48:30 +00:00
Pim
3d2deacd3a feat: show warning on forced exit (#4958) 2019-02-19 16:40:34 +00:00
Xin Du (Clark)
71a70fe56c fix: bundle resources other than js(x)/json in node_modules (#4913) 2019-02-18 20:05:07 +00:00
Xin Du (Clark)
9860eb6a7c
refactor: unify context in webpack module (#5054) 2019-02-18 17:00:51 +00:00
renovate[bot]
3ed9f3e6a6 chore(deps): update all non-major dependencies (#5044) 2019-02-18 12:25:43 +00:00
renovate[bot]
b51d7ec2fd chore(deps): update all non-major dependencies (#5038) 2019-02-15 14:56:10 +00:00
Clark Du
5f9b1044ff Merge remote-tracking branch 'origin/2.x' into dev 2019-02-15 13:18:09 +00:00
Xin Du (Clark)
3516580701
fix(hotfix): preload modern resource in spa modern mode (#5043) 2019-02-15 13:08:27 +00:00
Pooya Parsa
2015140d12 feat(vue-app): universal fetch (#5028)
* pkg(nuxt-start): add node-fetch, unfetch

* pkg(vue-app): add node-fetch, unfetch

* add yarn.lock

* feat(config): _app.fetch options

* feat(builder): add fetch to templateVars

* feat(vue-app): polyfill global with fetch

* feat(fixtures/basic): /api/test

* add fetch example to fixtures

* remove unfetch from nuxt-start

* update template snapshot

* revert extra new line in server.js

* single line if
2019-02-14 16:56:58 +01:00
Clark Du
d9a0b5f61b fix: not send Server-Timing header if no timing info 2019-02-14 15:23:25 +00:00
Clark Du
c6d8e8ff66 refactor: isModernBrowser return boolean for avoiding duplicate call 2019-02-14 14:01:30 +00:00
Clark Du
2b4d79c199 refactor: not detect modern browser if modern mode is disabled 2019-02-14 13:21:11 +00:00
Alexander Lichter
0826d7e5fd perf: await routeData promises in parallel (#5027) 2019-02-13 14:37:12 +00:00
Clark Du
176641f6cb refactor: fallback to babel-preset-env defualt targets when buildTarget is not specified 2019-02-13 11:26:05 +00:00
Clark Du
aad46ed674 fix: disable parallel build when extractCSS is enabled 2019-02-13 10:32:13 +00:00
Andrey Shertsinger
bcd672f931 fix: generate failure (#5007) 2019-02-13 09:18:41 +00:00
Pim
ad6a8cda9a test: mock enquirer in typescript tests (#5025) 2019-02-13 09:16:51 +00:00
renovate[bot]
9be8861b81 chore(deps): update all non-major dependencies (#5019) 2019-02-13 12:16:06 +03:30
renovate[bot]
8678d0d6ab chore(deps): update dependency webpack-bundle-analyzer to ^3.0.4 (#5015) 2019-02-12 14:03:55 +03:30
renovate[bot]
6d90ec2a50 chore(deps): update dependency consola to ^2.4.1 (#5012) 2019-02-12 11:44:29 +03:30
renovate[bot]
960f8cab5c chore(deps): update all non-major dependencies (#5009) 2019-02-12 10:48:11 +03:30
Pim
75a74543f4 test: improve nuxt-loading component tests (#5005) 2019-02-12 00:32:30 +03:30
Alexander Lichter
3997d5049d perf(webpack): use futureEmitAssets (#5003) 2019-02-11 14:12:37 +03:30
renovate[bot]
8106523311 chore(deps): update all non-major dependencies (#5000) 2019-02-11 12:10:42 +03:30
renovate[bot]
e083c38f8f chore(deps): update all non-major dependencies (#4992) 2019-02-09 13:32:50 +03:30
Pooya Parsa
408680046c
fix(vue-app): fix asyncData memory leak on client-side (#4966)
Co-authored-by: Sébastien Chopin <seb@chopin.io>
2019-02-08 20:03:45 +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
Clark Du
3c79b4c0d7 Merge branch '2.x' into dev 2019-02-08 12:35:44 +00: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
Pooya Parsa
29297160a1
feat(vue-renderer): improvements (#4722) 2019-02-08 13:35:01 +03:30
Clark Du
eac6d022f5 refactor: remove unnecessary onEmit in old webpack 2019-02-07 17:26:43 +00:00
Kevin Marrec
17cc12f005 improvement(ts): transpileOnly when using nuxt-ts start (#4906) 2019-02-07 18:36:30 +03:30
Alexander Lichter
574a2eb293 fix: disable "analyze" for nuxt generate (#4975) 2019-02-07 18:30:41 +03:30
Alexander Lichter
31cb18737b refactor: use spread syntax for plugin push (#4976) 2019-02-07 18:30:04 +03:30
Cristian Pallarés
dbf70999e4 fix(vue-app): fix getNuxtChildComponents method (#4969) 2019-02-07 10:14:38 +00:00
renovate[bot]
a03dafbe97 chore(deps): update dependency webpack to ^4.29.3 (#4972) 2019-02-07 12:12:39 +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
renovate[bot]
995911d994 chore(deps): upgrade vue to ^2.6.3 (#4968) 2019-02-07 01:42:22 +03:30
renovate[bot]
bbcac17f34 chore(deps): update dependency webpack-dev-middleware to ^3.5.2 (#4967) 2019-02-07 01:01:55 +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
fb87a559c2 fix: fix non standard esm modifications 2019-02-06 22:28:43 +03:30
Pim
5ec5932bad fix: refactor file watchers (chokidar/linux workaround) (#4950) 2019-02-06 22:16:17 +03:30
pooya parsa
4e30bda44e v2.4.3 2019-02-06 19:37:24 +03:30
pooya parsa
1be455f5af manually bump all versions to 2.4.3 2019-02-06 19:27:43 +03:30
pooya parsa
13e494c0f0 v2.4.3 2019-02-06 19:26:54 +03:30
renovate[bot]
00e2280c30 chore(deps): update dependency webpack to ^4.29.2 (#4963) 2019-02-06 18:53:37 +03:30
Ricardo Gobbo de Souza
e2c811a6d0 feat(module): support src as a function in addModule (#4956) 2019-02-06 18:53:28 +03:30
Xin Du (Clark)
f40f3f92c1 fix: await buildDone hook (#4955) 2019-02-06 18:53:14 +03:30
renovate[bot]
8b474cd256 chore(deps): update dependency webpack to ^4.29.2 (#4963) 2019-02-06 18:45:47 +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
Ricardo Gobbo de Souza
1e9eb4b70c feat(module): support src as a function in addModule (#4956) 2019-02-05 15:05:42 +03:30
Pooya Parsa
93089543be
feat: upgrade vue to 2.6 (#4953) 2019-02-05 14:00:57 +03:30
Xin Du (Clark)
5c08db20b4 fix: await buildDone hook (#4955) 2019-02-05 13:23:47 +03:30
pooya parsa
a96355e497 merge branch 2.x 2019-02-05 01:07:21 +03:30
pooya parsa
95ef1d4062 fix: update webpack to 4.29.1 2019-02-05 00:46:43 +03:30
pooya parsa
b1a5a19ac5 fix: update terser-webpack-plugin to 1.2.2 2019-02-05 00:46:24 +03:30
Clark Du
858c9eeb5d fix(test): unhandled open handles 2019-02-04 12:39:54 +00:00
Clark Du
fabf1c07eb test: add await for promisable expect 2019-02-04 11:31:24 +00:00
Xin Du (Clark)
43491f6e53
feat(test): unit tests for @nuxt/builder (#4834) 2019-02-04 10:34:04 +00:00
Alexander Lichter
422155ea14 fix: warn when using array postcss configuration (#4936) 2019-02-04 01:51:51 +03:30
renovate[bot]
efc2880829 chore(deps): update dependency caniuse-lite to ^1.0.30000934 (#4934) 2019-02-03 11:56:05 +00:00
renovate[bot]
cdec133cb3 chore(deps): update all non-major dependencies (#4894) 2019-02-02 14:39:07 +03:30
Xin Du (Clark)
ca191240fb fix: extra properties in templateFiles (#4925) 2019-02-01 19:55:32 +03:30
Xin Du (Clark)
268851fe85
fix: bundle resources other than js(x)/json in node_modules (#4913) 2019-02-01 16:04:06 +00:00
Jonas Galvez
14f43da9b2 fix: serialize external function (#4916) 2019-02-01 17:01:16 +03:30
Alexander Lichter
569b6aab9c refactor: typos (#4922) 2019-02-01 16:38:47 +03:30
Kevin Marrec
d7b57e0d97 improvement(ts): transpileOnly when using nuxt-ts start (#4906) 2019-02-01 16:35:03 +03:30
Xin Du (Clark)
0223e56dd4 fix: remove cache-loader for external resources (#4915) 2019-02-01 16:33:32 +03:30
Xin Du (Clark)
f70645e5aa fix: revert templatFiles name (#4924) 2019-02-01 15:26:26 +03:30
Clark Du
fb13b41cf1 Merge remote-tracking branch 'upstream/2.x' into dev 2019-01-30 20:24:13 +00:00
Xin Du (Clark)
4c5a59e149
refactor: generate routes and template files in builder (#4883) 2019-01-30 16:54:26 +00:00
Clark Du
32b0f155c9 v2.4.2 2019-01-30 15:15:05 +00:00
Pooya Parsa
3348cd6cd5 release: 2.4.1 (#4889)
# Bugfixes 

* Handle `async` components correctly when using `nuxt-ts` (PR #4886)
* Fix `extractCSS` in `dev` mode (PR #4888)
* Correctly apply class when using `linkPrefetchedClass` (PR #4893)
2019-01-30 14:09:09 +00:00
Clark Du
ade4bbe486 v2.4.1 2019-01-30 14:07:33 +00:00
phof
b2abb499f8 Fixes #4882 (#4893) 2019-01-30 14:01:39 +00:00
phof
0088b333f8 Fixes #4882 (#4893) 2019-01-30 11:34:33 +00:00
Xin Du (Clark)
a614fd3f81 hotfix: extractCSS error in dev mode (#4892) 2019-01-30 01:37:55 +03:30
Xin Du (Clark)
de6ca3a4f9 hotfix: extractCSS error in dev mode (#4892) 2019-01-30 01:37:13 +03:30
Xin Du (Clark)
2b30915950 hotfix: disable extract-css-chunks-webpack-plugin in dev mode (#4888) 2019-01-29 23:59:43 +03:30
Xin Du (Clark)
928a230f91 hotfix: disable extract-css-chunks-webpack-plugin in dev mode (#4888) 2019-01-29 23:59:21 +03:30
Kevin Marrec
792e9f4763 fix tsconfig + remove forgotten duplicated test (#4886) 2019-01-29 23:04:23 +03:30
Xin Du (Clark)
96bab9f09c test: unit tests for @nuxt/util (#4880) 2019-01-29 22:53:42 +03:30
Kevin Marrec
774823ba41 fix tsconfig + remove forgotten duplicated test (#4886) 2019-01-29 22:49:21 +03:30
renovate[bot]
1501592581 chore(deps): update all non-major dependencies (#4872) 2019-01-29 11:07:10 +00:00
Xin Du (Clark)
e22a282eab
test: unit tests for generator (#4857) 2019-01-29 10:16:45 +00:00
Xin Du (Clark)
59be77a2f3
feat: .nuxtignore (#4647) 2019-01-29 09:31:14 +00:00
Clark Du
5f221b4b7e v2.4.0 2019-01-28 17:41:28 +00:00
Kevin Marrec
f18ce4e5d4 fix(ts): better tsconfig.json handling & improve tests (#4856)
* fix(ts): make ts-node register the right `tsconfig.json`

* setup guard & change require in nuxt-ts bin

* improve tests + test guard

* remove typescript-custom fixture

* Move TS unit test from `test/unit` to `packages/typescript/test`

* fix tests
2019-01-28 16:59:13 +03:30
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
Xin Du (Clark)
43ce8e97bc fix: match subdir under node_module in transpile (#4850) 2019-01-24 16:42:02 +01:00
Clark Du
a51ba8dd93 fix: remove unnecessary isDev in template/server 2019-01-24 14:01:33 +00:00
Kevin Marrec
55dc7f4475 fix(ts): keep baseUrl property in generated tsconfig.json (#4843) 2019-01-24 14:14:02 +03:30
Kevin Marrec
c39cf841a3 fix(ts): fix default tsconfig.json (#4842)
[release]
2019-01-24 01:11:00 +03:30
andoshin11
762305b468 feat(webpack): options.build.loaders.vueStyle (#4837) 2019-01-23 22:18:02 +03:30
renovate[bot]
ec732ee1ac chore(deps): update all non-major dependencies (#4835) 2019-01-23 22:17:17 +03:30
Kevin Marrec
e57c20a5e8 fix(ts): missing tsconfig.json on npm published version (#4840) 2019-01-23 22:15:37 +03:30
Kevin Marrec
2a1ee96a4b feat(ts): auto generate tsconfig.json (#4776)
* Bundle `@types/node` into `nuxt-ts` distribution

* feat(ts): Autogenerated tsconfig.json

* fix(examples): Update typescript examples

* fix(ts): Add `dist` & `tsconfig.json` to `pakage.json` files

* fix: add missing new line at the end of generated `tsconfig.json`

* add suffix if needed to `tsconfig.json` types during package build

* use `readJSON` over `readJSONSync`

* fix indentation in `nuxt-ts/tsconfig.json`

* use writeJson instead of writeFile

* split `nuxt-ts/src` in 2 functions + rootDir parametr + add tests

* add `fs-extra` to dependencies to prevent build warning

* JSON everywhere instead of JSON/Json

* fix: missing call to generateTsConfigIfMissing

* ask confirmation for tsconfig.json generation

* improvement: let compilerOptions.module as default

* improvements

* move from github link to friendly linkable local path

* add resolveJsonModule in default config

Co-Authored-By: kevinmarrec <kevin@marrec.io>

* Move `nuxt-ts` logic to `@nuxt/typescript`

* Upgrade to `ts-node@8.0.1`
2019-01-23 10:53:52 +01:00
Kevin Marrec
06a18ca09e fix(config): define once default nuxt config filename (#4814) 2019-01-22 23:22:43 +03:30
renovate[bot]
675e3b6e99 chore(deps): update all non-major dependencies (#4829) 2019-01-22 17:18:18 +00:00
renovate[bot]
4ab3524551 chore(deps): update all non-major dependencies (#4816) 2019-01-21 23:40:08 +03:30
Xin Du (Clark)
e3cc28c31e refactor: encapsulate pages validation into a separate function (#4826)
* refactor: encapsulate pages validation into a separate function

* refactor: remove else
2019-01-21 22:10:37 +03:30
Xin Du (Clark)
3966b265f9
fix: watch custom patterns only when it exists (#4823) 2019-01-21 15:14:17 +00:00
Xingkai Wang
fe57a5a929 fix: $nuxt is used instead of globalName (#4743) 2019-01-21 16:53:07 +03:30
Xingkai Wang
dcdbaba710 feat(webpack): support build.hotMiddleware.client (#4796) 2019-01-21 15:25:49 +03:30
Sébastien Chopin
5f0b34fcd4
fix: hotfix for vuex hmr (#4801)
* hotfix: Vuex HMR and warning when exporting an object for state

* hotfix: Handle sub modules too

* Update store.js
2019-01-21 11:42:06 +01:00
Kevin Marrec
6a68f4e981 fix(webpack): prevent terser mangling html/vue reserved tags (#4821) 2019-01-21 00:49:53 +03:30
Xin Du (Clark)
b23f5c9b4b feat(server): timing option for Server-Timing header (#4800) 2019-01-19 21:44:54 +03:30
Dmitry Molotkov
a7ba73ed13 fix: exit with proper error code on errors (#4806) 2019-01-19 16:19:57 +03:30
Clark Du
9b3e7be3e7
fix: invalid plugin mode warning for all 2019-01-19 12:27:15 +00:00
Amos Wong
602cf12216 fix(server): allow listening on number 0 port (#4781) 2019-01-19 15:53:18 +03:30
Kevin Marrec
45afc3fc3a fix(ts): fix missing process type definitions and refactor types tests (#4798)
* fix(ts): add missing `process.mode` & `process.modern` typedefs

* refactor types tests + add tests for process typedefs
2019-01-19 15:50:06 +03:30
Kevin Marrec
b202361a1b fix(ts): prevent checking types twice in modern mode & use consola as logger (#4803) 2019-01-19 15:40:21 +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
Sébastien Chopin
deadc48f19
fix(vue-app): Fix Vuex HMR & refactor for better modules usage (#4791)
* fix(vue-app): Refactor store for better modules usage

* Update packages/vue-app/template/store.js

Co-Authored-By: Atinux <seb@orion.sh>

* fix: tests and code style
2019-01-18 12:28:34 +01:00
renovate[bot]
7e5cb42275 chore(deps): update all non-major dependencies (#4785) 2019-01-18 00:50:00 +03:30
Alexander Lichter
40fbe5ba47 refactor: cleanups and code style improvements (#4788) 2019-01-18 00:48:29 +03:30
Kevin Marrec
db4001dae1 fix(ts): Add missing loading property to Component options (#4786) 2019-01-17 18:29:41 +01:00
Kevin Marrec
6694cf706b fix(ts): fix $nuxt.$loading typedefs (#4778)
* feat(ts): improve typedefs of `$nuxt.$loading`

* fix: remove useless new line
2019-01-17 18:29:01 +01:00
Pim
9eab5589c0 fix: add iron browser as modern (#4775) 2019-01-17 00:15:46 +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
Xin Du (Clark)
9c9d519576 refactor: simplify return value in addModule (#4766) 2019-01-16 21:20:45 +03:30
renovate[bot]
381e0af52f chore(deps): update dependency esm to ^3.1.0 (#4772) 2019-01-16 21:16:02 +03:30
Alexander Lichter
ec17804c48 feat: add exclude regex array for generated pages (#4754) 2019-01-16 21:13:56 +03:30
Clark Du
5f6361f6db fix: not use deprecated option esm in resolver 2019-01-16 17:24:36 +00:00
renovate[bot]
a1782600f7 chore(deps): update all non-major dependencies (#4761)
TODO: Remove warn fix for rollup-plugin-license
2019-01-16 14:54:15 +03:30
Clark Du
36ca945d00 fix: wait error hook 2019-01-15 11:02:44 +00:00
Clark Du
e594f09914
test: mock require.main 2019-01-14 20:31:39 +00:00
Clark Du
d02eb2f958 fix(test): remove local paths 2019-01-14 19:47:00 +00:00
Clark Du
bd1ae0b9df test: add unit tests for @nuxt/config 2019-01-14 17:40:15 +00:00
Clark Du
746d4ffb0a test: cli list 2019-01-14 11:56:30 +00:00
renovate[bot]
dbf2711f0a chore(deps): update all non-major dependencies (#4742) 2019-01-13 00:08:21 +03:30
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
Kevin Marrec
8c915887f4 chore(deps): fix yarn.lock (#4747)
* chore(deps): fix yarn.lock

* Bump @vue/babel-preset-jsx to 1.0.0-beta.2

* yarn.lock bump
2019-01-12 07:43:22 +00:00
Alexander Lichter
4b9e8e75d8 fix: require postcss module via resolver (#4737) 2019-01-11 15:09:22 +00:00
renovate[bot]
4587a221df chore(deps): update all non-major dependencies (#4733) 2019-01-11 13:10:33 +03:30
Xin Du (Clark)
da8a3d84bb
feat: replace babel-plugin-transform-vue-jsx with @vue/babel-preset-jsx (#4740) 2019-01-11 09:39:07 +00:00
Sébastien Chopin
3ebd6b707e hotfix(layout): Hot fix for layout middleware 2019-01-10 19:57:32 +01:00
Sébastien Chopin
521ac20e29 fix(layout-middleware): Fix issue #4724 2019-01-10 18:59:56 +01:00
renovate[bot]
2bde11f77d chore(deps): update all non-major dependencies (#4731) 2019-01-10 19:46:42 +03:30
Clark Du
0a21d4b34c fix: undefined script in modern mode 2019-01-10 11:17:28 +00:00
William Chong
68d8d54e83 fix: use case insensitive regex for webpack loader rules (#4728) 2019-01-09 23:18:34 +03:30
Xin Du (Clark)
f85ac94a87 fix(builder, module): addLayout and nuxt.config precedence over auto-scanned layouts (#4702) 2019-01-09 14:27:46 +03:30
Pim
9c6df495d8 fix: add option to rewatch on path after raw fs event (#4717) 2019-01-09 14:18:28 +03:30
Alexander Lichter
eef2af35e4 fix: no false positives for plugins with index.js (#4714)
resolves #4713 [release]
2019-01-08 22:55:56 +03:30
Clark Du
ecf76d91f1 fix: SafariFix is not injected in client modern mode 2019-01-08 13:21:13 +00:00
renovate[bot]
a053e58534 chore(deps): update dependency postcss to ^7.0.8 (#4709) 2019-01-08 15:39:16 +03:30
renovate[bot]
51c018acd3 chore(deps): update all non-major dependencies (#4704) 2019-01-08 10:48:49 +03:30
Xin Du (Clark)
af76e07b56 fix(builder): js layout (#4701)
[release]
2019-01-07 15:44:51 +03:30
Kevin Marrec
b38e0aac43 feat(ts): typescript examples + improve vue-app typings (#4695) 2019-01-06 12:37:17 +03:30
renovate[bot]
3ccfcedb65 chore(deps): update all non-major dependencies (#4692) 2019-01-06 12:36:24 +03:30
Ricardo Gobbo de Souza
6436e3b080 fix(builder): layouts condition (#4641) 2019-01-06 11:35:11 +03:30
Alexander Lichter
78433b599e refactor: use is prefix for booleans (#4674) 2019-01-06 11:32:28 +03:30
Pim
605b76073b chore: lint vue-app templates (#4689) 2019-01-06 11:26:59 +03:30
renovate[bot]
d063cb09e8 chore(deps): update all non-major dependencies (#4691) 2019-01-04 23:46:28 +00:00
Pooya Parsa
ee0096bf59
feat: nuxt-ts (#4658)
[release]
2019-01-04 23:00:28 +03:30
renovate[bot]
6168c3c9f3 chore(deps): update dependency webpack-dev-middleware to ^3.5.0 (#4690) 2019-01-04 21:49:16 +03:30
renovate[bot]
e40022138e chore(deps): update all non-major dependencies (#4687) 2019-01-04 17:06:53 +00:00
Clark Du
89f88669c1 fix: server build failed in dev mode 2019-01-04 16:33:50 +00:00
Clark Du
30fef5d7a0 fix: enable FriendlyErrorsPlugin when build.friendlyErrors is true 2019-01-04 16:09:10 +00:00
pooya parsa
6178c470ba perf(ssr): remove extra imprts from server.js 2019-01-04 00:17:06 +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
Clark Du
0c15b29f7a fix: wrong type checking for loading.duration
[release]
2019-01-03 13:33:29 +00:00
Clark Du
e77c2db93e fix: use triple equals in loading.throttle [release] 2019-01-03 13:31:00 +00:00
Clark Du
2d7480457d fix: loading.throttle can not be 0 2019-01-03 13:24:56 +00:00
renovate[bot]
438b430a2e chore(deps): update all non-major dependencies (#4670) 2019-01-03 01:22:25 +03:30
Dmitry Molotkov
d3b939690c fix(server): process browser version with non semver versions (#4673) 2019-01-03 01:22:09 +03:30
Alexander Lichter
471a32a1a8 feat: add styleExtensions (#4671) 2019-01-03 01:00:19 +03:30
Pooya Parsa
7dd33fedd2 feat(builder): validate vue-app dependencies and suggest fix (#4669) 2019-01-02 14:17:19 +00:00
Xin Du (Clark)
7ff4058318 fix: Vue.component(RouterLink) is undefined in vue-router 3.0.0 (#4668) 2019-01-02 13:06:47 +01:00
renovate[bot]
b210724e60 chore(deps): update all non-major dependencies (#4662) 2019-01-02 12:06:24 +03:30
Alexander Lichter
867e8e1e84 fix: plugins for modern mode (#4659) 2018-12-30 14:28:42 +00:00
Alexander Lichter
8786ff7317 fix: require serverMiddleware object with path and handler (#4656) 2018-12-30 01:04:47 +03:30
renovate[bot]
d93a3e28b6 chore(deps): update dependency webpack to ^4.28.3 (#4654) 2018-12-29 16:30:46 +03:30
renovate[bot]
cf451ebb9b chore(deps): update all non-major dependencies (#4640) 2018-12-29 13:51:23 +03:30
Sébastien Chopin
f319033928
feat(nuxt-link): Smart prefetching and $nuxt.isOffline (#4574)
* feat(nuxt-link): Improve <n-link> and add automatic prefetch

* Update packages/vue-app/template/components/nuxt-link.js

Co-Authored-By: Atinux <seb@orion.sh>

* add missing space

* feat(nuxt-link): Split in two components for smaller bundle

* fix(vue-app): Use requestIdleCallback

* chore(vue-app): Improve nuxt prefetch strategy for nuxt links

* chore(vue-app): Add .isOnline and handle it for prefetch

* chore(vue-app): Add .isOffline and use it

* chore(vue-app): Add .isOffline

* chore(server): Check is options.modern is given in dev mode

* chore(vue-app): Add intersection-observer polyfill if router.prefetchLinks is 'polyfill'

* chore(vue-app): Remove polyfill

* chore(vue-app): Use only process.client

* chore(vue-app): Add TS typings for .isOnline and isOffline

* chore(vue-app): Update typings by @kevinmarrec

* chore(vue-app): Reorder names

* examples(nuxt-prefetch): Add Nuxt prefetching example

* chore(vue-app): Add router.linkPrefetchedClass

* lint(vue-app): Fix lint

* chore(vue-app): Use intersectionRatio, recommend by @maoberlehner

* fix(lint): Fix linting issues

* lint(vue-app): Fix again (lol)

* types(vue-app): Update TS typings

* chore(vue-app): Update Vetur tags description

* fix(vue-app): Use prefetchClass

* chore(vue-app): Disable linkPrefetchedClass by default
2018-12-28 17:27:03 +01:00
Clark Du
35151150fd fix: wrong devMiddleware in non-modern dev mode 2018-12-28 13:26:46 +00:00
renovate[bot]
197be144ba chore(deps): update dependency terser-webpack-plugin to ^1.2.1 (#4637)
don't crash when no extracted comments
2018-12-27 20:55:43 +03:30
renovate[bot]
61dc2dfec9 chore(deps): update dependency css-loader to ^2.1.0 (#4628) 2018-12-25 23:57:25 +03:30
Xin Du (Clark)
df9b32a1c4 fix: hmr in modern mode (#4623) 2018-12-24 19:56:39 +03:30
renovate[bot]
8cd19f0bd4 chore(deps): update dependency serialize-javascript to ^1.6.0 (#4625) 2018-12-24 19:10:45 +03:30
Sébastien Chopin
498c4f11d3 feat: better stack traces for SSR error, show error with correct URL and use eventsource-polyfill (#4600)
[release]
2018-12-23 12:10:36 +03:30
Kevin Marrec
f1377a7f8d feat(ts): provide type checking through fork-ts-checker-webpack-plugin (#4611) 2018-12-23 11:13:51 +03:30
Dmitry Molotkov
8dc15d07b7 fix: allow keepAliveProps for nuxt component (#4610)
[skip ci]
2018-12-23 11:13:36 +03:30
renovate[bot]
bf4803af19 chore(deps): update dependency cache-loader to v2 (#4608) 2018-12-23 02:18:22 +03:30
Kevin Marrec
4d5274215a feat(ts): add TSX support (#4613) 2018-12-23 02:12:20 +03:30
renovate[bot]
a17bb1704d chore(deps): update all non-major dependencies (#4605)
[skip release]
2018-12-23 01:33:22 +03:30
Xin Du (Clark)
324135df51 refactor: @nuxt/utils (#4609) 2018-12-23 00:35:13 +03:30
Kevin Marrec
5458ba5b10 chore: fix dependencies order (#4612)
[skip ci]
2018-12-22 01:44:16 +03:30
renovate[bot]
c432ec4ec7 chore(deps): update dependency file-loader to v3 (#4599) 2018-12-21 19:38:47 +00:00
Clark Du
90f42a618e refactor: remove unused properties in base config 2018-12-21 15:18:14 +00:00
Clark Du
15ad7d03c9 refactor: remove unused properties in style-loader 2018-12-21 15:15:48 +00:00
renovate[bot]
0491c8a7e7 chore(deps): update dependency webpack to ^4.28.1 (#4602)
[skip ci]
2018-12-20 22:44:35 +03:30
Andrey Shertsinger
b1b9e0bcbc feat(vue-app): support named views (#4410)
* support named views for extendRoutes config

* fix lint errors

* fix lint errors 2

* some refactoring

* var rename

* fixture & unit tests

* fix: style

* nuxt-child named view example and test

* nuxt element with named view in layout

* lint
2018-12-20 16:50:22 +01:00
Ricardo Gobbo de Souza
add80004ba feat(router): custom route name splitter (#4598) 2018-12-20 13:42:42 +01:00
renovate[bot]
9877c72f5d chore(deps): update all non-major dependencies to ^7.2.3 (#4597)
[skip release]
2018-12-20 15:01:22 +03:30
Jonas Galvez
0145551c3a feat(cli): improvements and external commands (#4314) 2018-12-20 14:45:48 +03:30
Pooya Parsa
8b366fd216
chore: use @nuxt for all core dependencies (#4596)
[skip release]
2018-12-20 14:45:12 +03:30
renovate[bot]
46f0eee83d chore(deps): update dependency @nuxtjs/devalue to ^1.2.0 (#4595) 2018-12-20 14:33:57 +03:30
Xin Du (Clark)
e71c4559ff feat: mode for plugins (#4592) 2018-12-20 12:58:10 +03:30
renovate[bot]
40928967ac chore(deps): update all non-major dependencies (#4594)
[skip ci]
2018-12-20 12:32:17 +03:30
renovate[bot]
e1c1701d03 chore(deps): update all non-major dependencies (#4588) 2018-12-20 12:27:40 +03:30
Clark Du
4fb220c911 fix: thread-loader slow building 2018-12-19 21:44:08 +00:00
Clark Du
d34a9e24ae fix: thread-loader memory leak 2018-12-19 19:30:25 +00:00
Sébastien Chopin
96892c5341 fix(vue-app): Fix default error handler in production 2018-12-19 19:39:38 +01:00
Sébastien Chopin
7812d8d87d Merge branch 'missing-chunk-reload' of https://github.com/aldarund/nuxt.js into aldarund-missing-chunk-reload
Conflicts:
	packages/vue-app/template/client.js
2018-12-19 18:48:38 +01:00
Sébastien Chopin
951e745e54 fix(vue-app): Set window. equals to window.{globalName} when defined 2018-12-19 18:29:45 +01:00
Sébastien Chopin
6c4280f87f fix(vue-app): Call Vue.config.errorHandler instead of simply logging the error 2018-12-19 18:12:39 +01:00
Sébastien Chopin
59aee74a88
feat(vue-app): add vetur helpers for components auto-complete on VS Code (#4524)
* feat(vue-app): Add vetur helpers for components auto-complete on VS Code

* update vetur helper

* Update nuxt-attributes.json

* Update nuxt-tags.json
2018-12-19 17:31:10 +01:00
Alexander Lichter
81cf09cb76 fix: apply store HMR to whole store (#4589) 2018-12-19 17:26:58 +01:00
Sébastien Chopin
c8b920a145 feat(vue-app): Add deprecating for classic mode and handle mutations/actions HMR to store/index.js 2018-12-19 17:15:01 +01:00
Alexander Lichter
b2eee1772e feat: add store module HMR (#4582)
* feat: add store module HMR

* fix: replace export with window.$nuxt

Thanks to @pi0 for the suggestion :)

* refactor: apply only in dev mode on client side

* test: make store module test more descriptive

* fix: clear modules to apply HMR

* fix: remove console.log

* fix: e2e tests

* refactor: use void
2018-12-19 16:22:00 +01:00
Jonas Galvez
5b58272d1a fix: prevent matching native statements in serializeFunction (#4585) 2018-12-19 11:46:00 +03:30
renovate[bot]
186b3cb233 chore(deps): update all non-major dependencies (#4581)
[skip release]
2018-12-18 20:32:05 +03:30
renovate[bot]
ebd2b1b0a0 chore(deps): update dependency thread-loader to v2 (#4583)
[skip release]
2018-12-18 20:30:17 +03:30
Xin Du (Clark)
e7df65be1a fix: detect plugin without extension (#4579) 2018-12-18 17:49:38 +03:30
sh
2f0ed8571f feat(server): export Listener (#4577) 2018-12-18 13:46:41 +00:00
Jonas Galvez
25d26ba42f chore(vue-app): use serializeFunction when appropriate (#4575) 2018-12-17 17:26:23 +00:00
Clark Du
afd1cd3247 refactor: remove static class hotfix since it has been fixed in vue 2018-12-17 15:56:01 +00:00
Xin Du (Clark)
d723e49b2b
feat: attach ts-loader options on build.loaders.ts (#4572) 2018-12-17 15:45:01 +00:00
Kevin Marrec
75e3df6be5 fix(ts): switch from babel preset to ts-loader (#4563) 2018-12-17 15:21:53 +00:00
renovate[bot]
6e8c4b7b83 chore(deps): update all non-major dependencies (#4566)
[skip ci]
2018-12-17 18:41:16 +03:30
Mark
85b53593fa fix(resolver): resolve dir if no index found #4568 (#4569)
[skip release]
2018-12-17 18:40:39 +03:30
Jonas Galvez
669fecc6a3 feat: allow scrollToTop to be explicitly disabled (#4564)
Co-authored-by: James Homer <jameshomer85@gmail.com>
2018-12-16 13:32:39 +03:30
renovate[bot]
a32947c68c chore(deps): update all non-major dependencies to ^7.2.2 (#4561)
[skip ci]
2018-12-16 13:30:40 +03:30
Jonas Galvez
6b95eff81d fix(pkg): add serialize-javascript to common/package.json (#4565)
[skip ci]
2018-12-16 13:30:08 +03:30
Jonas Galvez
7831e57943 fix: properly serialize head functions (#4558)
#4079
2018-12-15 12:07:31 +03:30
renovate[bot]
e6ca79969a chore(deps): update all non-major dependencies (#4551)
[skip release]
2018-12-15 11:01:59 +03:30
Kevin Marrec
7145c1ab5d feat(builder): optional typescript support (#4557) 2018-12-15 10:25:08 +03:30
Ricardo Gobbo de Souza
99614535b5 feat(vue-app, vue-renderer): support meta headAttrs (#4536) 2018-12-14 17:36:26 +03:30
Hartmut
da0a3794ef fix(vue-app): add type definition for ComponentOptions.middleware (#4531) 2018-12-14 06:01:25 +03:30
Mark
b413bc14fb fix(resolver): resolvedPath/index.[ext] resolution (#4548) 2018-12-13 22:09:42 +03:30
Xin Du (Clark)
d0c8fcbaa5 fix: duplicate style in extractCSS (#4546)
[skip ci]
2018-12-13 22:07:47 +03:30
renovate[bot]
eda33bc48a chore(deps): update all non-major dependencies (#4537) 2018-12-13 00:59:27 +03:30
Xin Du (Clark)
657a6cc7c9
chore: tiny refactoring (#4534) 2018-12-12 10:47:54 +00:00
Clark Du
28300ee0f9 refactor: remove extendedConfig.devtool check 2018-12-12 10:10:24 +00:00
Clark Du
8d728da3c7 refactor: remove unnecessary env 2018-12-12 09:38:06 +00:00
Alexander Lichter
f1ff6341ea feat: add process.modern (#4532) 2018-12-12 13:03:19 +03:30
Alexander Lichter
c60b1945e8 chore: cleanup (#4529) 2018-12-12 10:01:49 +03:30
William Chong
683dbba4f7 fix: csp SHA hashes accumulate when using custom script-src rules (#4519)
[skip ci]
2018-12-12 09:59:28 +03:30
renovate[bot]
13c7b6d671 chore(deps): vue v2.5.21 (#4523) 2018-12-12 09:57:26 +03:30
Alexander Lichter
8e0b5081f2 fix: allow pcss ending for webpack loader (#4530)
[skip ci]
2018-12-12 09:52:43 +03:30
Alexander Lichter
88668f0fc4 chore: add plugin suffix for ExtractCssChunksPlugin (#4528) 2018-12-11 20:56:28 +00:00
Alexander Lichter
c6d820aad8 feat(webpack): add experimental HardSourceWebpackPlugin support (#4527) 2018-12-12 00:19:16 +03:30
Sébastien Chopin
15051978f0 feat(vue-app): <n-link> and <n-child> component aliases (#4525) 2018-12-11 20:37:04 +03:30
Sébastien Chopin
8a200f7e91 fix(server): Cannot read property client of null when webpackHMR & restarting Nuxt 2018-12-11 16:20:59 +01:00
ousiri
431cc15617 fix: keepAliveProps broken in <nuxt-child> (#4521) 2018-12-11 11:11:15 +01:00
Dmitry Molotkov
51e4488dd4 feat(common): add yandex and vivaldi to modern browsers (#4516) 2018-12-11 10:41:28 +03:30
Ryan Lindskog
29c5bb6513 refactor: remove caniuse-lite dependency (#4419) 2018-12-11 01:05:04 +03:30
Dmitry Molotkov
33edef2d40 fix(webpack): allow changing devtool with extend (#4515) 2018-12-11 01:04:41 +03:30
renovate[bot]
b07c27a843 chore(deps): update all non-major dependencies to ^2.5.20 (#4514) 2018-12-10 22:09:04 +03:30
Dmitry Molotkov
c3128eaced fix(server): allow rendering urls with unicode characters (#4512) 2018-12-10 16:48:23 +00:00
renovate[bot]
b47a993429 chore(deps): update dependency caniuse-lite to ^1.0.30000918 (#4510) 2018-12-10 16:05:30 +00:00
Pooya Parsa
f0cb654a5d fix(vue-renderer): improve ready handling (#4511) 2018-12-10 12:16:05 +00:00
renovate[bot]
6d8aeec81c chore(deps): update vue to v2.5.19 (#4509) 2018-12-10 01:47:40 +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
Pooya Parsa
1162f2ddc1 feat: use runInNewContext: true for nuxt dev (#4508) 2018-12-09 21:37:36 +00:00
Sébastien Chopin
45be638479 fix(vue-app): Fix route meta to handle order 2018-12-09 13:07:06 +01:00
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
Xin Du (Clark)
669ffa51ed refactor: migrate to extract-css-chunks-webpack-plugin (#4495)
fixes #4131.
2018-12-09 13:58:08 +03:30
Jonas Galvez
af9b30cab7 feat: upgrade css loader to v2 (#4503)
* use new exportOnlyLocals option

* upgrade css-loader in package.json
2018-12-09 13:45:48 +03:30
Alexander Lichter
f1b2ca3d60 feat: add an option to disable FriendlyErrorsWebpackPlugin (#4498) 2018-12-09 13:38:59 +03:30
renovate[bot]
7c820d9262 chore(deps): update all non-major dependencies (#4497)
* chore(deps): update all non-major dependencies

* pin vue to 2.5.17
2018-12-09 12:28:49 +03:30
renovate[bot]
ff20bbbbb5 chore(deps): update all non-major dependencies (#4483) 2018-12-07 13:53:50 +00:00
Clark Du
e6808c57ef fest: add build.corssorgin (#4472) 2018-12-05 19:51:58 +03:30
renovate[bot]
9c15c18d1b chore(deps): update all non-major dependencies (#4475) 2018-12-04 15:58:15 +03:30
Clark Du
5a8e6e4bdf fix: merge route.meta into options.meta (#4479)
[skip release]
2018-12-04 15:49:05 +03:30
Clark Du
14fe6792ae feat: check modern build file in modern mode (#4467)
[skip release]
2018-12-04 15:41:18 +03:30
Clark Du
e2ab1b4896 fix(vue-app): router.meta is null on extendRoutes(#4478)
fixes #4154
2018-12-03 14:21:17 +03:30