Commit Graph

1455 Commits

Author SHA1 Message Date
xjccc
56ceb1840e
feat(nuxt): allow enabling route props in definePageMeta (#29586) 2024-10-22 15:38:04 +01:00
Bobbie Goede
39951fd472
feat(nuxt,schema): pages:resolved hook + scan meta post extend (#28861) 2024-10-22 15:38:04 +01:00
Julien Huang
088beaa90b
perf(nuxt): remove unneeded second call to useNuxtApp (#29514) 2024-10-16 11:52:13 +01:00
Julien Huang
4bb023cd4b
fix(nuxt): allow islands to manipulate head client-side (#29186) 2024-10-11 23:39:30 +01:00
Ryoya
ff18ecffd3
fix(nuxt): fix nested page types in typedPages (#29352) 2024-10-11 23:39:30 +01:00
Daniel Roe
e207f7e993
feat(rspack,webpack): add rspack builder (#29142)
Co-authored-by: "yangjian.fe" <yangjian.fe@bytedance.com>
Co-authored-by: underfin <likui6666666@gmail.com>
2024-10-09 15:59:32 +02:00
Daniel Roe
0f210e3170
refactor(nuxt,schema,vite,webpack): use unplugin for vfs (#29165) 2024-10-09 15:04:58 +02:00
Ryota Watanabe
ad7aae046e
fix(nuxt): avoid throwing 404 error before middleware finishes (#29054) 2024-10-09 15:04:49 +02:00
Daniel Roe
cb725f0146
fix(nuxt): prevent 404 when hitting component test endpoint 2024-10-09 15:04:10 +02:00
Jelmer
613340edcf
feat(nuxt): add useResponseHeader composable (#27131) 2024-10-09 15:04:09 +02:00
Daniel Roe
90e413e428
fix(nuxt): error on build when required module is missing (#29287) 2024-10-09 08:28:27 +02:00
Daniel Roe
43f80f134b
fix(nuxt): pass absolute external link urls to link:prefetch (#29321) 2024-10-09 08:28:27 +02:00
Daniel Roe
a28e00c0da
fix(nuxt): use routeRules to hint pages to prerender (#29172) 2024-10-07 06:28:13 +02:00
Daniel Roe
4a84ec89e6
refactor(nuxt): use addBuildPlugin internally (#29157) 2024-10-07 06:26:12 +02:00
Pooya Parsa
48f9617b8b
chore(deps): update jiti (#29281) 2024-10-05 19:42:01 +01:00
Julien Huang
2e69612206
feat(nuxt): normalise component names to match nuxt pattern (#28745) 2024-09-25 22:52:13 +01:00
Daniel Roe
a4534ae233
fix(nuxt): add crossorigin attribute for stylesheets (#29138) 2024-09-25 22:50:53 +01:00
Daniel Roe
c5a8eaae36
feat(kit,nuxt,vite,webpack): reimplement cjs utils using jiti (#29073) 2024-09-19 16:35:02 +01:00
Daniel Roe
10ce38055d
feat(deps): upgrade to latest version of jiti (#27995) 2024-09-19 14:39:19 +01:00
Daniel Roe
03342f8575
fix(nuxt): don't resolve relative import type paths for deps (#29069) 2024-09-19 13:26:27 +01:00
Daniel Roe
466a98b6e0
fix(nuxt): empty nitro buildDir in dev mode (#29068) 2024-09-19 13:26:27 +01:00
Daniel Roe
6a39c657f5
chore: add more checks around indexed access (#29060) 2024-09-19 13:26:25 +01:00
DarkVen0m
da019ba39a
fix(nuxt): pass DOMException as fetch abort exception (#29058) 2024-09-19 13:21:18 +01:00
Daniel Roe
04f1062af9
fix(nuxt): defer unsetting error handler until suspense resolves (#29037) 2024-09-19 13:21:18 +01:00
Daniel Roe
08891ab126
fix(nuxt): do not resolve non-absolute component paths (#29036) 2024-09-19 13:21:18 +01:00
renovate[bot]
06c71f6dac
chore(deps): update all non-major dependencies (3.x) (#29048)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-09-19 13:18:54 +01:00
Daniel Roe
3e5b307e42
fix(nuxt): access server build from webpack memfs (#29027) 2024-09-17 14:01:48 +02:00
Ezra Ashenafi
0bf748597f
fix(nuxt): simplify plugin InjectionType template conditional (#29023) 2024-09-17 14:01:47 +02:00
Artem Maslov
870e4f6b4a
fix(nuxt): correct type for useError (#28996) 2024-09-15 21:44:48 +01:00
Daniel Roe
8209086964
fix(nuxt): catch chunk errors directly in navigation 2024-09-13 12:57:44 +01:00
Daniel Roe
a878abc5e9
fix(nuxt): ensure component imports are injected last (#28944) 2024-09-11 14:12:48 +01:00
Daniel Roe
4fd24381c2
fix(nuxt): use case-insensitive regexp for <script> blocks 2024-09-11 11:48:59 +01:00
Daniel Roe
1b53df5bfb
refactor(nuxt): use vite:preloadError event (#28862) 2024-09-11 11:48:58 +01:00
Daniel Roe
66d0b8ccdc
fix(nuxt): set inheritAttrs: false for fragment components (#28939) 2024-09-11 11:48:58 +01:00
Julien Huang
32a66364cb
fix(nuxt): make runWithContext generic (#28926) 2024-09-10 23:08:37 +01:00
Daniel Roe
9edba0d7ea
fix(nuxt): fall back to original component filePath (#28925) 2024-09-10 22:39:00 +01:00
Daniel Roe
79773710c3
fix(nuxt,schema): accept any module in inline modules array (#28922) 2024-09-10 22:39:00 +01:00
Daniel Roe
ac7d010587
chore(deps): upgrade typescript 2024-09-10 19:51:51 +01:00
Daniel Roe
0e8f5ae59d
perf(nuxt): remove interop default for dynamic components (#28912) 2024-09-10 19:42:34 +01:00
Daniel Roe
73d833f0ce
chore: enable noUncheckedSideEffectImports (#28903) 2024-09-10 19:40:37 +01:00
Daniel Roe
667fe86956
fix(nuxt): do not accept attrs on <NuxtErrorBoundary> (#28901) 2024-09-09 20:41:46 +01:00
Daniel Roe
f94a2bf850
fix(nuxt): ensure we process files in buildDir for unimport (#28899) 2024-09-09 20:41:46 +01:00
Anthony Fu
08a0c90828
fix(nuxt): enable injectAtEnd to reduce circular auto-imports (#28822) 2024-09-09 20:41:46 +01:00
Daniel Roe
a9385d04b4
fix(nuxt): log more context of prerendering errors (#28895) 2024-09-09 14:41:39 +01:00
Daniel Roe
02c08b03aa
fix(nuxt): improve accuracy of module resolution conditions (#28846) 2024-09-09 10:28:50 +01:00
Daniel Roe
addc7853bf
fix(nuxt): resolve full component paths (#28843) 2024-09-09 10:27:51 +01:00
Daniel Roe
126041b121
chore: use consola to log out compatibility info (#28854) 2024-09-09 10:27:51 +01:00
Daniel Roe
3c4979f2c7
fix(nuxt): render server errors with ssr: false (#28834) 2024-09-09 10:27:51 +01:00
Daniel Roe
468ab2dc0b
fix(nuxt): don't override vue instance with legacy asyncData (#28842) 2024-09-09 10:27:51 +01:00
Daniel Roe
74985a5251
fix(nuxt): ensure injected route has enumerable keys (#28841) 2024-09-09 10:27:50 +01:00
Julien Huang
c5f3292d63
fix(nuxt): fix ssr log querySelector (#28864) 2024-09-06 08:53:57 +02:00
renovate[bot]
67f58395f8
chore(deps): update all non-major dependencies (3.x) (#28824)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-09-04 20:40:04 +01:00
Gianluca Di Francesco
083946fe40
fix(nuxt): improve isNuxtError type inference (#28814) 2024-09-04 10:06:24 +01:00
Daniel Roe
26ba7a3d88
refactor(nuxt): update to vue v3.5 + native useId (#28285) 2024-09-03 14:39:01 +01:00
Joaquín Sánchez
db90f7d12b
chore: ignore eslint warnings about console logging (#28795) 2024-09-03 14:36:26 +01:00
Daniel Roe
90f4447b37
perf(nuxt): use reducer array + handle modified proto (#28768) 2024-09-03 14:35:21 +01:00
Gianluca Di Francesco
3c4949acfb
fix(nuxt): allow updating appConfig with non-iterable objects (#28773) 2024-09-03 14:35:21 +01:00
Eckhardt (Kaizen) Dreyer
2d9e1442d8
fix(nuxt): handle deleted cookies from CookieStore events (#28760) 2024-09-03 14:35:21 +01:00
Daniel Roe
98630820b1
fix(nuxt): improve error logging in import protections (#28753) 2024-08-30 09:26:54 +01:00
Julien Huang
b305e53639
perf(nuxt): use ServerPlaceholder for ssr client components (#28563) 2024-08-28 22:40:52 +01:00
Daniel Roe
7b99ecca4d
fix(nuxt): augment NuxtOptions as well as config (#28747) 2024-08-28 22:39:57 +01:00
Daniel Roe
bafc482fa5
perf(nuxt): cache vue app build outputs (#28726) 2024-08-28 22:39:40 +01:00
Anthony Fu
901691aa65
fix(nuxt): generate basic jsdoc for module config entry (#27689) 2024-08-28 22:36:26 +01:00
Daniel Roe
9ad735a349
fix(nuxt): do not pass listeners to custom NuxtLink (#28738) 2024-08-28 22:20:09 +01:00
Thimo Sietsma
0a4113571d
fix(nuxt): do not accept arbitrary strings for MiddlewareKey (#28676) 2024-08-26 21:32:16 +01:00
Daniel Roe
ae8cc86483
fix(nuxt): handle mismatching declaration/plugin extensions (#28709) 2024-08-26 21:32:15 +01:00
Daniel Roe
a0124712f3
fix(nuxt): revert back to object syntax for island head (#28656) 2024-08-22 14:58:58 +01:00
Julien Huang
3f1db54b80
feat(nuxt): allow server islands to manipulate head (#27987) 2024-08-22 13:10:17 +01:00
Daniel Roe
4dfbec8e0f
fix(nuxt): do not provide default prefetchOn prop (#28630) 2024-08-21 16:37:04 +01:00
felix-dolderer
fb7c2f79f8
fix(nuxt): allow customising status code in validate method (#28612) 2024-08-21 16:37:03 +01:00
Daniel Roe
eed8730688
fix(nuxt): extract route rules/page meta in 2+ script blocks (#28625) 2024-08-21 16:37:02 +01:00
Nicolas Payot
1eb9b0a402
feat(nuxt): namespace __NUXT__ when using multi-app (#27263) 2024-08-20 11:38:53 +01:00
Daniel Roe
2fcadda2e5
fix(nuxt): don't warn when data fetching in middleware (#28604) 2024-08-20 11:36:14 +01:00
Kewin Szlezingier
dba2b972bd
feat(nuxt): allow defining triggers for prefetching links (#27846) 2024-08-20 11:36:14 +01:00
renovate[bot]
22911c7e6b
chore(deps): update devdependency @nuxt/eslint-config to v0.5.1 (3.x) (#28596)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-19 15:50:28 +01:00
xjccc
89ce936b45
fix(nuxt): preserve route-specific metadata on route.meta (#28441) 2024-08-19 13:49:22 +01:00
Daniel Roe
4354d31090
fix(nuxt): avoid stripping js extensions in plugin injections (#28593) 2024-08-19 10:38:51 +01:00
Daniel Roe
60948c8426
fix(nuxt): only augment vue, not sub-packages (#28542) 2024-08-16 10:12:22 +01:00
Martin André
b13582205a
perf(nuxt): avoid multiple calls to getCachedData (#28472) 2024-08-13 20:45:27 +01:00
Mike Laumann Bellika
fe954c434c
fix(nuxt): add reason when aborting request in useFetch (#28517) 2024-08-13 20:44:00 +01:00
Horu
c4ae151de5
feat(nuxt): allow organising pages within route groups (#28276) 2024-08-13 20:44:00 +01:00
Julien Huang
a4ef08059d
perf(nuxt): avoid making client-only component setup async (#28334) 2024-08-13 20:43:58 +01:00
Daniel Roe
60a209b2d9
fix(nuxt): handle plugin type extensions more correctly (#28480) 2024-08-13 20:43:57 +01:00
Daniel Roe
f707e6da89
fix(nuxt): scan jsx pages for page metadata (#28479) 2024-08-13 20:43:57 +01:00
Adam DeHaven
0a6e5e1caa
feat(nuxt): custom enable/disable hooks for usePreviewMode (#28371) 2024-08-13 20:43:57 +01:00
Potter
6c2abcdfdb
perf(nuxt): call cookie decode function only for named cookie (#28215) 2024-08-13 20:43:55 +01:00
Daniel Roe
5132ef8c81
fix(nuxt): augment @vue/runtime-core and @vue/runtime-dom (#28446) 2024-08-13 20:43:09 +01:00
Martin Masevski
219653e2c6
fix(nuxt): update renamed stub composables from nuxt/scripts (#28449) 2024-08-13 20:43:09 +01:00
Daniel Roe
93801def67
fix(nuxt): ensure runtimeConfig.public is reactive on client (#28443) 2024-08-13 20:43:08 +01:00
BoogieBen.
e64f8c9f3d
fix(nuxt): handle scroll-padding-top: auto in scrollBehavior (#28320) 2024-08-13 20:43:07 +01:00
renovate[bot]
461498684a
chore(deps): update all non-major dependencies (3.x) (#28465)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Julien Huang <julien.h.dev@gmail.com>
2024-08-08 13:50:54 +01:00
Tobias Diez
45d92d67ee
feat(nuxt): allow specifying app id when creating a nuxt app (#28392) 2024-08-08 11:11:14 +01:00
Michael Brevard
13ba46bec3
feat(nuxt): warn when user components' names begin with Lazy (#27838) 2024-08-08 11:10:37 +01:00
Daniel Roe
24d65be071
feat(nuxt): await custom routes function in router.options (#27644) 2024-08-08 11:09:22 +01:00
Julien Huang
03a0fb33f3
chore(nuxt): remove unnecessary await (#28407) 2024-08-06 15:17:52 +01:00
Bobbie Goede
198c4e199d
chore(nuxt): use router code reference permalink (#28356) 2024-08-06 15:17:51 +01:00
renovate[bot]
17ff2d5c98
chore(deps): update all non-major dependencies (3.x) (#28302)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-06 15:16:20 +01:00
Julien Huang
c5d524adb0
fix(nuxt): don't warn for definePageMeta in client-only pages (#28246) 2024-07-24 00:41:03 +02:00
Daniel Roe
b7da949cab
fix(nuxt): prevent duplicate set-cookie headers (#28211) 2024-07-18 22:07:41 +01:00
Daniel Roe
1843ffa328
refactor(nuxt): use errx to handle dev log traces (#28027) 2024-07-18 21:10:41 +01:00