Commit Graph

4847 Commits

Author SHA1 Message Date
Julien Huang
6dcb8b7c70 test: improve test 2025-01-12 00:55:13 +01:00
Julien Huang
cbdbd6d9ef fix: imports 2025-01-12 00:53:40 +01:00
Julien Huang
78649f6662 fix: correctly set context when creating nuxt and provide an internal run fn and wrap callhooks 2025-01-12 00:50:07 +01:00
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
182628ad7d chore: fix JSDoc 2025-01-11 21:51:42 +01: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
renovate[bot]
73d6afebe1
chore(deps): update dependency memfs to v4.17.0 (main) (#30515)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 14:38:15 +01:00
Saeid Zareie
47f94cf5b5
fix(kit): reorder #build to the end of tsConfig paths (#30520) 2025-01-10 13:37:45 +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
ef4f7f5b88 fix: missing export 2025-01-09 15:43:50 +01: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
renovate[bot]
18fb960ba4
chore(deps): update all non-major dependencies (main) (#30462)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-01-06 11:57:58 +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
Daniel Roe
4afa905240
fix(schema): override vueCompilerOptions.plugins type (#30454) 2025-01-04 22:30:01 +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]
61ddea167b
chore(deps): update dependency memfs to v4.15.3 (main) (#30422)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 12:34:23 +00:00
Connor Roberts
64287dbd5c
fix(schema): support pfx certificate for dev server (#30412) 2025-01-02 12:17:19 +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
Daniel Roe
c1b8b921f1
perf(rspack,webpack): drop lodash-es dependency (#30409) 2024-12-30 19:38:22 +00:00
Daniel Roe
f0ce20388d
perf(schema): drop unneeded type-only schema dependencies (#30411) 2024-12-30 00:12:01 +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
Daniel Roe
e70ef00e55
docs: update references to lodash and recommend es-toolkit 2024-12-29 23:09:42 +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
renovate[bot]
45de2bf90f
chore(deps): update all non-major dependencies to v0.65.3 (main) (#30365)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-26 01:06:20 +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