Commit Graph

7134 Commits

Author SHA1 Message Date
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
Daniel Roe
9aa4c7c3b1
chore: add back nuxi
This reverts commit f0ec342983.
2025-01-11 21:26:17 +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
b65880a60b Merge remote-tracking branch 'origin/main' into feat/nuxt_async_context 2025-01-11 21:54:07 +01: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
8618a33186 Merge branch 'feat/nuxt_async_context' of https://github.com/nuxt/nuxt into feat/nuxt_async_context 2025-01-11 21:36:45 +01:00
Julien Huang
f5be4bbd5a refactor: globalNuxtCtx renamed to nuxtCtx 2025-01-11 21:36:15 +01:00
Alex Liu
f357622fec
docs: add status detail and enhance getCachedData readability (#30536) 2025-01-11 19:54:43 +00:00
Daniel Roe
650b83f3ab
docs: update link to @nuxt/module-builder source 2025-01-11 17:23:37 +00:00
renovate[bot]
74403021f6
chore(deps): update all non-major dependencies (main) (#30534)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-11 17:17:35 +00:00
Daniel Roe
f0ec342983
chore: remove extra dep 2025-01-11 17:16:51 +00:00
autofix-ci[bot]
6f4defbad9
[autofix.ci] apply automated fixes 2025-01-11 16:55:06 +00: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
Alex Liu
7dba33500b
docs: ensure correct type for url in useFetch (#30531) 2025-01-10 17:47:12 +00:00
Daniel Roe
b5beffc119
perf(nuxt): use lighter @nuxt/cli dependency (#30526) 2025-01-10 17:09:51 +00:00
renovate[bot]
87fdcbee1b
chore(deps): update actions/upload-artifact action to v4.6.0 (main) (#30528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 16:46:47 +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]
27c78381c6
chore(deps): update node.js to 99981c3 (main) (#30502)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 14:38:20 +01:00
renovate[bot]
a4c2873f26
chore(deps): update devdependency eslint-typegen to v1 (main) (#30508)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 14:38:17 +01: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ý
842531d2e5
docs: update v4 release date (#30514) 2025-01-09 21:36:07 +01: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
a6212c0935 fix: update to nightly 3 nightly 2025-01-09 15:41:15 +01:00
Julien Huang
686d06cac8 install nitropack latest 2025-01-09 15:05:31 +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
renovate[bot]
41cdaf6702
chore(deps): update node.js to 1f09742 (main) (#30494)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 10:38:14 +00:00
Daniel Roe
4c66a7994d
chore: control dependency import into nuxt/app 2025-01-07 08:00:32 +00: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
Clément Ollivier
728b7e1c25
docs: document the add layer command (#30476) 2025-01-06 16:27:39 +00:00
Clément Ollivier
88c9f64ec6
docs: document --dev option for the module command (#30477) 2025-01-06 16:27:27 +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
2438130f6b
test: update bundle size 2025-01-05 12:12:07 +00:00
Daniel Roe
660f172030
test: add minimal pages fixture (#30457) 2025-01-05 00:34:55 +00:00
Daniel Roe
7f49b6d573
perf(nuxt): drop pathe browser dep for deep server components (#30456) 2025-01-05 00:28:48 +00:00
Anders Bootsmann Larsen
7a5fd9b5f2
docs: add warning about prerendering (#30437) 2025-01-04 22:40:34 +00:00
Daniel Roe
aef96ae88d
fix(nuxt): respect router.options when hmring routes (#30455) 2025-01-04 22:35:36 +00:00