Commit Graph

2921 Commits

Author SHA1 Message Date
Daniel Roe
566fa85fc8
fix(nuxt): run page meta plugin on all pages (and only pages) (#20628)
Co-authored-by: Julien Huang <julien.huang@outlook.fr>
2023-05-03 15:14:12 +01:00
Daniel Roe
da3357449f
feat(nuxt): add nuxtApp.runWithContext (#20608) 2023-05-03 11:02:07 +01:00
renovate[bot]
3306cfe292
chore(deps): update all non-major dependencies (main) (#20632)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 07:00:29 +01:00
Anthony Fu
fb76b3931a
feat(nuxi): allow greater control of nuxi analyze from cli (#20387) 2023-05-02 14:24:11 +01:00
Anthony Fu
84559e84aa
feat(kit): support passing getter to addVitePlugin and addWebpackPlugin (#20525) 2023-05-02 12:17:41 +01:00
renovate[bot]
787d5e953e
chore(deps): update dependency vite to v4.3.4 (main) (#20619)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 12:12:31 +01:00
Daniel Roe
16bf228437
fix(nuxt): ensure useError is called with nuxt app context (#20585) 2023-05-01 23:55:24 +01:00
renovate[bot]
f3cfb5f630
chore(deps): update all non-major dependencies (main) (#20609)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-01 23:46:29 +01:00
Daniel Roe
8b86d39e30
refactor(schema): move runtimeCompiler option out of experimental (#20606) 2023-05-01 17:39:07 +01:00
Daniel Roe
8353e4c66e
feat(nuxt): allow access to components within app (#20604) 2023-05-01 17:35:00 +01:00
Daniel Roe
2c55bb6f84
fix(nuxt): remove internal <FragmentWrapper> (#20607) 2023-05-01 12:56:30 +01:00
renovate[bot]
c9c51cb3d8
chore(deps): update all non-major dependencies (main) (#20588)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-30 22:27:31 +01:00
Harlan Wilton
d2170b80b9
fix(nuxt): skip payload extraction for island context (#20590) 2023-04-30 10:10:09 +01:00
Anthony Fu
d2fc6ae614
fix(nuxt): properly handle query for component wrapper (#20591) 2023-04-30 10:08:08 +01:00
Anthony Fu
a13b18eddf
fix(nuxt): add @nuxt/devtools module before core modules (#20595) 2023-04-30 10:06:43 +01:00
renovate[bot]
9b956c9689
chore(deps): update all non-major dependencies (main) (#20570)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-30 00:27:12 +01:00
Gergő Jedlicska
4e7206bfab
feat(test-utils): add option to configure test server port (#20443) 2023-04-30 00:01:10 +01:00
Daniel Roe
24cce84e4b
feat(nuxt): add layer meta and env overrides to config types (#20329) 2023-04-29 23:51:28 +01:00
Daniel Roe
b2a1f9f339
feat(kit): allow vite and webpack plugins to be prepended (#20403)
Co-authored-by: Eduardo San Martin Morote <posva13@gmail.com>
2023-04-29 23:39:08 +01:00
Daniel Roe
6ef2e1caea
fix(nuxt): remove backwards-compatible runtimeConfig proxy (#20340) 2023-04-29 23:38:40 +01:00
Anthony Fu
cd7f38988a
feat(webpack): introduce webpack:configResolved hook (#20412) 2023-04-29 23:37:29 +01:00
Anthony Fu
17ca50354b
feat(vite): introduce vite:configResolved hook (#20411) 2023-04-29 23:37:06 +01:00
Stefan Milosevic
fac160c79f
feat(nuxt): auto import 'watchPostEffect' and 'watchSyncEffect' from vue (#20279) 2023-04-29 23:33:29 +01:00
Daniel Roe
e1e3d2cd8e
feat(nuxt): add scoped helper for clearing error within boundary (#20508) 2023-04-29 23:32:29 +01:00
Stefan Milosevic
1444d89e3b
feat(kit): add prepend option to addImportsDir (#20307) 2023-04-29 23:21:45 +01:00
Daniel Roe
1464294d6a v3.4.3 2023-04-28 20:08:45 +01:00
renovate[bot]
d8176f11eb
chore(deps): update all non-major dependencies (main) (#20514)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-28 11:18:51 +01:00
Daniel Roe
f73bb1de0a
fix(nuxt): return RenderResponse for redirects (#20496) 2023-04-28 11:18:03 +01:00
Anthony Fu
98b20c45c8
fix(nuxt): transform #components imports into direct component imports (#20547)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-28 10:14:42 +01:00
Julien Huang
ecf41537ca
fix(nuxt): throw errors when running legacy asyncData (#20535) 2023-04-27 11:51:33 +01:00
Daniel Roe
65a8f4eb3e
fix(nuxt): restrict access to single renderer outside of test/rootDir (#20543) 2023-04-27 11:31:52 +01:00
Daniel Roe
197de3ecbb
fix(nuxt): call app:error in SSR before rendering error page (#20511) 2023-04-26 14:36:59 +01:00
Daniel Roe
dd0d13d425
fix(nuxt): improved typing support for app config (#20526) 2023-04-26 14:30:05 +01:00
Daniel Roe
7ab476b1f8
fix(nuxt): use callAsync for executing hooks with context (#20510) 2023-04-26 07:15:22 +01:00
renovate[bot]
9170a721f7
chore(deps): update dependency vite to v4.3.2 (main) (#20504)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-25 21:18:33 +01:00
Daniel Roe
200cb2787e
fix(nuxt): throw 404 when accessing /__nuxt_error directly (#20497) 2023-04-25 15:47:02 +01:00
Daniel Roe
4c200e4a2a
fix(nuxi,schema): support devServer.https: true (#20498) 2023-04-25 15:33:29 +01:00
renovate[bot]
24ce1022e9
chore(deps): update dependency @vitejs/plugin-vue to ^4.2.0 (main) (#20493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-25 13:44:56 +01:00
renovate[bot]
5fd93d85c7
chore(deps): update all non-major dependencies (main) (#20429)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-24 22:48:16 +01:00
Jonas Thelemann
3133c6fb84
fix(deps): relax upper node version constraint (#20472) 2023-04-24 22:24:38 +01:00
Andrew Luca
ea1c5b2550
fix(nuxt): use event.node.req in cookie utility (#20474) 2023-04-24 21:25:36 +01:00
renovate[bot]
fd281f2d7d
chore(deps): update all non-major dependencies (main) (#20426)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 23:31:50 +01:00
Daniel Roe
f1ded44e80 fix(nuxt): add basic typings for <ClientOnly> 2023-04-20 22:56:22 +01:00
Julien Huang
e8e01bac13
fix(nuxt): use key to force server component re-rendering (#19911) 2023-04-20 22:41:20 +01:00
Daniel Roe
8b7df05ff0
fix(nuxt): don't call timeEnd unless we're debugging (#20424) 2023-04-20 22:18:32 +01:00
github-actions[bot]
607bfdcfef
v3.4.2 (#20410) 2023-04-20 14:51:12 +01:00
Daniel Roe
0ea719776b
refactor(vite): use native isFileServingAllowed util (#20414) 2023-04-20 14:00:05 +01:00
renovate[bot]
c1d97a2fdb
chore: update vite to v4.3 (#20405)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-20 13:36:11 +01:00
Daniel Roe
12f347a928
fix(nuxt): clone app config on server (#20278) 2023-04-20 13:33:45 +01:00
Daniel Roe
872d681549
fix(nuxi): load kit from rootDir when preparing project (#20401) 2023-04-19 22:28:55 +01:00
renovate[bot]
5f016b180e
chore(deps): update all non-major dependencies (main) (#20400)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-19 22:19:30 +01:00
Daniel Roe
a086af9692
perf: allow using @parcel/watcher for dev watcher (#20179) 2023-04-19 22:02:52 +01:00
Daniel Roe
83f0103a47
fix(schema): rely on installed telemetry types (#19640) 2023-04-19 22:02:15 +01:00
Daniel Roe
c7be5b4ec6
refactor(nuxt): rework and use isJS and isVue utilities consistently (#20344) 2023-04-19 19:17:36 +01:00
Harlan Wilton
5febd46d23
fix(core,kit): ensure module transpilation paths are dirs (#20396) 2023-04-19 19:05:46 +01:00
Daniel Roe
526852c1f1
fix(test-utils): import jest functions from @jest/globals (#20360) 2023-04-19 19:05:01 +01:00
Preet Mishra
48b48dec00
fix(nuxt): handle pages with no content and log warning (#20373) 2023-04-19 17:58:43 +01:00
renovate[bot]
6b75cceb3d
chore(deps): update all non-major dependencies (main) (#20395)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-19 17:03:51 +01:00
Daniel Roe
574a5616b4
perf: remove unused deps and add implicit deps (#20356) 2023-04-19 16:45:13 +01:00
Daniel Roe
4ab4ac13df
fix(nuxt): swap preloads for json/js payloads (#20375) 2023-04-19 10:18:02 +01:00
renovate[bot]
fe441a1364
chore(deps): update all non-major dependencies (main) (#20364)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-18 16:52:31 +01:00
Anthony Fu
886350a27c
fix(vite): avoid serving arbitrary file in vite-node middleware (#20345) 2023-04-18 12:30:16 +01:00
renovate[bot]
dc20b22a5f
chore(deps): update all non-major dependencies (main) (#20337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 09:57:25 +01:00
renovate[bot]
b9c8c9936e
chore(deps): update dependency c12 to ^1.3.0 (main) (#20328)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 15:16:04 +01:00
renovate[bot]
2f89fc0236
chore(deps): update all non-major dependencies (main) (#20313)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-17 09:14:46 +01:00
renovate[bot]
60c90c2948
chore(deps): update all non-major dependencies (main) (#20305)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-16 20:04:53 +01:00
Daniel Roe
8aa86559c8
fix(nuxt): mark useRequestHeaders keys as optional (#20286) 2023-04-15 15:43:19 +01:00
Daniel Roe
ac2e466175
fix(nuxt): provide more helpful error when instance unavailable (#20289) 2023-04-15 14:47:34 +01:00
Daniel Roe
3754591257
fix(nuxt): return type directly if not picking asyncData (#20288) 2023-04-15 11:03:09 +01:00
Daniel Roe
d0c8e7fb4a
fix(nuxt): generate hi-res sourcemaps (#20280) 2023-04-14 18:21:08 +01:00
Daniel Roe
f366ab4eb8
chore: remove @ts-ignore and fix some issues (#20273) 2023-04-14 13:53:21 +01:00
Daniel Roe
b602b66a8e
fix(vite): set different cache dirs for client/server (#20276) 2023-04-14 13:25:33 +01:00
Daniel Roe
53db8125f1
perf(nuxt): share lazy component definitions (#20259) 2023-04-13 20:08:08 +01:00
renovate[bot]
b0c35291b6
chore(deps): update all non-major dependencies (main) (#20253)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-13 19:28:30 +01:00
Daniel Roe
940fb0b7ad
v3.4.1 (#20246) 2023-04-13 03:31:11 -07:00
Daniel Roe
9110d41628
fix(nuxt): do not redirect when vue-router normalises url (#20247) 2023-04-13 03:14:44 -07:00
Daniel Roe
b011d3d76f
fix(nuxt): improve handling of redirects within middleware (#20244) 2023-04-13 02:58:25 -07:00
renovate[bot]
2dc47a6deb
chore(deps): update dependency nypm to ^0.2.0 (main) (#20241)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 10:53:17 -07:00
renovate[bot]
e4c5c829b0
chore(deps): update all non-major dependencies (main) (#20214)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 10:33:52 -07:00
Daniel Roe
e5d1d29b1d
fix(nuxt): add missing imports to <NuxtClientFallback> (#20237) 2023-04-12 10:10:18 -07:00
Daniel Roe
22f1f71e3e
fix(nuxt): mark entire payload as reactive (#20218) 2023-04-12 01:42:45 -07:00
Daniel Roe
fe2800540c
fix(nuxt): set config on ssrContext in spa renderer (#20216) 2023-04-11 15:33:21 -07:00
renovate[bot]
8f67d871b8
chore(deps): update dependency globby to ^13.1.4 (main) (#20206)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-11 18:47:45 +01:00
Daniel Roe
25e3a9046c
v3.4.0 (#20170) 2023-04-11 09:17:01 -07:00
Sacha Stafyniak
811bf28068
feat(nuxt): add chokidar watcher debug timing (#20176) 2023-04-11 07:19:45 -07:00
Julien Huang
163913a744
feat(nuxt): add experimentalNoScripts route rule (#19805) 2023-04-11 07:17:44 -07:00
renovate[bot]
90d9cbbe88
chore(deps): update devdependency nitropack to ^2.3.3 (main) (#20203)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-11 07:14:46 -07:00
Harlan Wilton
4da289d150
fix(schema): allow ignorePrefix to be changed (#20202) 2023-04-11 06:55:25 -07:00
Daniel Roe
89ab2e522d
fix(nuxi, vite): suppress sourcemap + native fetch warnings (#20198) 2023-04-11 05:46:49 -07:00
renovate[bot]
bc910f6837
chore(deps): update all non-major dependencies (main) (#20196)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-11 05:38:53 -07:00
renovate[bot]
5a0a5f405f
chore(deps): update all non-major dependencies (main) (#20188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-11 04:59:08 -07:00
Daniel Roe
4285092879
feat(nuxt): support object-syntax plugins (#20003) 2023-04-11 04:58:43 -07:00
Daniel Roe
f951a15232
chore: upgrade to consola v3 (#20194) 2023-04-11 03:07:39 -07:00
Daniel Roe
d6c3c2439a
feat(nuxt): support async transform of object properties (#20182) 2023-04-10 14:57:13 -07:00
renovate[bot]
98d1c0e827
chore(deps): update all non-major dependencies (main) (#20184)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 14:46:12 -07:00
Harlan Wilton
33f3ae4963
fix(nuxt): default nitro autoImports to imports.autoImport (#20180) 2023-04-10 19:11:07 +01:00
renovate[bot]
8e00026d4a
chore(deps): update dependency esbuild to ^0.17.16 (main) (#20165)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-10 05:28:51 -07:00
Daniel Roe
e99f923aa5
feat(nuxt): add experimental View Transitions API support (#20092) 2023-04-10 04:33:14 -07:00
renovate[bot]
40e6933fa5
chore(deps): update all non-major dependencies (main) (#20151)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 07:54:38 +01:00
Daniel Roe
ea4b5220a4
feat: upgrade to consola v3.x prerelease (#20141) 2023-04-08 03:16:06 -07:00