Commit Graph

4841 Commits

Author SHA1 Message Date
Jelmer
3f3d416769
feat(nuxt): add useResponseHeader composable (#27131) 2024-10-08 17:16:31 +01:00
Daniel Roe
e553032df6
feat(kit,schema): add addServerTemplate utility (#29320) 2024-10-08 15:58:21 +01:00
renovate[bot]
d9b7ac157d
chore(deps): update dependency chokidar to v4 (main) (#29324)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-08 15:57:12 +02:00
Daniel Roe
0cc2890561
fix(nuxt): error on build when required module is missing (#29287) 2024-10-08 14:29:15 +01:00
Daniel Roe
b9f2ce0f42
fix(nuxt): pass absolute external link urls to link:prefetch (#29321) 2024-10-08 14:28:54 +01:00
renovate[bot]
3331994f6a
chore(deps): update all non-major dependencies (main) (#29318)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-08 13:38:21 +02:00
renovate[bot]
5502083ca9
chore(deps): update all non-major dependencies (main) (#29304)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-08 00:58:46 +02:00
renovate[bot]
a87f1ee8d0
chore(deps): update all non-major dependencies (main) (#29299)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-07 17:48:51 +02:00
renovate[bot]
3b533e3f85
chore(deps): update dependency mlly to ^1.7.2 (main) (#29294)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-07 06:49:01 +02:00
renovate[bot]
69e9fb1d57
chore(deps): update all non-major dependencies (main) (#29271)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-06 05:45:42 +01:00
Pooya Parsa
fd5a0a1ff8
chore(deps): update jiti (#29280) 2024-10-05 19:41:35 +01:00
renovate[bot]
db52ee6f5f
chore(deps): update all non-major dependencies (main) (#29265)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-03 17:50:32 +01:00
renovate[bot]
3e0567e423
chore(deps): update dependency jiti to v2.1.1 (main) (#29259)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-03 12:13:01 +01:00
renovate[bot]
2ef0c9fc48
chore(deps): update all non-major dependencies (main) (#29237)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-10-03 10:08:55 +01:00
renovate[bot]
36a3af8392
chore(deps): update vitest to v2.1.2 (main) (#29255)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-02 22:55:23 +01:00
renovate[bot]
e6c527c9db
chore(deps): update all non-major dependencies (main) (#29234)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 08:49:38 +01:00
renovate[bot]
a725d03746
chore(deps): update all non-major dependencies (main) (#29215)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 16:58:19 +01:00
renovate[bot]
0b6edd3566
chore(deps): update devdependency c12 to v2.0.0 (main) (#29213)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-28 22:42:17 +01:00
renovate[bot]
ad2d291f25
chore(deps): update all non-major dependencies (main) (#29208)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-28 14:09:31 +01:00
renovate[bot]
dc2e2c6938
chore(deps): update all non-major dependencies (main) (#29198)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-09-27 19:20:02 +01:00
renovate[bot]
734e36041c
chore(deps): update devdependency @nuxt/scripts to v0.9.4 (main) (#29192)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-27 10:14:39 +01:00
Daniel Roe
781d8c4174
fix(nuxt): use routeRules to hint pages to prerender (#29172) 2024-09-26 17:07:46 +01:00
renovate[bot]
959061fc29
chore(deps): update all non-major dependencies (main) (#29177)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-26 16:31:04 +01:00
renovate[bot]
4bad80c514
chore(deps): update dependency unimport to ^3.13.0 (main) (#29174)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-26 11:30:51 +01:00
renovate[bot]
2c843ce156
chore(deps): update all non-major dependencies (main) (#29170)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-26 07:40:57 +01:00
Daniel Roe
2309cdf225
refactor(nuxt): use addBuildPlugin internally (#29157) 2024-09-25 23:59:59 +01:00
renovate[bot]
77e057ac44
chore(deps): update all non-major dependencies (main) (#29163)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-09-25 23:31:40 +01:00
renovate[bot]
d3b3317c09
chore(deps): update dependency nuxi to v3.14.0 (main) (#29167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 23:29:31 +01:00
renovate[bot]
b487f7373b
chore(deps): update dependency webpack to v5.95.0 (main) (#29159)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 19:41:25 +01:00
Julien Huang
9cb34dd49b
feat(nuxt): normalise component names to match nuxt pattern (#28745) 2024-09-25 13:32:00 +01:00
renovate[bot]
cdf4f91e5e
chore(deps): update all non-major dependencies (main) (#29146)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 09:24:19 +01:00
renovate[bot]
f56c05d39d
chore(deps): update dependency vue-bundle-renderer to v2.1.1 (main) (#29139)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-24 13:31:59 +01:00
Daniel Roe
f825eb54c4
fix(nuxt): add crossorigin attribute for stylesheets (#29138) 2024-09-24 13:03:09 +01:00
renovate[bot]
89db953fc1
chore(deps): update all non-major dependencies (main) (#29131)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 23:26:31 +01:00
renovate[bot]
08fbcf83a0
chore(deps): update dependency @rollup/plugin-replace to v6 (main) (#29125) 2024-09-23 19:25:23 +01:00
renovate[bot]
03193559e6
chore(deps): update devdependency @nuxt/scripts to v0.9.3 (main) (#29124) 2024-09-23 19:25:12 +01:00
renovate[bot]
cc7d154c90
chore(deps): update all non-major dependencies (main) (#29113)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-22 20:59:55 +01:00
Daniel Roe
d3fdbcaac6
fix(kit,vite,webpack): strip node_modules/ from parent urls 2024-09-21 23:12:38 +01:00
Daniel Roe
73accb5ac1
fix(kit,vite,webpack): resolve postcss paths from each modules dir (#29096) 2024-09-21 13:37:49 +01:00
Daniel Roe
097105fb2b
fix(kit): try resolving module path from each node_modules dir 2024-09-21 13:37:48 +01:00
Daniel Roe
33e2d0a5f3
fix(kit): handle passing 'bare' relative paths to modules 2024-09-21 13:37:48 +01:00
renovate[bot]
01e00963bc
chore(deps): update all non-major dependencies (main) (#29101) 2024-09-21 12:10:59 +01:00
renovate[bot]
61b5ef7850
chore(deps): update all non-major dependencies (main) (#29093) 2024-09-21 09:32:18 +01:00
renovate[bot]
e644960794
chore(deps): update devdependency rollup to v4.22.2 (main) (#29090)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-20 12:34:45 +01:00
Damian Głowala
58ae53b402
feat(nuxt,schema): allow setting serialisable vue app config (#28873) 2024-09-19 14:59:50 +01:00
renovate[bot]
95e00dd7ee
chore(deps): update dependency jiti to v2.0.0-rc.1 (main) (#29070)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-19 13:47:16 +01:00
Daniel Roe
f6ecf9a202
fix(nuxt): don't resolve relative import type paths for deps (#29069) 2024-09-19 13:18:28 +01:00
Daniel Roe
b67f13cd6b
fix(nuxt): empty nitro buildDir in dev mode (#29068) 2024-09-19 13:11:30 +01:00
renovate[bot]
5466ac4711
chore(deps): update all non-major dependencies (main) (#29061)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-19 13:11:21 +01:00
Indrek Ardel
be7bb4a67f
fix(vite): don't force protocol if disabled devServer.https (#29049) 2024-09-18 21:53:48 +02:00
renovate[bot]
d6387e22e6
chore(deps): update all non-major dependencies (main) (#29047)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-09-18 21:50:57 +02:00
Daniel Roe
efae3a4f3c
chore: add more checks around indexed access (#29060) 2024-09-18 21:41:53 +02:00
DarkVen0m
2b73e1690c
fix(nuxt): pass DOMException as fetch abort exception (#29058) 2024-09-18 21:21:18 +02:00
Daniel Roe
5faf720b42
fix(nuxt): defer unsetting error handler until suspense resolves (#29037) 2024-09-17 16:57:23 +02:00
Daniel Roe
215ae69192
fix(nuxt): do not resolve non-absolute component paths (#29036) 2024-09-17 16:57:02 +02:00
renovate[bot]
ad78e7e63f
chore(deps): update devdependency ignore to v6.0.2 (main) (#29038) 2024-09-17 16:56:40 +02:00
renovate[bot]
64a70feec2
chore(deps): update all non-major dependencies (main) (#29022)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-09-17 16:01:47 +02:00
renovate[bot]
22563ad048
chore(deps): update devdependency ignore to v6 (main) (#29034)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-17 15:04:29 +02:00
Daniel Roe
27a7ca3c1e
fix(nuxt): access server build from webpack memfs (#29027) 2024-09-16 22:44:39 +02:00
Ezra Ashenafi
68451570df
fix(nuxt): simplify plugin InjectionType template conditional (#29023) 2024-09-16 15:38:04 +02:00
Daniel Roe
4976df6f63
test: add basic assertions for unctx transform 2024-09-16 14:47:58 +02:00
renovate[bot]
e898351a7b
chore(deps): update all non-major dependencies (main) (#29018) 2024-09-16 09:14:04 +01:00
renovate[bot]
06cc974d23
chore(deps): update dependency nuxi to v3.13.2 (main) (#29017)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-15 22:37:39 +01:00
Artem Maslov
644b6fc1e8
fix(nuxt): correct type for useError (#28996) 2024-09-15 21:37:24 +01:00
renovate[bot]
068d4ed677
chore(deps): update dependency ohash to ^1.1.4 (main) (#29014)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-15 21:23:04 +01:00
renovate[bot]
64b60b1c05
chore(deps): update all non-major dependencies (main) (#29012)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-09-15 21:00:51 +01:00
renovate[bot]
fda7280ef6
chore(deps): update all non-major dependencies (main) (#29000) 2024-09-15 20:01:16 +01:00
tbitw2549
cd7cc48ca3 Merge branch 'patch-21' of https://github.com/GalacticHypernova/nuxt into patch-21 2024-09-15 09:20:11 +03:00
tbitw2549
59392c7f7e chore: remove ts-expect-error 2024-09-15 09:20:06 +03:00
Michael Brevard
6c741f7cad
Merge branch 'main' into patch-21 2024-09-15 07:44:08 +03:00
tbitw2549
c0844b902e feat: add hydration emit for callbacks 2024-09-14 21:31:16 +03:00
tbitw2549
373e223268 fix: merge attrs at render
This fixes a reactivity issue and adds an accompanying test case
2024-09-14 20:43:23 +03:00
tbitw2549
70b7739739 fix: remove ref 2024-09-14 18:47:19 +03:00
tbitw2549
c39bad01e2 refactor: use props in stead of attrs 2024-09-14 18:44:25 +03:00
renovate[bot]
162055d0d0
chore(deps): update all non-major dependencies (main) (#28986)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-09-14 13:37:45 +01:00
tbitw2549
fe9b2b96f5 feat: time and promise based delayed hydration 2024-09-14 14:01:50 +03:00
Michael Brevard
86384794e8
Merge branch 'main' into patch-21 2024-09-14 09:11:54 +03:00
renovate[bot]
f7c68ac0f6
chore(deps): update vitest to v2.1.1 (main) (#28987) 2024-09-13 20:53:52 +01:00
renovate[bot]
2466af53b0
chore(deps): update vitest to v2.1.0 (main) (#28961)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-09-13 13:37:04 +01:00
Daniel Roe
79b0cc0c3b
test: switch inline snapshot to object comparison 2024-09-13 12:54:52 +01:00
renovate[bot]
cde1c93ed0
chore(deps): update dependency vite to v5.4.5 (main) (#28978)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-09-13 12:52:41 +01:00
Daniel Roe
be622645e0
fix(nuxt): catch chunk errors directly in navigation 2024-09-13 12:44:43 +01:00
tbitw2549
87cd1048ca Merge branch 'patch-21' of https://github.com/GalacticHypernova/nuxt into patch-21 2024-09-13 12:22:02 +03:00
tbitw2549
311ac8ad93 fix: return imports 2024-09-13 12:21:36 +03:00
Michael Brevard
5cc422b820
Merge branch 'main' into patch-21 2024-09-13 12:11:14 +03:00
tbitw2549
8b95e4e05a chore: fix media post conflict 2024-09-13 12:07:47 +03:00
tbitw2549
a9c76a405c Merge branch 'patch-21' of https://github.com/GalacticHypernova/nuxt into patch-21 2024-09-13 12:07:09 +03:00
tbitw2549
fb6d4a518a refactor: avoid conflicting renders
This refactors SSR handling with the existing approach, given the SSR limitation of establishing rendering separation.

This also simplifies SSR renders using the same data and adds early returns wherever possible to internally minimize delayed hydration dependency
2024-09-13 12:04:49 +03:00
renovate[bot]
944635182a
chore(deps): update devdependency vue-router to v4.4.5 (main) (#28973)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-13 08:43:11 +01:00
renovate[bot]
272db76dca
chore(deps): update all non-major dependencies (main) (#28951) 2024-09-13 08:10:28 +01:00
Daniel Roe
c32834fc2e
chore: type 2024-09-11 21:09:33 +01:00
Daniel Roe
07c7f2ca92
chore: lint 2024-09-11 21:07:25 +01:00
Daniel Roe
889a5642fb
Merge remote-tracking branch 'origin/main' into patch-21 2024-09-11 21:06:10 +01:00
Daniel Roe
bddda5c48e
chore: pin dep + workflow by hash 2024-09-11 16:00:53 +01:00
Daniel Roe
7e2920b2c1
chore: refresh lockfile, use htmlnano + pin workflow deps (#28946) 2024-09-11 15:54:22 +01:00
Daniel Roe
646c1f8b95
fix(nuxt): ensure component imports are injected last (#28944) 2024-09-11 14:12:16 +01:00
Julien Huang
275481c456
fix(nuxt): make runWithContext generic (#28926) 2024-09-11 11:49:35 +01:00
Daniel Roe
5a61bc52f2
fix(nuxt): use case-insensitive regexp for <script> blocks 2024-09-11 11:41:47 +01:00
Daniel Roe
a0ea790b80
fix(kit,nuxt,schema)!: remove other support for nuxt2/bridge (#28936) 2024-09-11 11:02:22 +01:00
Daniel Roe
2f0a28d47e
refactor(nuxt): use vite:preloadError event (#28862) 2024-09-11 11:01:55 +01:00