Commit Graph

1502 Commits

Author SHA1 Message Date
renovate[bot]
20f086d0ce
chore(deps): update all non-major dependencies (dev) (#7179) 2020-04-06 23:14:25 +01:00
Xin Du (Clark)
16b9c157bf
feat(webpack): add mjs to babel-loader (#7178) 2020-04-05 15:41:21 +02:00
renovate[bot]
21b39fc701
chore(deps): update all non-major dependencies (dev) (#7157) 2020-04-05 11:58:52 +01:00
Eunjae Lee
4f6f7fe1cd
feat(vue-renderer): pass renderContext to vue-renderer:ssr:templateParams hook (#7168) 2020-04-02 11:28:57 +02:00
Xin Du (Clark)
728ab8841b
feat(babel-preset-app): add bugfixes option (#7144) 2020-03-30 10:48:59 +01:00
Pooya Parsa
318aad2aed
fix(server): HMR for sub-app serverMiddleware without path (#7146) 2020-03-27 22:30:43 +01:00
Pooya Parsa
06073697f4
fix(vue-app): sanitize layouts after resolve for splitChunks.layout (#7139) 2020-03-27 14:08:48 +01:00
renovate[bot]
d46c2dd4ff
chore(deps): update all non-major dependencies (#7136)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-27 13:57:09 +01:00
Pooya Parsa
9ef58fae63
fix(core): join with os native sep in resolver (#7131) 2020-03-27 13:56:40 +01:00
Jt Whissel
51b5bf565b
feat(builder): ignore option to function the same as .nuxtignore (#7132) 2020-03-27 11:53:23 +01:00
renovate[bot]
f18e241f70
chore(deps): update all non-major dependencies (dev) (#7125) 2020-03-26 16:30:01 +00:00
pooya parsa
8d355956d4 v2.12.1
[release]
2020-03-25 20:20:50 +01:00
Pooya Parsa
0f27f80c0c
fix(vue-app): avoid multiple $fetch calls (#7129)
Co-authored-by: Aster <duda84@gmail.com>
2020-03-25 19:40:39 +01:00
Sébastien Chopin
b82f8d1640
fix: set default name to layout to avoid multi mounted (#7128) 2020-03-25 19:14:17 +01:00
renovate[bot]
a474c00aae
chore(deps): update dependency webpack to ^4.42.1 (#7121) 2020-03-24 10:42:43 +01:00
renovate[bot]
60f1aa93bd
chore(deps): update all non-major dependencies (dev) (#7100) 2020-03-23 11:24:29 +00:00
Pooya Parsa
c8e7397d07
fix(vue-app): use globals.nuxt for fetch client mixin (#7103) 2020-03-18 11:30:50 +01:00
pooya parsa
4b34941df8 fix(builder): ensure entry is in graph for HMR (#7097) 2020-03-18 11:05:37 +01:00
pooya parsa
205a089f83 v2.12.0 2020-03-17 17:43:35 +01:00
Jason Poindexter
1f5d489850
fix(vue-app): middleware not executing on double browser back navigation (#6775)
fixes #6716.
2020-03-13 22:26:35 +01:00
Xin Du (Clark)
a7052b637b
feat(vue-app): trigger watchParam when param is changed in same route (#6244) 2020-03-13 21:28:42 +01:00
Xin Du (Clark)
52caef2053
feat(core): better module not found handling (#7079)
Co-authored-by: pooya parsa <pooya@pi0.ir>
2020-03-13 21:25:53 +01:00
Pooya Parsa
f20d932c4d
feat: allow disabling loading-screen (#6272) 2020-03-13 21:23:33 +01:00
pooya parsa
87dc99e8e5 chore(deps): update all non-major dependencies 2020-03-13 15:03:36 +01:00
Xin Du (Clark)
78bce82b2f
refactor(babel-preset-app): use @babel/helper-compilation-targets instead of deprecated api (#7071) 2020-03-12 19:13:04 +01:00
renovate[bot]
29587daf1f
chore(deps): update all non-major dependencies (#7073)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-12 18:59:48 +01:00
pooya parsa
5a6cde3ebc regression: read prefix from handle fn as well
fixes #7028
2020-03-12 18:33:22 +01:00
pooya parsa
f1e2362456 chore: remove new fetch warning 2020-03-12 15:40:03 +01:00
renovate[bot]
2afddf03c1
chore(deps): update all non-major dependencies (dev) (#7066) 2020-03-10 22:43:29 +00:00
Xin Du (Clark)
750676dd31
fix(babel-preset-app): TypeError when import cjs in webpack building (#7070) 2020-03-10 22:09:46 +01:00
renovate[bot]
1a34e224d4
chore(deps): update all non-major dependencies (#7052)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-09 14:41:20 +01:00
renovate[bot]
2c4327b867
chore(deps): update all non-major dependencies [release] (#7039) 2020-03-02 19:15:30 +01:00
Pooya Parsa
903c3de5b6
feat: expose webpack config (#7029) 2020-03-02 19:15:00 +01:00
Jonas Galvez
a3fdba885e
chore(vue-app): improve missing inject value error message (#7032) 2020-02-29 20:16:43 +01:00
renovate[bot]
ee2cceb9b2
chore(deps): update all non-major dependencies (dev) (#7010) 2020-02-27 15:09:23 +00:00
renovate[bot]
07906d0b9d
chore(deps): update all non-major dependencies (#7003)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-26 13:22:04 +01:00
Pooya Parsa
6e09e7824d
fix(core): correct deprecated hooks (#7002) 2020-02-25 17:15:40 +01:00
Mark Honeychurch
084a1ca1af
chore(builder): analyze mode warning rewording (#6924) 2020-02-25 00:16:43 +01:00
Xin Du (Clark)
16587029d7
feat: add crossorigin for normal ssr (#6950) 2020-02-24 22:58:24 +00:00
renovate[bot]
c785f6e22e
chore(deps): update dependency caniuse-lite to ^1.0.30001030 (#6994)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-24 23:49:38 +01:00
Xin Du (Clark)
10ac6aed9a
feat(wepack): support @import using ~assets in css files (#6987) 2020-02-24 23:47:43 +01:00
renovate[bot]
6d79206a68
chore(deps): update dependency serialize-javascript to v3 (#6977)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-24 22:41:53 +01:00
HG
c325882e1f
fix(core): Provide the correct name of routeContext hook (#6959) 2020-02-18 17:04:02 +00:00
renovate[bot]
bfc91f9682
chore(deps): update all non-major dependencies (#6978) 2020-02-18 17:01:11 +00:00
renovate[bot]
19fd3e4932
chore(deps): update all non-major dependencies (#6956) 2020-02-16 14:58:21 +01:00
Pim
bfad1e627b
perf(vue-renderer): early return render when redirect happens (#6973) 2020-02-16 14:20:08 +01:00
Sébastien Chopin
b71eaee879 chore: use data-fetch-key instead of data-ssr-key 2020-02-12 16:41:23 +01:00
Matteo Rigon
539c865533
fix(vue-app): use child transition name when navigating to parent (#6946) 2020-02-11 15:06:37 +01:00
Xin Du (Clark)
13cc924f02 refactor: use scope variable memo for modern utils (#6954) 2020-02-09 11:44:54 +00:00
Xin Du (Clark)
6ae7718a42
fix(utils): eliminate side effect from modern utils (#6953)
[release]
2020-02-09 12:17:39 +01:00
Pooya Parsa
65b97edf03 chore: add explicit dependencies 2020-02-06 14:04:51 +01:00
Pooya Parsa
39d33686f4 chore: mark jsdom as external to remove warning 2020-02-06 14:02:05 +01:00
Pooya Parsa
1df1874f8a fix(pkg): add explicit dependencies 2020-02-06 13:57:42 +01:00
Pooya Parsa
d83f697c15 chore: sort package.json 2020-02-06 13:32:56 +01:00
renovate[bot]
917782a642
chore(deps): update all non-major dependencies (#6941)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-04 19:36:53 +01:00
Sébastien Chopin
6db325c321
feat(vue-app): new fetch syntax (#6880) 2020-02-04 19:36:22 +01:00
wppd
e271aa0a0a
chore(vue-app): pass error as param to nuxt-loading fail method (#6939) 2020-02-03 16:41:37 +01:00
renovate[bot]
5a80599ffa
chore(deps): update all non-major dependencies (#6932) 2020-02-02 15:05:49 +00:00
renovate[bot]
0bd794d1c1
chore(deps): update all non-major dependencies (#6926)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-31 00:26:49 +01:00
renovate[bot]
08a3646d47 chore(deps): update all non-major dependencies (#6910) 2020-01-27 20:56:45 +00:00
renovate[bot]
73a4a8081a chore(deps): update dependency chalk to v3 (#6673)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2020-01-24 01:06:49 +00:00
James George
3c4f9e4574 chore(cli): display listening urls after build (#6904)
closes #6899
2020-01-23 13:13:14 +01:00
renovate[bot]
0487ac3c25 chore(deps): update all non-major dependencies (#6898)
[release]
2020-01-21 14:06:21 +01:00
Pooya Parsa
304fb488dc fix(utils): early return if id is external 2020-01-21 14:05:48 +01:00
Pooya Parsa
d8b84fe263 fix(utils): handled undefined cjs entries
[release]
2020-01-21 13:51:58 +01:00
Pooya Parsa
a84f31d2a9
chore: serverMiddleware HMR improvements (#6896)
* chore(server): fallback route for resolveMiddleware

* chore(server): support express HMR

[release]
2020-01-20 19:28:52 +01:00
Clark Du
fdd9a7a051 test: avoid unexpected outside stderr assertion count 2020-01-19 10:26:44 +00:00
renovate[bot]
a715a038f4 chore(deps): update dependency extract-css-chunks-webpack-plugin to ^4.7.4 (#6886) 2020-01-19 09:36:13 +00:00
Pooya Parsa
00d95903c6
fix(webpack): provide global URL and URLSearchParams (#6864) 2020-01-19 09:37:06 +01:00
Pooya Parsa
2707bdb37e
feat: improve programatic usage (#6868) 2020-01-19 09:36:06 +01:00
Pooya Parsa
8907e1553f
feat: HMR support for serverMiddleware (#6881) 2020-01-19 09:34:35 +01:00
renovate[bot]
6891c31d81 chore(deps): update all non-major dependencies (#6879) 2020-01-17 15:26:25 +01:00
Pim
708ae3018e fix(generator): log message or full error for unhandled error without stack trace (#6882) 2020-01-17 10:18:12 +01:00
Vladlen
e91a441f2c fix(vue-app): add fallback context for error (#6854)
Co-Authored-By: Sébastien Chopin <seb@nuxtjs.com>
2020-01-16 18:09:16 +01:00
renovate[bot]
e3ba6c290d chore(deps): update dependency vue-router to ^3.1.5 (#6876) 2020-01-15 23:47:47 +00:00
renovate[bot]
739b53a0f8 chore(deps): update all non-major dependencies (#6873) 2020-01-15 10:26:13 +00:00
renovate[bot]
decb11ac28 chore(deps): update all non-major dependencies (#6867) 2020-01-14 21:03:42 +00:00
Pim
75e00fe69f feat(cli): pass context when nuxt.config exports a function (#6855) 2020-01-13 17:35:08 +01:00
renovate[bot]
1a48059438 chore(deps): update all non-major dependencies (#6859) 2020-01-13 11:48:10 +01:00
renovate[bot]
9aa8db4e97 chore(deps): update all non-major dependencies (#6849) 2020-01-11 19:31:14 +00:00
Sébastien Chopin
c9beac3c7b fix(vue-app): resolve leave transition on child routes (#6803) 2020-01-10 21:45:13 +01:00
404-NOTFOUND
af75aa86e1 perf(vue-renderer): don't serialize session when injectScripts is false (#6846) 2020-01-10 21:43:50 +01:00
Renovate Bot
8a4f9a5036
chore(deps): update all non-major dependencies 2020-01-05 01:50:33 +00:00
renovate[bot]
aada6e50d9 chore(deps): update dependency consola to ^2.11.3 (#6839) 2020-01-01 12:42:55 +01:00
Renovate Bot
306e9602d6
chore(deps): update all non-major dependencies 2019-12-31 00:14:35 +00:00
Renovate Bot
14e6eb6b27
chore(deps): update all non-major dependencies 2019-12-29 22:19:43 +00:00
Sébastien Chopin
0cb2df73a0 fix(vue-app): move head to index to avoid global state (#6807) 2019-12-18 15:27:30 +01:00
Pooya Parsa
7af9ec8c23 v2.11.0 2019-12-17 11:22:18 +01:00
Pooya Parsa
311ff27ba6 test: mock semver/functions/satisfies 2019-12-17 11:00:07 +01:00
renovate[bot]
51b3163c2a chore(deps): update dependency consola to ^2.11.1 (#6800) 2019-12-17 10:59:30 +01:00
renovate[bot]
929779555b chore(deps): update dependency semver to ^7.1.0 (#6797) 2019-12-17 10:38:03 +01:00
Pooya Parsa
4669b6b58d test: semver is not mockable 2019-12-16 22:59:20 +01:00
renovate[bot]
bb5f84c601 chore(deps): update all non-major dependencies (#6779) 2019-12-16 22:21:58 +01:00
crutch12
b2a35d21d7 fix(utils): add catch statement to non function block in serializeFunction (#6776) (#6777) 2019-12-16 22:20:28 +01:00
renovate[bot]
0ef6c72a9c chore(deps): update dependency semver to v7 (#6789) 2019-12-16 21:33:47 +01:00
Cain Hall
ae769ce763 fix(utils): flatRoutes regex for nested routes with trailing slash enabled (#6791) 2019-12-16 21:19:40 +01:00
Xin Du (Clark)
e999060da5 refactor(server): only append not empty allowed sources to csp (#6771) 2019-12-16 21:16:51 +01:00
Renovate Bot
3938e58110
chore(deps): update all non-major dependencies 2019-12-09 18:49:52 +00:00
Xin Du (Clark)
e61f9c3044
Merge branch 'dev' into allowed-sources-test 2019-12-08 10:15:19 +08:00
renovate[bot]
3cc4770c22 chore(deps): update dependency serialize-javascript to ^2.1.1 (#6769) 2019-12-08 10:11:48 +08:00
Xin Du (Clark)
e2a9926d3e
Merge branch 'dev' into allowed-sources-test 2019-12-08 10:02:53 +08:00
renovate[bot]
d427e4abc3 chore(deps): update all non-major dependencies (#6761) 2019-12-08 02:02:34 +00:00
Xin Du (Clark)
8616822804
Merge branch 'dev' into allowed-sources-test 2019-12-03 17:30:16 +00:00
renovate[bot]
4b8fc7de51 chore(deps): update all non-major dependencies (#6748)
* chore(deps): update all non-major dependencies

Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2019-12-03 16:48:25 +00:00
Daniel Roe
697407d6b4
test: pass array to allowedSources 2019-11-30 12:49:00 +00:00
renovate[bot]
81de57f11c chore(deps): update dependency extract-css-chunks-webpack-plugi… (#6738) 2019-11-28 09:23:35 +00:00
Xin Du (Clark)
75a29c8b13 global name is wrongly set to nuxt-edge (#6736)
[release]
2019-11-27 20:51:48 +01:00
Xin Du (Clark)
e8aca9eb11 chore: update @nuxtjs/eslint-config to v2 and fix lint errors (#6732) 2019-11-26 23:42:39 +01:00
Xin Du (Clark)
d83761028e feat(vue-app): upgrade vue-router to 3.1.x (#6722) 2019-11-26 23:41:19 +01:00
renovate[bot]
dd0b7a8b0e chore(deps): update all non-major dependencies (#6724) 2019-11-25 12:09:13 +00:00
Alexander Lichter
75bb0884cb feat: optionally strip non-client or non-server code (#6149) 2019-11-24 16:39:45 +01:00
Rafał Chłodnicki
e9945b0896 fix(vue-app): pass router mode to getLocation (#6658) 2019-11-24 14:26:33 +01:00
Ahad Birang
bb9427ee74 feat(vue-renderer): support evaluation in templates (#6505) 2019-11-24 13:31:21 +01:00
Xin Du (Clark)
9ada4e63a9 feat(config): add ignoreOptions for node-ignore (#6597) 2019-11-24 13:28:37 +01:00
renovate[bot]
2f76e8e875 chore(deps): update all non-major dependencies (#6709) 2019-11-23 09:06:10 +00:00
Mohammad M. Shahbazi
6cc962fa16 fix: context.route issue in plugins and splitChunks.pages === false (#6685) 2019-11-19 09:27:54 +00:00
renovate[bot]
587d1e9765 chore(deps): update all non-major dependencies (#6708) 2019-11-19 09:24:15 +00:00
renovate[bot]
f54e9b211f chore(deps): update dependency caniuse-lite to ^1.0.30001010 (#6694) 2019-11-14 12:34:38 +00:00
renovate[bot]
5567d73741 chore(deps): update all non-major dependencies (#6689) 2019-11-13 11:03:39 +00:00
Pim
701f2d033b fix(vue-app): apply path-to-regexp options to tokensToFunction… (#6683) 2019-11-12 16:39:34 +00:00
renovate[bot]
abd82805a7 chore(deps): update all non-major dependencies (#6677) 2019-11-12 10:42:05 +00:00
renovate[bot]
adce605379 chore(deps): update all non-major dependencies (#6665) 2019-11-09 22:18:39 +00:00
renovate[bot]
95303180a8 chore(deps): update all non-major dependencies (#6653)
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2019-11-05 19:04:27 +00:00
Xin Du (Clark)
afb38fe492
fix(vue-app): layout in error.vue not work for Vue.extend component (#6650) 2019-11-05 17:53:39 +00:00
renovate[bot]
8ee99bc288 chore(deps): update all non-major dependencies (#6647) 2019-11-03 15:36:54 +00:00
renovate[bot]
867b520801 chore(deps): update dependency caniuse-lite to ^1.0.30001006 (#6633) 2019-10-30 16:30:29 +00:00
Daniel Roe
4f0aa74ef2 perf(webpack): prefer using contenthash (#6632) 2019-10-29 19:06:14 +01:00
Sébastien Chopin
9f921fe136 fix(vue-app): add prefetched class to <nuxt-link> after chunk loaded (#6623) 2019-10-28 15:32:24 +01:00
renovate[bot]
d2d0e11455 chore(deps): update all non-major dependencies (#6603) 2019-10-28 14:57:09 +01:00
Pooya Parsa
f6aa45dda6 v2.10.2 [release] 2019-10-21 23:16:29 +02:00
renovate[bot]
3d51c0341b chore(deps): update dependency glob to ^7.1.5 (#6602) 2019-10-21 23:09:36 +02:00
renovate[bot]
01e447e3a5 chore(deps): update all non-major dependencies (#6599) 2019-10-21 10:08:23 +02:00
renovate[bot]
a3f1957adc chore(deps): update dependency execa to v3 (#6563) 2019-10-19 10:40:26 +02:00
Xin Du (Clark)
de934844e2 fix(webpack): enable devtool for dev mode (#6495) 2019-10-19 10:23:57 +02:00
Xin Du (Clark)
8391753484 fix(webpack): normalize devtool for terser compatibility (#6566) 2019-10-19 10:21:42 +02:00
PedroD
257ae2279b fix(config): typo in unsafeInlineCompatibility name (#6583) 2019-10-19 10:15:07 +02:00
Pim
b031fac121 fix: collapsed ssr log (#6590) 2019-10-18 10:36:49 +01:00
renovate[bot]
2b6589cca8 chore(deps): update all non-major dependencies (#6573) 2019-10-17 20:16:52 +01:00
renovate[bot]
3cde4c7887 chore(deps): update all non-major dependencies (#6568) 2019-10-15 21:40:44 +01:00
renovate[bot]
a42453bb0c chore(deps): update all non-major dependencies (#6550) 2019-10-14 22:05:14 +01:00
renovate[bot]
ed4a222794 chore(deps): update dependency postcss-import-resolver to v2 (#6552) 2019-10-13 20:32:46 +01:00
Pooya Parsa
624c4c058e v2.10.1 [release] 2019-10-11 10:08:40 +02:00
renovate[bot]
9bfda1c560 chore(deps): update all non-major dependencies (#6545) 2019-10-11 09:50:09 +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
Xin Du (Clark)
010bb20645
chore: upgrade babel packages to 7.6.3 (#6540) 2019-10-09 18:43:36 +01:00
Pim
91d7d02c13 chore(deps): upgrade vue-meta to v2.3.1 (#6539) 2019-10-09 17:39:46 +01:00
Xin Du (Clark)
0834903152 fix(vue-app, webpack): remove consola from client (#6504) 2019-10-08 11:06:29 +02:00
Yuki Terashima
2d27a4d2dc fix(utils): error when router.trailingSlash is false (#6515) 2019-10-08 10:48:52 +02:00
Alexander Lichter
f28d12c913 fix(generator): remove trailing slash when no subFolders are used (#6362) 2019-10-08 10:47:13 +02:00
Xin Du (Clark)
ed564c3bd8 fix(webpack): chunkhash and contenthash not work with extractCSS (#6520) 2019-10-08 10:34:40 +02: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
renovate[bot]
0f8428fae7 chore(deps): update all non-major dependencies (#6494) 2019-10-01 19:36:12 +02:00
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