Commit Graph

1571 Commits

Author SHA1 Message Date
Daniel Roe
27e356fe67
docs: clarify that local layers are scanned from rootDir
resolves https://github.com/nuxt/nuxt/issues/30925
2025-02-11 19:32:18 +00:00
Daniel Roe
3af848f9a6
feat(kit,nuxt,schema): support experimental decorators syntax (#27672) 2025-02-11 19:32:18 +00:00
Damian Głowala
3d0d831463
fix(nuxt): delete existing properties in app config HMR (#30918) 2025-02-11 19:31:18 +00:00
Daniel Roe
6a4b7232fc
feat(schema): add runtime + internal type validation (#30844) 2025-02-10 16:49:02 +00:00
Ryota Watanabe
41d4973279
feat(nuxt): allow disabling auto-imported polyfills (#30332) 2025-02-10 16:47:24 +00:00
Julien Huang
9f6602f562
fix(nuxt): remove div wrapper in client-only pages (#30425) 2025-02-08 20:58:00 +00:00
Anthony Fu
31c4c511ff
feat(nuxt): support tracking changes to nuxt options by modules (#30555) 2025-02-08 20:55:01 +00:00
Alex Liu
79b8f4b69e
fix(nuxt): prevent keepalive cache reset (#30807) 2025-02-08 20:53:18 +00:00
Alex Liu
a42dec7a2c
feat(nuxt): add type hints for NuxtPage (#30704) 2025-02-08 20:53:18 +00:00
Anthony Fu
adc8c801c0
feat(nuxt): granular debug options (#30578) 2025-02-08 20:53:17 +00:00
renovate[bot]
a8b4edda23
chore(deps): update all non-major dependencies (3.x) (#30908)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-02-07 20:47:31 +00:00
Anthony Fu
1f1ad477bf
feat(nuxt): upgrade @nuxt/devtools to v2 (#30889) 2025-02-06 14:10:57 +00:00
Daniel Roe
a7345c2f35
fix(nuxt,vite): do not override vite import conditions (#30887) 2025-02-06 14:10:17 +00:00
Julien Huang
01f5694408
fix(nuxt): assign slot to be rendered for client components (#30768) 2025-02-05 14:41:24 +00:00
Maik Kowol
31e2570de1
fix(nuxt): ensure <NuxtLayout> fallback prop is typed (#30832) 2025-02-05 14:41:24 +00:00
Peter Radko
626eba06cc
fix(nuxt): don't warn about calling useRoute in SFC setup (#30788) 2025-01-28 23:49:17 +01:00
Daniel Roe
7a1e5c818b
fix(nuxt): allow restarting nuxt on paths outside srcDir (#30771) 2025-01-28 23:49:16 +01:00
Daniel Roe
ca2d91f8e0
fix(kit): load @nuxt/schema from nuxt package dir (#30774) 2025-01-28 23:48:19 +01:00
Julien Huang
b78da56dd7
fix(nuxt): clear island uid before saving into the payload (#30767) 2025-01-28 23:48:19 +01:00
Norbiros
e0c47f9bf3
fix(nuxt): improve error logging when parsing with acorn (#30754) 2025-01-28 23:48:18 +01:00
Alex Liu
e96a96dbd9
perf(nuxt): enable Transition component only on client side (#30720) 2025-01-24 23:19:41 +00:00
xjccc
cb7f30a1ea
fix(nuxt): deep clone extracted page meta (#30717) 2025-01-24 16:50:53 +00:00
Daniel Roe
c5a84fd7e8
perf(nuxt): early return from annotation for non-object syntax plugins (#30683) 2025-01-22 17:51:48 +00:00
Daniel Roe
2669184bde
fix(nuxt): do not warn about [[ optional dynamic params (#30619) 2025-01-22 14:57:40 +00:00
Daniel Roe
893ac0f8bc
perf(nuxt): reduce unnecessary template updating (#30684)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-01-21 12:08:22 +00:00
Daniel Roe
c315eb9805
perf(nuxt): reduce number of mkdirSync calls (#30651) 2025-01-21 12:05:31 +00:00
Daniel Roe
47c40f310a
chore: remove stray console log 2025-01-21 12:04:38 +00:00
Daniel Roe
5a538be2b0
perf(kit,nuxt): don't resolve paths from local layers/modules (#30650) 2025-01-17 23:47:59 +00:00
Daniel Roe
a97602fd41
fix(nuxt): fall back to plugin.src for variable name generation (#30649) 2025-01-17 23:47:59 +00:00
Daniel Roe
b8742662ad
fix(kit,nuxt,schema,vite): improve watching behaviour (#30620) 2025-01-16 23:59:55 +00:00
Daniel Roe
0ebf06d00d
fix(nuxt): decode id before resolving relative imports (#30599) 2025-01-15 11:32:54 +00:00
Alex Liu
d3cc244375
fix(nuxt): avoid invoking shouldPrefetch on the server side (#30591) 2025-01-15 11:32:29 +00:00
Anthony Fu
e438a04251
refactor(kit,nuxt,webpack): reduce reassignments (#30589) 2025-01-14 17:45:48 +00:00
Daniel Roe
0249c74bcd
fix(nuxt): do not warn about invalid characters in route groups/catchalls 2025-01-14 14:08:08 +00:00
Daniel Roe
8a0350d5c2
fix(nuxt): allow url-specific chars in vfs (#30584) 2025-01-14 14:08:07 +00:00
Julien Huang
0bafc82868
fix(nuxt): warn about ignored char while parsing route segment (#30396) 2025-01-14 12:59:04 +00:00
Peter Buglavecz
fa2937087b
fix(nuxt): call page:loading:end only once with nested pages (#29009) 2025-01-14 12:59:04 +00:00
Daniel Roe
77d34f75bc
perf(nuxt): defer version/config warnings to after build (#30567) 2025-01-14 12:59:04 +00:00
Daniel Roe
b2a1b63f18
perf(nuxt): avoid checking fs for existence of scanned pages (#30581) 2025-01-14 12:59:04 +00:00
Daniel Roe
618bbc6da5
fix(nuxt): add import protection for @nuxt/cli 2025-01-13 16:28:57 +00:00
Vuk Marjanovic
608830e130
fix(nuxt): use fullPath instead of empty string in router hmr (#30500) 2025-01-13 12:27:12 +00:00
Daniel Roe
f4e7e6bf36
perf(nuxt): use lighter @nuxt/cli dependency (#30526) 2025-01-13 12:27:10 +00:00
Matej Černý
3e674222b1
fix(nuxt): don't hoist identifiers declared locally in definePageMeta when extracting page metadata (#30490) 2025-01-13 12:24:26 +00:00
Matej Černý
f628530ae4
fix(nuxt): collect all identifiers before extracting page metadata (#30478) 2025-01-07 05:43:50 +00:00
Julien Huang
4247caa097
perf(nuxt): remove code duplication in client-only (#30460) 2025-01-07 05:43:47 +00:00
Daniel Roe
975221b524
perf(nuxt): drop pathe browser dep for deep server components (#30456) 2025-01-05 00:38:01 +00:00
Daniel Roe
d837cee9d1
fix(nuxt): respect router.options when hmring routes (#30455) 2025-01-04 23:05:04 +00:00
Alexander Lichter
6a6bae73ea
fix(nuxt): respect baseURL when ignoring prerendered manifest (#30446) 2025-01-04 23:05:04 +00:00
Matej Černý
b00264cd7c
fix(nuxt): use node location instead of range for route meta property extraction (#30447) 2025-01-04 21:38:33 +00:00
Julien Huang
5cad21572e
refactor(nuxt): use consola with nuxt tag instead of console (#30408) 2024-12-30 00:20:51 +00:00
Daniel Roe
e4a372e12c
fix(nuxt): pass nuxt instance to resolvePagesRoutes 2024-12-30 00:20:13 +00:00
Matej Černý
d3d3f9d85f
fix(nuxt): ignore non-reference identifiers when extracting page metadata (#30381) 2024-12-27 15:52:16 +00:00
Matej Černý
85b8ea916c
perf(nuxt): skip experimental async context transform in client build (#30360) 2024-12-27 15:52:16 +00:00
Daniel Roe
44e0256293
fix(nuxt): update module path for defaults (#30371) 2024-12-26 01:17:46 +00:00
Daniel Roe
b1cf5781dd
fix(nuxt): initialise import.meta.hot.data 2024-12-24 23:00:59 +00:00
Julien Huang
fb1f24fd01
fix(nuxt): treat client useAsyncData calls as async boundaries (#30343) 2024-12-24 21:33:19 +00:00
Julien Huang
9a8e34d81a
chore: document div wrapper in client-only page (#30359) 2024-12-24 21:33:10 +00:00
Daniel Roe
4171a10765
fix(nuxt): do not resolve deep imports for @vitest/
hotfix for https://github.com/vitejs/vite/pull/19016
2024-12-23 16:41:05 +00:00
Julien Huang
0496513bb4
chore: remove outdated comment (#30324) 2024-12-23 16:29:08 +00:00
Julien Huang
483435ba34
fix(nuxt): use useId for client-fallback component uid (#30314) 2024-12-20 11:16:42 +00:00
Vuk Marjanovic
a4d4d48124
fix(nuxt): don't use <RouterLink> for links starting with # (#30190) 2024-12-19 13:56:17 +00:00
renovate[bot]
bdca53ed59
chore(deps): update all non-major dependencies (3.x) (#30299)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-12-19 11:29:48 +00:00
renovate[bot]
cde98d7d21
chore(deps): update all non-major dependencies (3.x) (#30281)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-12-18 20:03:22 +00:00
Daniel Roe
f220314a59
fix(nuxt): update import paths for nitropack 2024-12-18 17:03:06 +00:00
Daniel Roe
5d936e4354
perf(nuxt): use static hashMode option (#30297) 2024-12-18 16:36:46 +00:00
Alexander Lichter
aa79b3a120
feat(nuxt): add mode: 'navigation' to callOnce (#30260) 2024-12-18 16:36:46 +00:00
Connor Roberts
c193d40906
fix(nuxt): respect replace in middleware with navigateTo (#30283) 2024-12-18 16:36:46 +00:00
Matej Černý
f67fc574b9
feat(nuxt): support local functions in definePageMeta (#30241) 2024-12-18 16:36:45 +00:00
Daniel Roe
05f17b7041
fix(nuxt): ensure getRouteRules works with nitro signature (#30277) 2024-12-18 16:36:45 +00:00
Daniel Roe
678bf22a41
fix(nuxt): hoist environment types (#30230) 2024-12-13 20:46:29 +00:00
Daniel Roe
333d71a299
docs: update nitro links + fix link checking (#30228) 2024-12-13 20:46:29 +00:00
renovate[bot]
e8ceaa20c9
chore(deps): update all non-major dependencies (3.x) (#30133)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-12-10 23:35:16 +00:00
Daniel Roe
070bd103c7
fix(nuxt): remove whitespace around spa loading template 2024-12-09 21:42:08 +00:00
Nikolay
aa6cc48eb0
fix(nuxt,schema): allow showing spa loader til after hydration (#29776) 2024-12-09 14:27:07 +00:00
Julien Huang
5b263beaf8
refactor(nuxt): prefix all core modules with nuxt: (#30028) 2024-12-09 14:25:56 +00:00
Daniel Roe
02390109c9
test: add additional attw test for built packages (#30206) 2024-12-09 14:25:38 +00:00
Joaquín Sánchez
de9ffe81a3
fix(nuxt): correct types for nuxt and nuxt/app (#30148) 2024-12-09 14:11:14 +00:00
Daniel Roe
a15b499582
fix(nuxt): de-default async layout components (#30203) 2024-12-09 14:11:14 +00:00
Julien Huang
666933646b
fix(nuxt): use useId for island client component teleport id (#30151) 2024-12-09 14:11:14 +00:00
Julien Huang
94e643193e
fix(nuxt): render client page directly when not hydrating (#30061) 2024-12-09 14:11:14 +00:00
Joaquín Sánchez
25230ed381
feat(nuxt): support vue directive auto-imports within unimport (#29818) 2024-12-06 21:13:14 +00:00
Harlan Wilton
37fa91e973
perf(nuxt): preload app manifest (#30017) 2024-12-06 21:13:13 +00:00
Daniel Roe
c2ef5e4924
feat(nuxt): print nuxt hook timings in browser devtools (#29922) 2024-12-06 21:10:06 +00:00
Daniel Roe
2d5b53b238
fix(nuxt): use nitropack rather than nitro import 2024-12-03 10:18:47 +00:00
Daniel Roe
016900ffdb
fix(nuxt,vite): hmr for templates, pages + page metadata (#30113) 2024-12-03 09:57:57 +00:00
Daniel Roe
a77c8f2e77
fix(nuxt): correct return type of useRequestFetch (#30117) 2024-12-03 09:57:57 +00:00
Daniel Roe
62b173fc75
fix(kit,nuxt): provide buildDir to normalizeTemplate (#30115) 2024-12-03 09:57:57 +00:00
Daniel Roe
40f437d254
fix(nuxt): tidy up remnants of previous useId implementation 2024-12-03 09:57:57 +00:00
Daniel Roe
001869dd15
refactor(nuxt): simplify and improve core plugins that parse ast (#30088) 2024-12-03 09:57:55 +00:00
Felix Gabler
b387af788d
fix(nuxt): allow array/object style value for head components (#29999) 2024-11-28 11:03:59 +00:00
Daniel Roe
ae9f42f4aa
fix(nuxt): do not persist extraExtractionKeys on runtime route.meta 2024-11-28 09:14:29 +00:00
Damian Głowala
ddb25bd37a
feat(nuxt,schema): allow setting serialisable vue app config (#28873) 2024-11-27 17:09:49 +00:00
Harlan Wilton
a7dfc62038
feat(nuxt): experimental extraPageMetaExtractionKeys (#30015) 2024-11-27 17:07:41 +00:00
Joaquín Sánchez
4746457c9c
feat(nuxt): add new types to vue preset (#29819) 2024-11-27 17:07:09 +00:00
xjccc
db889f07c9
fix(nuxt): unref the default value of asyncData when clearing (#30041) 2024-11-26 13:34:17 +00:00
Guillaume Chau
c0ecf746da
fix(nuxt): check if nuxt link observer is null (#30038) 2024-11-26 13:33:57 +00:00
Julien Huang
57badbe496
refactor: move composable-keys plugin into nuxt core (#30029) 2024-11-26 13:33:55 +00:00
Daniel Roe
cfdbbb4e48
fix(nuxt): do not disallow importing nitro dependencies (#29975) 2024-11-19 14:00:03 -05:00
Daniel Roe
cea11d5060
fix(nuxt): allow scanning metadata from 2+ files at same path (#29969) 2024-11-19 07:03:38 -05:00
Daniel Roe
c4ede9bee3
refactor(nuxt): define layouts as async vue components (#29957) 2024-11-17 22:26:04 -05:00