Commit Graph

3818 Commits

Author SHA1 Message Date
Daniel Roe
2e8c598e4d
fix(nuxt): only check if server page is prerendered on client (#26081) 2024-03-05 10:36:05 +00:00
Oumar Barry
280d30d5e1
fix(schema): disable typescript.shim in favour of volar (#26052) 2024-03-05 10:32:40 +00:00
Daniel Roe
2e1530c6b4
fix(nuxt): pass event to useRuntimeConfig in Nuxt renderer (#26058) 2024-03-04 11:37:24 +00:00
renovate[bot]
75278ca8fb
chore(deps): update all non-major dependencies (main) (#25983)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-03-04 11:28:26 +00:00
Julien Huang
23fbe8513b
perf(nuxt): don't check isPrerendered in dev for server page (#26061) 2024-03-04 10:32:34 +00:00
renovate[bot]
c4a7041d41
chore(deps): update devdependency @vue/language-core to v2 (main) (#26038)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-04 10:32:08 +00:00
Daniel Roe
4fbbc10f62
fix(nuxt): skip vue style blocks in unctx transform (#26059) 2024-03-03 21:36:12 +00:00
Francesco Scutellaro
2d3f495a7f
docs: improve pick and transform doc (#26043) 2024-03-02 14:08:42 +01:00
renovate[bot]
fa79b86d4a
chore(deps): pin devdependency @vue/language-core to 1.8.27 (main) (#25980) 2024-02-27 20:06:52 +01:00
Andrea Basile
3258cacc28
fix(schema): add vueCompilerOptions property to tsConfig (#25924) 2024-02-27 16:31:46 +01:00
Alexander Lichter
15a4a080ac
fix(nuxt): produce valid css selector from useId (#25969) 2024-02-27 10:57:26 +00:00
Mehmet
40c3a3918e
fix(nuxt): don't try to strip directory file extensions (#25965) 2024-02-27 09:11:27 +00:00
Daniel Roe
08b656a047 fix(kit): don't warn if middleware is added twice 2024-02-26 21:22:10 +00:00
Julien Huang
196223c0fb
feat(nuxt): server-only pages (#24954) 2024-02-26 17:39:26 +00:00
renovate[bot]
c05239901a
chore(deps): update all non-major dependencies (main) (#25947)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-02-26 17:33:54 +00:00
Damian Głowala
12503658ed
fix(nuxt): align error in showError/createError with h3 (#25945) 2024-02-26 16:31:35 +00:00
Michael Brevard
ff1bb56e3f
perf: early return chained functions with falsy values (#25647) 2024-02-26 16:08:45 +00:00
renovate[bot]
88eff08a0f
chore(deps): update all non-major dependencies (main) (#25939)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-25 09:54:45 +00:00
renovate[bot]
39a04ebcd9
chore(deps): update all non-major dependencies (main) (#25935)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-24 10:11:43 +00:00
Daniel Roe
5e5e96992c
chore: use consistent quotes/semi 2024-02-23 14:08:01 +00:00
renovate[bot]
db32d83698
chore(deps): update all non-major dependencies (main) (#25922)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-23 12:46:11 +00:00
Daniel Roe
7815aa534e
fix(kit): widen pattern to .config/nuxt.* 2024-02-22 18:15:44 +00:00
Daniel Roe
5440ececed
fix(kit): apply nuxt types to .config/nuxt.config
resolves https://github.com/nuxt/nuxt/issues/25918
2024-02-22 16:31:20 +00:00
github-actions[bot]
aaad992433
v3.10.3 2024-02-22 13:56:09 +00:00
renovate[bot]
30695bdb48
chore(deps): update all non-major dependencies (main) (#25862)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-02-22 13:12:00 +00:00
Daniel Roe
4ca1ab7cfb
fix(nuxt): set to.name to be undefined rather than deleting entirely 2024-02-22 12:46:13 +00:00
Daniel Roe
ba6a4132bb
fix(nuxt): handle undefined paths in resolveTrailingSlashBehavior 2024-02-22 12:04:26 +00:00
Daniel Roe
3fc4231d33
chore(nuxt): use Exclude rather than Omit 2024-02-22 12:04:26 +00:00
Mateusz Kulpa
b5981f6840
fix(nuxt): add missing type for head in defineNuxtComponent (#25410) 2024-02-22 11:11:44 +00:00
Jonathan Walters
0152cf48eb
fix(nuxt): use setTimeout before scrolling when navigating (#25817) 2024-02-22 11:09:51 +00:00
Julien Huang
b2729911b1
fix(nuxt): mark internal island components with @__PURE__ (#25842) 2024-02-21 21:20:55 +00:00
Damian Głowala
f2d891cae9
fix(nuxt): pass external to navigate in custom <NuxtLink> (#25887) 2024-02-21 21:20:13 +00:00
renovate[bot]
ec5d254f41
chore(deps): update vitest to v1.3.1 (main) (#25881) 2024-02-20 19:23:38 +00:00
Daniel Roe
d326e054d3
chore: unpin vite version 🙈 2024-02-19 19:13:37 +00:00
renovate[bot]
d843a48453
chore(deps): update all non-major dependencies (main) (#25846)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-19 10:36:00 +00:00
renovate[bot]
b798e14414
chore(deps): update dependency memfs to ^4.7.1 (main) (#25834)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-16 21:37:20 +00:00
renovate[bot]
3b9a8eeb5c
chore(deps): update vitest to v1.3.0 (main) (#25835)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-16 21:36:46 +00:00
OnlyWick
e817655c14
fix(nuxt): in dev, don't link css files with ?inline query (#25822) 2024-02-16 17:04:37 +00:00
Michał Zarach
06352e350d
fix(nuxt): bypass browser cache when fetching app build id (#25813) 2024-02-16 17:03:42 +00:00
renovate[bot]
4fd4f95d48
chore(deps): update all non-major dependencies (main) (#25811)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-16 16:45:44 +00:00
Miha Sedej
3d5c845cb2
fix(nuxt): respect dedupe option in useFetch (#25815) 2024-02-16 12:14:45 +00:00
renovate[bot]
1901cb1c68
chore(deps): update all non-major dependencies (main) (#25801)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-15 09:19:51 +00:00
renovate[bot]
d0f5f16530
chore(deps): update dependency nuxi to v3.10.1 (main) (#25793)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-15 09:19:23 +00:00
renovate[bot]
6d1419477f
chore(deps): update all non-major dependencies (main) (#25790)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-14 18:26:03 +00:00
github-actions[bot]
ceebcde366
v3.10.2 2024-02-14 13:00:10 +00:00
Daniel Roe
363bb57b63
fix(kit): don't mutate existing component entry when overriding (#25786) 2024-02-14 11:48:25 +00:00
renovate[bot]
0c694eee86
chore(deps): update all non-major dependencies (main) (#25728)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-02-13 23:20:12 +00:00
Daniel Roe
a1c1fda006
fix(nuxt): only warn for useId if attrs were not rendered (#25770) 2024-02-13 12:13:31 +00:00
Daniel Roe
37d24eed7d
fix(schema): use rootDir, not process.cwd, for modulesDir (#25766) 2024-02-13 11:19:25 +00:00
Daniel Roe
29b338f8aa
fix(nuxt): don't add extra baseURL on server useRequestURL (#25765) 2024-02-13 10:30:39 +00:00
Daniel Roe
f0a7ccd588
fix(vite): optimise layer dependencies with vite (#25752) 2024-02-13 09:54:13 +00:00
Daniel Roe
795050e68c
fix(nuxt): inline entry styles before component styles (#25749) 2024-02-13 09:53:56 +00:00
Daniel Roe
3ac8b18cb6
fix(vite): strip query strings for style chunk filenames (#25764) 2024-02-13 09:53:46 +00:00
renovate[bot]
18063b251c
chore(deps): update dependency @vitejs/plugin-vue to v5.0.4 (main) (#25726)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-09 23:59:45 +00:00
renovate[bot]
eb1593ceba
chore(deps): update all non-major dependencies (main) (#25682)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-02-09 22:59:41 +00:00
Daniel Roe
fd671a27ea
fix(nuxt): don't check for layout/page with <ClientOnly> (#25714) 2024-02-09 20:33:35 +00:00
Aman Desai
ae83df8c43
fix(vite): treat .pcss extension as a CSS extension (#25673) 2024-02-07 10:00:30 +00:00
Daniel Roe
4f3391fc0a
fix(nuxt): remove undefined keys in route object (#25667) 2024-02-07 10:00:19 +00:00
renovate[bot]
f28a468507
chore(deps): update all non-major dependencies (main) (#25670)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 09:59:54 +00:00
Daniel Roe
25f1787922
fix(nuxt): allow prefetching urls with query string (#25658) 2024-02-07 09:28:47 +00:00
renovate[bot]
44b66f2a1b
chore(deps): update all non-major dependencies (main) (#25648)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-02-06 16:03:26 +00:00
renovate[bot]
cd0244bdee
chore(deps): update all non-major dependencies (main) (#25639)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-05 22:09:29 +00:00
Žan Fras
8966e20498
chore(schema): add missing closing code block (#25641) 2024-02-05 20:26:10 +00:00
Hendrik Heil
9af0e35ffc
fix(nuxt): export refreshCookie (#25635) 2024-02-05 20:25:11 +00:00
github-actions[bot]
460e0cfebd
v3.10.1 2024-02-05 16:48:47 +00:00
Daniel Roe
c5d5932f57
chore(nuxt): rename nuxt -> nuxtApp internally for consistency 2024-02-05 12:02:41 +00:00
Daniel Roe
9dfc0c2c31
fix(nuxt): don't check page/layout usage when redirecting (#25628) 2024-02-05 11:57:49 +00:00
Daniel Roe
e33cec9580
chore: use pathe in internal tests 2024-02-05 11:24:39 +00:00
Julien Huang
7dd0225007
fix(nuxt): fetch non-server rendered islands when hydrating (#25613) 2024-02-05 10:36:20 +00:00
Daniel Roe
8705aed8b4
fix(nuxt): warn if inheritAttrs: false when using useId (#25616) 2024-02-05 10:30:59 +00:00
Harlan Wilton
b78e1cb206
fix(nuxt): don't set default rel for same-site external links (#25600) 2024-02-04 22:21:39 +00:00
Daniel Roe
82173ad1a9
fix(nuxt): remove $ from generated id in useId (#25615) 2024-02-04 22:13:17 +00:00
Daniel Roe
e8d1219886
fix(nuxt): remove key from useId type signature (#25614) 2024-02-04 22:11:53 +00:00
Bobbie Goede
3e5560ed42
perf(nuxt): clear route meta build cache when pages change (#25514) 2024-02-04 21:27:32 +00:00
Harlan Wilton
365eaba229
refactor(nuxt): improve NuxtLink types (#25599) 2024-02-04 20:51:30 +00:00
Ryan Clements
21d6dcef5d
fix(nuxt): generate typed route declarations when building (#25593) 2024-02-03 23:16:42 +00:00
Enkot
876d910c3f
fix(nuxt): broadcast cookie change in correct format (#25598) 2024-02-03 23:15:26 +00:00
Ted de Koning
be7d43034b
fix(nuxt): correct return type of refresh functions (#25568) 2024-02-02 14:40:07 +00:00
Troy Ciesco
ced401abb7
fix(schema): correctly set value for app.viewTransition (#25581) 2024-02-02 14:38:42 +00:00
renovate[bot]
95d475535a
chore(deps): update all non-major dependencies (main) (#25576) 2024-02-02 14:37:28 +00:00
Julien Huang
10f2356ab4
fix(nuxt): only request animation frame on client (#25569) 2024-02-01 18:14:11 +00:00
renovate[bot]
2364aabe93
chore(deps): update all non-major dependencies (main) (#25545)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-01 11:51:51 +00:00
renovate[bot]
4fe5b4e02b
chore(deps): update dependency vite-plugin-checker to ^0.6.3 (main) (#25538)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-31 17:50:13 +00:00
renovate[bot]
d7226f5ad0
chore(deps): update all non-major dependencies (main) (#25517)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-31 13:28:17 +00:00
Bobbie Goede
50d69bff3a
fix(nuxt): fix syntax error when serializing route meta (#25515) 2024-01-31 09:54:01 +00:00
github-actions[bot]
da3c502f08
v3.10.0 2024-01-30 15:25:00 +00:00
Daniel Roe
f1fe97fc8a
fix(nuxt): prioritise later items in pages:routerOptions hook (#25509) 2024-01-30 13:55:18 +00:00
Daniel Roe
b96fe1ecec
chore: remove extra 'not' in warning message 2024-01-30 13:17:13 +00:00
Якин Никита
658a0ffed7
feat(nuxt): useId composable (#23368)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Sébastien Chopin <seb@nuxt.com>
2024-01-30 09:10:13 +00:00
Daniel Roe
b0f50bec1b docs: remove unnecessary warning on sharedPrerenderData 2024-01-29 20:22:23 +00:00
renovate[bot]
7d65769496
chore(deps): update all non-major dependencies (main) (#25342)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-29 16:53:25 +00:00
Nozomu Ikuta
0d91e52211
chore(nuxt): warn if NuxtPage is not used when pages enabled (#25490) 2024-01-29 16:52:03 +00:00
Daniel Roe
407fde6765
feat(nuxt): experimentally extract route metadata at build time (#25210)
Co-authored-by: Bobbie Goede <bobbiegoede@gmail.com>
2024-01-29 16:44:54 +00:00
Ivan Kalachikov
90ca0e8797
feat(nuxt): slow down loading indicator when approaching 100% (#25119) 2024-01-29 16:19:32 +00:00
Daniel Roe
ecc4c8e0c5
fix(nuxt): prevent initial scroll jump when loading page (#25483) 2024-01-29 13:56:23 +00:00
Horváth Bálint
995acd9983
feat(nuxt): allow controlling view transitions in page meta (#25264) 2024-01-29 12:23:51 +00:00
kevin olson
f40e5dcc8b
fix(nuxt): match nitro + nuxt useRuntimeConfig signatures (#25440) 2024-01-29 11:49:29 +00:00
Daniel Roe
73421483f6
fix(nuxt): improve return type of useRequestEvent (#25480) 2024-01-29 11:48:35 +00:00
Michael Brevard
860cfe16b3
perf(vite): avoid endsWith when checking for whitespace (#24746) 2024-01-29 11:11:06 +00:00
Daniel Roe
b5853c977e
fix(nuxt): avoid vue-router warning with routeRule redirect (#25391) 2024-01-29 11:07:52 +00:00