Commit Graph

4721 Commits

Author SHA1 Message Date
tbitw2549
59392c7f7e chore: remove ts-expect-error 2024-09-15 09:20:06 +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
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
Daniel Roe
f7efc3d359
fix(nuxt): set inheritAttrs: false for fragment components (#28939) 2024-09-11 10:26:10 +01:00
renovate[bot]
b32bafd386
chore(deps): update all non-major dependencies (main) (#28937)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-11 10:04:49 +01:00
renovate[bot]
f561bab575
chore(deps): update dependency unplugin to ^1.14.1 (main) (#28931) 2024-09-11 08:52:30 +01:00
Daniel Roe
cea69b6832
fix(nuxt): fall back to original component filePath (#28925) 2024-09-10 22:36:53 +01:00
Daniel Roe
cdc4a23107
fix(nuxt,schema): accept any module in inline modules array (#28922) 2024-09-10 21:16:35 +01:00
renovate[bot]
476d9c4258
chore(deps): update devdependency vue-router to v4.4.4 (main) (#28919)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 20:38:01 +01:00
Daniel Roe
1fec546102
perf(nuxt): remove interop default for dynamic components (#28912) 2024-09-10 14:56:08 +01:00
renovate[bot]
859199d10b
chore(deps): update all non-major dependencies (main) (#28910)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 13:03:03 +01:00
Daniel Roe
06337da6a4
chore: enable noUncheckedSideEffectImports (#28903) 2024-09-09 22:23:30 +01:00
renovate[bot]
3dc1bfcbd3
chore(deps): update all non-major dependencies (main) (#28898)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-09-09 21:19:06 +01:00
Daniel Roe
213ce66c36
fix(nuxt): do not accept attrs on <NuxtErrorBoundary> (#28901) 2024-09-09 20:37:55 +01:00
Daniel Roe
93b5b04e9a
fix(nuxt): ensure we process files in buildDir for unimport (#28899) 2024-09-09 17:23:36 +01:00
Anthony Fu
ada1e49f5a
fix(nuxt): enable injectAtEnd to reduce circular auto-imports (#28822) 2024-09-09 16:30:10 +01:00
renovate[bot]
69d7448980
chore(deps): update all non-major dependencies (main) (#28882)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-09-09 15:44:51 +01:00
Daniel Roe
43d34f4a70
fix(nuxt): log more context of prerendering errors (#28895) 2024-09-09 14:30:11 +01:00
Daniel Roe
d5cf409ddc
fix(nuxt): fix ssr log querySelector (#28864)
Co-authored-by: Julien Huang <julien.huang@outlook.fr>
2024-09-09 10:39:05 +01:00
renovate[bot]
da6e9706fc
chore(deps): update devdependency @nuxt/scripts to v0.8.4 (main) (#28881) 2024-09-07 21:16:58 +02:00
renovate[bot]
8007239f59
chore(deps): update all non-major dependencies (main) (#28870) 2024-09-07 19:22:15 +02:00
renovate[bot]
f552c7a790
chore(deps): update all non-major dependencies (main) (#28863) 2024-09-06 08:54:27 +02:00
Daniel Roe
a39773b1ab
fix(nuxt): improve accuracy of module resolution conditions (#28846) 2024-09-05 22:36:15 +02:00