Commit Graph

768 Commits

Author SHA1 Message Date
Daniel Roe
27945b4925
chore: improve types in tests (#27293) 2024-06-07 16:57:37 +01:00
Daniel Roe
34ea5ae2f2
fix(nuxt): deduplicate app.head arrays (#27480) 2024-06-07 15:24:56 +01:00
Daniel Roe
5785332626
fix(schema): exclude non-serialisable types from app options (#27478) 2024-06-07 13:22:19 +01:00
renovate[bot]
e60a912f33
chore(deps): update all non-major dependencies (main) (#27404) 2024-06-07 07:37:13 +01:00
Daniel Roe
40c81a722a
fix(nuxt): transpile app.config files in nitro build (#27342) 2024-05-24 20:44:50 +01:00
Daniel Roe
c054ca084c
fix(vite): handle runtime paths in inlined styles (#27327) 2024-05-23 15:34:06 +01:00
Daniel Roe
305c7348bd
fix(vite): ignore query/hash when resolving public assets (#27306) 2024-05-22 15:40:29 +01:00
Daniel Roe
8a759bc6fe
fix(nuxt): use undefined rather than null for data fetching defaults (#27294) 2024-05-21 23:58:38 +01:00
Julien Huang
a618a5c1d1
fix(nuxt): encode location header in navigateTo (#27280) 2024-05-20 21:02:46 +01:00
renovate[bot]
390a0ff281
chore(deps): update devdependency @nuxt/test-utils to v3.13.0 (main) (#27238)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-05-20 01:02:54 -05:00
renovate[bot]
1ce1a55a87
chore(deps): update devdependency @nuxt/eslint-config to v0.3.13 (main) (#27262)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-05-17 16:54:33 -05:00
Daniel Roe
3c42e13b68
feat(nuxt,schema): add appId and improve chunk determinism (#27258) 2024-05-16 22:41:31 -05:00
Deth
58423772a1
feat(nuxt): allow displaying error state in loading indicator (#27176) 2024-05-16 09:23:18 -05:00
Daniel Roe
06be4cc025
feat(nuxt): auto-register layers in layers/ directory (#27221) 2024-05-15 05:51:14 -05:00
Anthony Fu
b96b62ecd2
refactor: improve regexp performance (#27207) 2024-05-14 12:54:37 -05:00
Daniel Roe
5c34676159
feat(schema): remove some experimental options for v4 (#27132) 2024-05-13 18:45:21 +01:00
Daniel Roe
416d76ab80
test: re-enable testing js payloads (#27137) 2024-05-09 21:47:31 +01:00
Julien Huang
f687e211a8
feat(nuxt): add #fallback slot to server components types (#27097) 2024-05-08 13:33:54 +01:00
Nicolas Payot
177517951c
feat(nuxt): support multiple nuxtApps at runtime (#27068) 2024-05-08 13:32:45 +01:00
Daniel Roe
3169c5cec7
feat(nuxt): add onPrehydrate lifecycle hook (#27037) 2024-05-07 15:04:21 +01:00
renovate[bot]
b385065bda
chore(deps): update all non-major dependencies (main) (#27057)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-05-07 12:54:21 +01:00
Daniel Roe
8958f7ca70
test: extend timeout for node-compat 2024-05-03 12:12:28 +01:00
Danila Rodichkin
ea21feaaf4
fix(nuxt): don't overwrite existing scope in runWithContext (#26976) 2024-05-03 11:27:38 +01:00
Daniel Roe
061fbd4bd6
chore: upgrade dev dependencies 2024-05-02 11:50:58 +01:00
Daniel Roe
58349a4594
test: update bundle size 2024-05-01 22:49:51 +01:00
Daniel Roe
505e706dcb
feat(schema): v4 opt-in with future.compatibilityVersion (#26925) 2024-04-30 20:34:32 +01:00
renovate[bot]
46f5fcf47f
chore(deps): update all non-major dependencies (main) (#26970)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-04-29 22:03:31 +01:00
renovate[bot]
f524d30f5c
chore(deps): update all non-major dependencies (main) (#26913)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-04-24 13:17:59 +01:00
Pooya Parsa
fdbfed1280
chore: fix small typos (#26907) 2024-04-23 13:53:11 +01:00
Julien Huang
62296818aa
fix(nuxt): don't encode location header (#26893) 2024-04-22 22:11:46 +01:00
renovate[bot]
d0601126f3
chore(deps): update all non-major dependencies (main) (#26870) 2024-04-22 20:09:05 +01:00
renovate[bot]
67a585faa4
chore(deps): update dependency devalue to v5 (main) (#26865)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-04-20 08:14:10 +03:00
Julien Huang
f0902f9301
perf(nuxt): remove state from nuxt island response (#26863) 2024-04-20 04:56:56 +03:00
Joaquín Sánchez
4dbe748cfc
feat(nuxt): expose useLink from NuxtLink (#26522) 2024-04-19 12:48:49 +03:00
renovate[bot]
d5e2080cd1
chore(deps): update all non-major dependencies (main) (#26847)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-04-19 12:13:46 +03:00
Ivan Kalachikov
4fea6da1ae
feat(nuxt): add <NuxtRouteAnnouncer> and useRouteAnnouncer (#25741) 2024-04-17 16:58:13 +01:00
renovate[bot]
6d7a558c69
chore(deps): update all non-major dependencies (main) (#26768)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-04-17 10:48:51 +01:00
renovate[bot]
95c399f9a3
chore(deps): update all non-major dependencies (main) (#26720)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-04-13 00:11:24 +02:00
Julien Huang
30e27f48d1
fix(nuxt): encode location header in navigateTo (#26712) 2024-04-10 09:03:25 +02:00
Han
98a02744bd
fix(nuxt): prevent getCachedData from shaping type of useAsyncData (#25946) 2024-04-08 18:38:40 +01:00
renovate[bot]
7dcd9e2a2d
chore(deps): update all non-major dependencies (main) (#26645)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-04-06 16:12:41 +01:00
Anthony Fu
f209158352
chore: cleanup eslint rules with latest @nuxt/eslint-config (#26653) 2024-04-05 19:08:32 +01:00
Anthony Fu
ee608cea2c
chore: update moduleResolution to Bundler (#26658) 2024-04-05 16:36:52 +01:00
renovate[bot]
59b58b8485
chore(deps): update all non-major dependencies (main) (#26613)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-04-03 11:34:56 +01:00
Damian Głowala
386be0b866
docs: replace process.* with import.meta.* (#26611) 2024-04-02 12:46:05 +01:00
renovate[bot]
fe9667939a
chore(deps): update all non-major dependencies (main) (#26584)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-04-02 12:45:12 +01:00
Julien Huang
6dcad76a06
perf(nuxt): reduce nuxt island payload (#26569) 2024-03-30 07:41:46 +00:00
renovate[bot]
24ad4506f7
chore(deps): update all non-major dependencies (main) (#26545)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-03-29 11:37:20 +00:00
renovate[bot]
ae72c4a60d
chore(deps): update all non-major dependencies to ^1.9.2 (main) (#26518)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-03-27 17:39:37 +00:00
renovate[bot]
89a525e917
chore(deps): update all non-major dependencies (main) (#26478)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-03-26 13:41:49 +00:00
renovate[bot]
79787c8123
chore(deps): update all non-major dependencies (main) (#26466)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-03-25 09:58:53 +00:00
renovate[bot]
70a619f2ef
chore(deps): update all non-major dependencies (main) (#26427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-03-21 16:16:04 +00:00
Daniel Roe
8c3159f4ba
fix(nuxt): pass joinRelativeURL + share paths on server (#26407) 2024-03-21 11:57:11 +00:00
Daniel Roe
4e6812d92c
fix(nuxt): don't append new route for redirect if one exists (#26368) 2024-03-20 09:54:25 +00:00
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