Commit Graph

664 Commits

Author SHA1 Message Date
Damian Głowala 02d6838293
feat(nuxt): add `clear` utility to `useAsyncData`/`useFetch` (#26259) 2024-03-16 17:19:44 -07:00
Daniel Roe 87c0678f99
fix(nuxt): provide appMiddleware types with universal router 2024-03-16 15:12:49 -07:00
Daniel Roe 70669012fb
test: add type test for appMiddleware route rules 2024-03-16 15:07:08 -07:00
Daniel Roe cac7454702
refactor(nuxt): rename `nuxtMiddleware` to `appMiddleware` 2024-03-16 15:03:09 -07:00
Daniel Roe 0fc363a4f5
chore: tidy dependencies 2024-03-16 14:58:36 -07:00
Daniel Roe d981c056d1
test: use function assertion for second scrollY test 2024-03-16 13:58:22 -07:00
Daniel Roe 3d77e267d8
test: use locator assertion for body text 2024-03-16 13:38:29 -07:00
Daniel Roe 9b5bffbbb4
test: remove wait for `networkidle` 2024-03-16 13:23:08 -07:00
Horu f9fe282506
feat(nuxt): add `nuxtMiddleware` route rule (#25841) 2024-03-16 11:53:01 -07:00
Daniel Roe 205d0e2fa5
test: also run composables test with appManifest off 2024-03-16 11:07:30 -07:00
renovate[bot] adc728e2a3
chore(deps): update all non-major dependencies to ^1.8.20 (main) (#26294)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-03-16 10:11:31 -07:00
Daniel Roe c7d0567da1
test: use retryable assertion for `scrollY` (#26298) 2024-03-16 10:11:13 -07:00
renovate[bot] 92929cee17
chore(deps): update dependency ufo to v1.5.1 (main) (#26290)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-03-15 17:07:49 -07:00
Daniel Roe b9168d0b0b
fix(vite): drop name prefix for client chunk file names (#26203) 2024-03-15 11:31:13 -07:00
renovate[bot] c556a60e6b
chore(deps): update dependency ufo to v1.5.0 (main) (#26280)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-03-15 10:27:44 -07:00
Maik Kowol a6d6fde9df
fix(nuxt): access shared asyncData state with `useNuxtData` (#22277) 2024-03-15 09:40:00 -07:00
renovate[bot] 7a3857e127
chore(deps): update all non-major dependencies (main) (#26234)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-03-14 11:13:13 -07:00
Daniel Roe b102d04185
feat(vite): handle multiple/custom public dirs (#26163) 2024-03-13 17:18:44 -07:00
renovate[bot] 25617516fb
chore(deps): update all non-major dependencies (main) (#26189)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-03-13 16:00:57 -07:00
Alexander Lichter 536998727a
feat(nuxt): add dedicated `#teleports` element for ssr teleports (#25043) 2024-03-11 07:33:49 -07:00
Daniel Roe 8323220f74
perf(nuxt): tree shake island renderer 2024-03-09 11:25:11 +01:00
Daniel Roe 7252b56d52 chore: add back stylistic rules and lint project 2024-03-09 06:48:15 +00:00
renovate[bot] e1b3c5e482
chore(deps): update all non-major dependencies (main) (#26157)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-03-08 23:03:01 +00:00
Daniel Roe dd1cdbc052
fix(nuxt): provide typescript aliases for core packages (#26158) 2024-03-08 22:58:37 +00:00
Daniel Roe 0cc7f298f9
feat(nuxt): support async transforms for data composables (#26154) 2024-03-08 19:22:46 +00:00
Daniel Roe 6407cea620
fix(nuxt): watch custom `cookieRef` values deeply (#26151) 2024-03-08 17:03:31 +00:00
Bogdan Kostyuk 98aa2c222f
feat(nuxt): `usePreviewMode` composable (#21705) 2024-03-06 17:14:15 +00:00
Julien Huang f0442d0ddb
feat(nuxt): emit error if `<NuxtIsland>` can't fetch island (#25798) 2024-03-06 16:45:43 +00:00
Divine 83314f1c95
feat(nuxt): custom loading reset/hide delay + force `finish()` (#25932) 2024-03-06 16:27:05 +00:00
Julien Huang 6d93014c52
feat(nuxt): allow using `nuxt-client` in all components (#25479) 2024-03-06 15:26:19 +00:00
Bogdan Kostyuk 230f6b4f19
feat(nuxt): client-only pages (#25037) 2024-03-06 14:38:39 +00:00
Daniel Roe b4bce578c6
fix(nuxt): don't refetch server components in initial html (#26089) 2024-03-06 11:55:06 +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
Daniel Roe 4fbbc10f62
fix(nuxt): skip vue style blocks in unctx transform (#26059) 2024-03-03 21:36:12 +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
Michael Brevard ff1bb56e3f
perf: early return chained functions with falsy values (#25647) 2024-02-26 16:08:45 +00:00
Mateusz Kulpa b5981f6840
fix(nuxt): add missing type for `head` in `defineNuxtComponent` (#25410) 2024-02-22 11:11:44 +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
Anthony Fu 3f882c95f6
ci: typecheck code samples in docs (#25777) 2024-02-15 10:07:39 +00:00
renovate[bot] 936ad91b0a
chore(deps): update all non-major dependencies (main) (#25780)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-02-14 10:56:21 +00:00
Daniel Roe 29b338f8aa
fix(nuxt): don't add extra `baseURL` on server `useRequestURL` (#25765) 2024-02-13 10:30:39 +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 4f3391fc0a
fix(nuxt): remove undefined keys in route object (#25667) 2024-02-07 10:00:19 +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
Hendrik Heil 9af0e35ffc
fix(nuxt): export `refreshCookie` (#25635) 2024-02-05 20:25:11 +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 e8d1219886
fix(nuxt): remove key from `useId` type signature (#25614) 2024-02-04 22:11:53 +00:00
Enkot 876d910c3f
fix(nuxt): broadcast cookie change in correct format (#25598) 2024-02-03 23:15:26 +00:00