Commit Graph

5071 Commits

Author SHA1 Message Date
renovate[bot]
20c07ab62a
chore(deps): update all non-major dependencies (main) (#31185)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-04 10:59:23 +00:00
Daniel Roe
ed22319cd0
fix(nuxt): provide default extensions in resolveTypePath 2025-03-02 22:23:11 +00:00
Daniel Roe
d93029b911
fix(kit): provide default extensions in resolveModule 2025-03-02 22:23:11 +00:00
Daniel Roe
adfa1e699d
fix(nuxt): add back fallback nuxtlink type signature 2025-03-02 22:23:11 +00:00
renovate[bot]
a8333336f7
chore(deps): update all non-major dependencies (main) (#31181)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-02 20:40:29 +00:00
Daniel Roe
c38ce0e0d9
fix(ui-templates): escape inline scripts correctly in ui templates 2025-03-02 19:34:24 +00:00
Daniel Roe
dfc66beeff
feat(nuxt): use oxc-parser instead of esbuild + acorn (#30066) 2025-03-02 08:36:54 +00:00
Daniel Roe
76e51626b4
fix(nuxt): add backwards-compatible serialisation for nuxt.options.pages 2025-03-02 08:32:36 +00:00
renovate[bot]
34901e6557
chore(deps): update dependency ohash to ^2.0.8 (main) (#31179)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-01 21:24:43 +00:00
Daniel Roe
106e4fd55f
fix(nuxt): do not render payloads if disabled, and correct regexp (#31167) 2025-03-01 14:55:19 +00:00
renovate[bot]
c4fb9ced03
chore(deps): update dependency pkg-types to v2 (main) (#31122) 2025-03-01 14:46:54 +00:00
renovate[bot]
025b01a041
chore(deps): update all non-major dependencies (main) (#31173)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-01 14:08:25 +00:00
Daniel Roe
66f19ccf41
perf(kit): skip extra module resolution step in loadNuxt (#31176) 2025-03-01 12:45:17 +00:00
Daniel Roe
594286f258
feat(kit,nuxt): resolve template imports from originating module (#31175) 2025-03-01 12:37:06 +00:00
Daniel Roe
98b8c9371f
test: benchmark minimal fixture instead (#31174) 2025-03-01 10:51:31 +00:00
renovate[bot]
25f50df0f1
chore(deps): update devdependency rollup to v4.34.9 (main) (#31171)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-01 10:01:39 +00:00
Daniel Roe
b0db03a406
feat(kit,nuxt): augment nitro types with addTypeTemplate (#31079) 2025-03-01 08:11:23 +00:00
Julien Huang
cc518382db
fix(nuxt): show error page on island page error (#31081) 2025-03-01 07:40:12 +00:00
xjccc
c398ce2817
feat(nuxt): show source file when warning about undefined useAsyncData (#31144) 2025-03-01 06:40:10 +00:00
Daniel Roe
0a69213358
fix(nuxt): align type of custom navigate with vue-router 2025-03-01 00:40:14 +00:00
renovate[bot]
88b119a27f
chore(deps): pin devdependency @vitejs/plugin-vue-jsx to 4.1.1 (main) (#31166)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-28 23:30:18 +00:00
Daniel Roe
488dfc1f20
feat(vite): add vite's modulepreload polyfill (#31164) 2025-02-28 23:20:14 +00:00
Michael Brevard
281a931a0a
feat(nuxt): delayed/lazy hydration support (#26468)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-02-28 23:19:17 +00:00
renovate[bot]
5ad1e20ee4
chore(deps): update all non-major dependencies (main) (#31162)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-28 21:17:53 +00:00
renovate[bot]
7e2f96d4cd
chore(deps): update all non-major dependencies (main) (#31151)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-28 10:00:07 +00:00
renovate[bot]
445a0635ac
chore(deps): update dependency cookie-es to v2 (main) (#31157) 2025-02-28 07:12:12 +00:00
Julien Huang
d337a78755
fix(nuxt): warn when definePageMeta does not receive an object (#31156) 2025-02-27 22:19:04 +00:00
Julien Huang
1baf3ebad6
refactor(nuxt): re-organize internal runtime/nitro files (#31131) 2025-02-27 21:24:54 +00:00
renovate[bot]
563d449010
chore(deps): update all non-major dependencies (main) (#31140)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-27 09:56:56 +00:00
renovate[bot]
3464a3ee0e
chore(deps): update dependency exsolve to v1 (main) (#31141)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-27 09:56:28 +00:00
Maik Kowol
f4b5538474
feat(nuxt): add types for default NuxtLink slot (#31104) 2025-02-27 09:55:36 +00:00
renovate[bot]
2e0951a002
chore(deps): update all non-major dependencies (main) (#31134)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-26 20:24:16 +00:00
renovate[bot]
2b4bcf4ec9
chore(deps): update devdependency untyped to v2 (main) (#31135)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-26 17:14:03 +00:00
Daniel Roe
6399c48e55
test: add benchmark for vite client build (#31118) 2025-02-26 17:06:45 +00:00
Daniel Roe
798f050bc7
perf(nuxt): migrate to use exsolve for module resolution (#31124) 2025-02-26 17:02:04 +00:00
renovate[bot]
241e04081b
chore(deps): update devdependency c12 to v3 (main) (#31129)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-26 10:50:38 +00:00
Alex Liu
4ed14d13b0
refactor(nuxt): update to noScripts route rule (#31083) 2025-02-26 09:35:37 +00:00
renovate[bot]
a2cd88b718
chore(deps): update all non-major dependencies (main) (#31127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-26 08:33:37 +00:00
renovate[bot]
10b17db9ff
chore(deps): update all non-major dependencies (main) (#31117)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-25 14:16:10 +00:00
renovate[bot]
a093c1c2cc
chore(deps): update all non-major dependencies (main) (#31107)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-02-25 12:04:55 +00:00
Daniel Roe
88e624561d
refactor(nuxt): use isEqual from ohash/utils 2025-02-25 09:35:46 +00:00
renovate[bot]
f2bef7c278
chore(deps): update dependency ohash to v2 (main) (#31049)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-02-25 08:39:09 +00:00
renovate[bot]
37d57f5d53
chore(deps): update all non-major dependencies (main) (#31060)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-02-24 21:58:08 +00:00
Bobbie Goede
cb80715c1a
fix(nuxt): set nuxt.options.pages to detected configuration (#31101) 2025-02-24 21:17:19 +00:00
renovate[bot]
69c740383c
chore(deps): update vitest to v3.0.7 (main) (#31105)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 20:41:04 +00:00
Daniel Roe
74ffa8db80
feat(nuxt): allow specifying glob patterns for scanning pages/ (#31090) 2025-02-24 10:44:55 +00:00
Julien Huang
35df23f41f
refactor(nuxt): early return island response (#31094) 2025-02-24 10:43:38 +00:00
Harlan Wilton
c31a8f2e8e
perf(kit): try non-subpath routes first to resolve nuxt modules (#31037) 2025-02-24 10:35:30 +00:00
Daniel Roe
68348cde1d
fix(kit,schema): set esbuild target for experimental decorators (#31089) 2025-02-23 16:48:52 +00:00
Clayton Chew
d1733365f8
fix(nuxt,schema): resolve shared dir from config (#31091) 2025-02-23 09:31:39 +00:00
Daniel Roe
ed3b9815cd
perf(nuxt): remove duplicated nitro alias resolution (#31088) 2025-02-22 22:17:50 +00:00
Daniel Roe
55e794dd80
fix(nuxt): use ohash to calculate legacy async data key without hash (#31087) 2025-02-22 21:04:41 +00:00
renovate[bot]
83632f75f1
chore(deps): pin devdependency rollup-plugin-visualizer to 5.14.0 (main) (#31078)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-21 22:31:21 +00:00
renovate[bot]
a00b89a93c
chore(deps): update devdependency @types/rollup-plugin-visualizer to v5 (main) (#31075)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-02-21 22:08:57 +00:00
Sébastien Chopin
bfe7d3f82e
fix(nuxt): use _ for NuxtIsland name on server pages (#31072) 2025-02-21 20:07:55 +00:00
Vahagn Zaqaryan
717417535d
fix(nuxt): decode URI components in cache driver methods (#30973) 2025-02-20 16:13:52 +00:00
renovate[bot]
7eb4c73030
chore(deps): update dependency vite-plugin-checker to ^0.9.0 (main) (#31056)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-20 15:49:47 +00:00
Alex Liu
b65dfbc98e
fix(nuxt): ensure provide / inject work in setup of defineNuxtComponent (#30982) 2025-02-20 15:20:32 +00:00
Jonas Thelemann
6d9ddff209
fix(nuxt): deprioritise layer css imports (#31020) 2025-02-20 15:16:27 +00:00
renovate[bot]
af53d9a120
chore(deps): update dependency @nuxt/cli to v3.22.2 (main) (#31054)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-20 14:50:37 +00:00
Daniel Roe
680e4ed86f
fix(ui-templates): remove extra <pre> when rendering dev errors 2025-02-20 12:54:29 +00:00
Harlan Wilton
5fa257ad81
fix(kit): expose module dependency errors (#31035) 2025-02-20 12:44:13 +00:00
renovate[bot]
15cf4d7466
chore(deps): update vitest to v3.0.6 (main) (#31027)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-20 10:56:05 +00:00
renovate[bot]
e9cf5704f0
chore(deps): update all non-major dependencies (main) (#31048)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-20 10:42:59 +00:00
Daniel Roe
47427adff9
test: slightly improve coverage 2025-02-20 10:05:57 +00:00
renovate[bot]
3890b7d0c7
chore(deps): update all non-major dependencies (main) (#31023)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-19 20:55:59 +00:00
Alex Liu
3b4c756627
fix: remove unimplemented page:transition:start type (#31040) 2025-02-19 20:43:26 +00:00
renovate[bot]
160efe7a7f
chore(deps): update unocss monorepo to v66 (main) (major) (#31021)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-18 11:13:44 +01:00
renovate[bot]
323745d0d4
chore(deps): update all non-major dependencies (main) (#30983)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-18 10:36:58 +01:00
Ryota Watanabe
b0729241bc
fix(nuxt): use tsx loader for jsx blocks as well (#31014) 2025-02-17 19:14:12 +01:00
Alex Liu
0f0a822208
refactor(nuxt): prefer logical assignment operators (#31004) 2025-02-16 13:31:49 +00:00
renovate[bot]
653d7862e3
chore(deps): update dependency webpack to v5.98.0 (main) (#30981)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-14 20:07:41 +01:00
xjccc
4881259d41
feat(nuxt): allow forcing start/set in loading indicator (#30989) 2025-02-14 19:01:26 +00:00
Alex Liu
4fdaffb9ef
chore: use logical or assignment (#30992) 2025-02-14 19:00:00 +00:00
Daniel Roe
ab1f21b481
feat(kit,nuxt,vite): directoryToURL to normalise paths (#30986) 2025-02-14 12:14:28 +01:00
Connor Pearson
7393c255c3
fix(kit): ensure nuxt is loaded from cwd rather than parent dir (#30910) 2025-02-13 22:47:39 +00:00
renovate[bot]
bcecb7ef50
chore(deps): update all non-major dependencies (main) (#30972)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-13 22:21:14 +01:00
Daniel Roe
f56e29fb1c
fix(nuxt): make shared/ directories available within layers (#30843) 2025-02-12 10:26:21 +00:00
Typed SIGTERM
ae679d4faa
fix(schema): check if app.head.meta values are undefined (#30959) 2025-02-12 08:49:36 +00:00
renovate[bot]
641542e2a2
chore(deps): update all non-major dependencies (main) (#30956)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-12 08:46:18 +00:00
Daniel Roe
5aca9e63c1
feat(kit): add named layer aliases (#30948) 2025-02-11 20:58:42 +00:00
renovate[bot]
b391f8f03a
chore(deps): update all non-major dependencies (main) (#30952) 2025-02-11 19:14:16 +00:00
Julien Huang
d526fb1839
feat(kit,nuxt): allow multiple nuxts to run in one process (#30510) 2025-02-11 15:38:55 +00:00
renovate[bot]
8aa861389c
chore(deps): update all non-major dependencies (main) (#30946)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-02-11 15:02:39 +00:00
Daniel Roe
4992de433e
fix(schema): return null from resolve functions 2025-02-11 11:10:15 +00:00
renovate[bot]
fd22cfd651
chore(deps): update all non-major dependencies (main) (#30942)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-11 09:24:34 +00:00
Daniel Roe
3a9e0b7144
docs: clarify that local layers are scanned from rootDir
resolves https://github.com/nuxt/nuxt/issues/30925
2025-02-10 21:36:43 +00:00
Daniel Roe
433a7e4495
feat(kit,nuxt,schema): support experimental decorators syntax (#27672) 2025-02-10 19:16:36 +00:00
Damian Głowala
fc52ff8c08
fix(nuxt): delete existing properties in app config HMR (#30918) 2025-02-10 17:10:10 +00:00
Daniel Roe
72d524b25e
fix(vite): use resolveId from vite-node to resolve deps (#30922) 2025-02-10 16:40:15 +00:00
Daniel Roe
1cf9bd36d2
feat(schema): add runtime + internal type validation (#30844) 2025-02-10 16:28:05 +00:00
Daniel Roe
fdd22127e5
test: update unit test 2025-02-10 13:30:01 +00:00
renovate[bot]
c952e109d0
chore(deps): update devdependency prettier to v3.5.0 (main) (#30927)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-02-10 10:15:37 +00:00
Daniel Roe
c7212f7617
test: prepare environment to ensure more reproducible dev tests 2025-02-10 10:14:07 +00:00
Ryota Watanabe
5752b1519e
feat(nuxt): allow disabling auto-imported polyfills (#30332) 2025-02-09 06:48:37 +00:00
renovate[bot]
ca331c2aec
chore(deps): update all non-major dependencies (main) (#30915)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-08 21:23:45 +00:00
renovate[bot]
ebd5b5659b
chore(deps): update all non-major dependencies (main) (#30907)
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:29 +00:00
renovate[bot]
66f8a8ff0f
chore(deps): update all non-major dependencies (main) (#30897)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2025-02-07 12:01:17 +00:00
Julien Huang
ab08b18175
fix(nuxt): remove div wrapper in client-only pages (#30425) 2025-02-06 21:57:17 +00:00
Anthony Fu
090bc6d7da
feat(nuxt): support tracking changes to nuxt options by modules (#30555) 2025-02-06 21:56:58 +00:00