Commit Graph

2239 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
c318bcc9a2 test: assert warn is not called to make sure nuxtCtx isn't called 2025-01-11 21:51:25 +01: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
renovate[bot]
816d53cc7f
chore(deps): update all non-major dependencies (main) (#30486)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-01-10 15:18:03 +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
renovate[bot]
5ba98e8cdb
chore(deps): update dependency @nuxt/telemetry to ^2.6.4 (main) (#30474)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-06 21:10:38 +00:00
renovate[bot]
8264ab501e
chore(deps): update dependency nuxi to v3.18.2 (main) (#30472)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-06 16:01:52 +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
renovate[bot]
dd997aa1ea
chore(deps): update all non-major dependencies (main) (#30440)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-04 20:04:51 +00:00
renovate[bot]
e3764bbc96
chore(deps): update dependency pathe to v2 (main) (#30448)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-04 19:40:30 +00:00
renovate[bot]
7328f05386
chore(deps): update all non-major dependencies (main) (#30414)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-01 23:20:19 +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
renovate[bot]
100eaa348d
chore(deps): update all non-major dependencies (main) (#30397)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-29 13:11:18 +00:00
renovate[bot]
15c74bbc3c
chore(deps): update all non-major dependencies (main) (#30391)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-27 14:13:47 +00:00
renovate[bot]
131ebe9418
chore(deps): update all non-major dependencies (main) (#30375)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-26 22:23:16 +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
renovate[bot]
8cad9ccae0
chore(deps): update dependency nuxi to v3.17.2 (main) (#30352)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-23 23:15:13 +00:00
renovate[bot]
0d4718c7f8
chore(deps): update all non-major dependencies (main) (#30347) 2024-12-23 19:42:38 +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
renovate[bot]
26a181842d
chore(deps): update devdependency ignore to v7 (main) (#30341)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-23 16:09:12 +00:00
Julien Huang
af016ea0d6
chore: remove outdated comment (#30324) 2024-12-21 07:18:35 +00:00
renovate[bot]
d3518464ac
chore(deps): update all non-major dependencies (main) (#30306)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-12-20 11:12:33 +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
renovate[bot]
dca1a965bf
chore(deps): update dependency nuxi to v3.17.0 (main) (#30300)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 07:56:31 +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