Commit Graph

1505 Commits

Author SHA1 Message Date
Daniel Roe
37fd4ab37c
Merge branch 'main' into feat/nuxt_async_context 2025-01-11 21:26:56 +00:00
Vuk Marjanovic
da9a0b1da7
fix(nuxt): use fullPath instead of empty string in router hmr (#30500) 2025-01-11 21:12:31 +00:00
Julien Huang
8fceb73bde chore: lint 2025-01-11 21:37:50 +01:00
Julien Huang
59e20758b1
Update packages/nuxt/src/core/nuxt.ts
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-01-11 21:36:58 +01:00
Julien Huang
f5be4bbd5a refactor: globalNuxtCtx renamed to nuxtCtx 2025-01-11 21:36:15 +01:00
Julien Huang
982af4e1a2 refactor: rename fallback to global 2025-01-11 17:52:20 +01:00
Julien Huang
97af928232 Merge branch 'main' into feat/nuxt_async_context 2025-01-11 17:44:32 +01:00
Daniel Roe
b5beffc119
perf(nuxt): use lighter @nuxt/cli dependency (#30526) 2025-01-10 17:09:51 +00:00
Matej Černý
04e02986cd
fix(nuxt): don't hoist identifiers declared locally in definePageMeta when extracting page metadata (#30490) 2025-01-09 15:11:44 +00:00
autofix-ci[bot]
0b4781e28e
[autofix.ci] apply automated fixes 2025-01-09 14:46:41 +00:00
Julien Huang
705e221bbd feat: provide fallback instance for backward compatibility 2025-01-09 15:04:13 +01:00
Julien Huang
186be43db1 fix: impôrt, wrap buildNuxt and make name internal 2025-01-09 12:17:57 +01:00
Julien Huang
e872a19dae fix: missing name in nuxt object 2025-01-08 16:27:57 +01:00
Julien Huang
d7946f92ac feat: provide name and allow multiple Nuxt App within the same process 2025-01-08 16:22:31 +01:00
Matej Černý
65380c6bc9
fix(nuxt): collect all identifiers before extracting page metadata (#30478) 2025-01-07 04:49:59 +00:00
Julien Huang
8b8a731dff
perf(nuxt): remove code duplication in client-only (#30460) 2025-01-05 14:35:59 +00:00
Daniel Roe
7f49b6d573
perf(nuxt): drop pathe browser dep for deep server components (#30456) 2025-01-05 00:28:48 +00:00
Daniel Roe
aef96ae88d
fix(nuxt): respect router.options when hmring routes (#30455) 2025-01-04 22:35:36 +00:00
Alexander Lichter
7d96a0fd80
fix(nuxt): respect baseURL when ignoring prerendered manifest (#30446) 2025-01-04 22:35:27 +00:00
Matej Černý
b3ddc31b33
fix(nuxt): use node location instead of range for route meta property extraction (#30447) 2025-01-04 21:14:55 +00:00
Julien Huang
ca6e31c5d6
refactor(nuxt): use consola with nuxt tag instead of console (#30408) 2024-12-29 23:25:29 +00:00
Daniel Roe
2b49c5b936
fix(nuxt): pass nuxt instance to resolvePagesRoutes 2024-12-29 23:18:55 +00:00
Matej Černý
ba764b212f
fix(nuxt): ignore non-reference identifiers when extracting page metadata (#30381) 2024-12-26 22:14:17 +00:00
Matej Černý
5d766bcb98
perf(nuxt): skip experimental async context transform in client build (#30360) 2024-12-25 20:48:01 +00:00
Daniel Roe
dcbe4ec1a1
fix(nuxt): initialise import.meta.hot.data 2024-12-24 23:00:40 +00:00
Julien Huang
0f8740636d
fix(nuxt): treat client useAsyncData calls as async boundaries (#30343) 2024-12-24 14:25:09 +00:00
Julien Huang
5f046a779d
chore: document div wrapper in client-only page (#30359) 2024-12-24 11:55:45 +00:00
Daniel Roe
01b2a780a2
fix(nuxt): do not resolve deep imports for @vitest/
hotfix for https://github.com/vitejs/vite/pull/19016
2024-12-23 16:40:50 +00:00
Julien Huang
af016ea0d6
chore: remove outdated comment (#30324) 2024-12-21 07:18:35 +00:00
Julien Huang
e44c4c3c9c
fix(nuxt): use useId for client-fallback component uid (#30314) 2024-12-20 10:13:46 +00:00
renovate[bot]
784a28df97
chore(deps): update all non-major dependencies (main) (#30298)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-12-19 10:05:18 +00:00
Vuk Marjanovic
03f0d1aec3
fix(nuxt): don't use <RouterLink> for links starting with # (#30190) 2024-12-18 23:39:54 +00:00
renovate[bot]
1f09e69335
chore(deps): update all non-major dependencies (main) (#30280)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-12-18 16:18:33 +00:00
Daniel Roe
7698967fbf
perf(nuxt): use static hashMode option (#30297) 2024-12-18 12:12:11 +00:00
Alexander Lichter
f877823a43
feat(nuxt): add mode: 'navigation' to callOnce (#30260) 2024-12-18 11:41:15 +00:00
Connor Roberts
b4c0f17776
fix(nuxt): respect replace in middleware with navigateTo (#30283) 2024-12-18 10:26:32 +00:00
Matej Černý
59f5a76d51
feat(nuxt): support local functions in definePageMeta (#30241) 2024-12-18 09:42:43 +00:00
Daniel Roe
48e50c030a
fix(nuxt): ensure getRouteRules works with nitro signature (#30277) 2024-12-16 20:51:18 +00:00
renovate[bot]
54b1918a5c
chore(deps): update all non-major dependencies (main) (#30238)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-12-13 17:41:08 +00:00
Daniel Roe
8cb9efa980
fix(nuxt): hoist environment types (#30230) 2024-12-11 17:07:21 +00:00
Daniel Roe
c72cc1ba96
docs: update nitro links + fix link checking (#30228) 2024-12-11 13:58:56 +00:00
Daniel Roe
5f59f30134
fix(nuxt): remove whitespace around spa loading template 2024-12-09 21:32:39 +00:00
Daniel Roe
501ccc3750
refactor(nuxt): use direct import of installNuxtModule 2024-12-09 20:05:45 +00:00
Daniel Roe
d874726ffb
fix(nuxt): guard window access 2024-12-09 15:19:10 +00:00
Nikolay
54f5b9e8a4
fix(nuxt,schema): allow showing spa loader til after hydration (#29776) 2024-12-09 14:09:15 +00:00
Julien Huang
8c956db866
refactor(nuxt): prefix all core modules with nuxt: (#30028) 2024-12-09 12:38:25 +00:00
Daniel Roe
33789bec05
test: add additional attw test for built packages (#30206) 2024-12-09 12:28:48 +00:00
Joaquín Sánchez
f04c6154ed
fix(nuxt): correct types for nuxt and nuxt/app (#30148) 2024-12-09 10:49:39 +00:00
Daniel Roe
bfcf80a12a
fix(nuxt): de-default async layout components (#30203) 2024-12-09 10:45:45 +00:00
Julien Huang
231b7d17c3
fix(nuxt): use useId for island client component teleport id (#30151) 2024-12-09 10:35:37 +00:00