Commit Graph

924 Commits

Author SHA1 Message Date
Michael Brevard
945a225d78
fix: autofix 2024-06-16 10:08:36 +03:00
Michael Brevard
b72e45ef9e
fix: parentheses 2024-06-16 10:04:51 +03:00
Michael Brevard
751e5f8194
tests: add tests for delayed hydration triggers 2024-06-16 10:02:27 +03:00
Michael Brevard
f8f752fc74
chore: prepare tests for custom trigger delayed hydration 2024-06-16 09:56:11 +03:00
autofix-ci[bot]
5d5432cba7
[autofix.ci] apply automated fixes 2024-06-15 13:38:28 +00:00
Michael Brevard
aa3df0bc6f
chore: autofix 2024-06-15 16:35:57 +03:00
Michael Brevard
b8c36774f5
tests: refactor tests to use waitForResponse 2024-06-15 16:32:09 +03:00
Michael Brevard
76a267de4d
chore: attempt hard coded await for event 2024-06-15 14:18:46 +03:00
autofix-ci[bot]
cf9a905993
[autofix.ci] apply automated fixes 2024-06-15 05:53:03 +00:00
Michael Brevard
0ab38fcd09
Merge branch 'main' into patch-21 2024-06-15 08:50:42 +03:00
Michael Brevard
e12d4b13ee
fix: assert bounding box is not null 2024-06-15 08:25:03 +03:00
Michael Brevard
5390cae241
fix: await bounding vox 2024-06-15 01:26:02 +03:00
tbitw2549
06096dcc0c feat: add event-based lazy loading 2024-06-15 01:06:47 +03:00
renovate[bot]
d6e723885d
chore(deps): update all non-major dependencies (main) (#27611)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-06-14 22:12:47 +01:00
Michael Brevard
e3a0242048
chore: delete unused delayed hydration server plugin 2024-06-15 00:00:51 +03:00
autofix-ci[bot]
d556ac26f7
[autofix.ci] apply automated fixes 2024-06-14 19:45:02 +00:00
tbitw2549
4a1c1f5969 wip: add hardcoded await 2024-06-14 22:42:26 +03:00
tbitw2549
3602fe1947 Merge branch 'patch-21' of https://github.com/GalacticHypernova/nuxt into patch-21 2024-06-14 18:49:18 +03:00
tbitw2549
2021eac17b fix: wait for nuxt to be ready 2024-06-14 18:48:57 +03:00
Michael Brevard
0ead860117
Merge branch 'main' into patch-21 2024-06-14 18:39:18 +03:00
Daniel Roe
fbf88f7b10
fix(nuxt): use portal to sync nitro/nuxt runtimeConfig + routeRules (#27596) 2024-06-13 18:51:44 +01:00
Daniel Roe
220cc502a1
fix(nuxt): preserve route metadata assigned outside page (#27587) 2024-06-13 17:59:24 +01:00
Daniel Roe
95458af9a1
fix(nuxt): handle more edge cases with external/custom links (#27487) 2024-06-13 16:39:37 +01:00
Daniel Roe
ab887d90d7
fix(nuxt): handle tsx code when extracting pageMeta/routeRules (#27583) 2024-06-13 14:44:08 +01:00
Okuto Oyama
1321c56483
fix(nuxt): export useRouteAnnouncer (#27562) 2024-06-12 17:46:17 +01:00
Michael Brevard
0732872d74
Merge branch 'main' into patch-21 2024-06-12 14:08:25 +03:00
Daniel Roe
1d94bac0af
fix(schema): don't narrow head string types to literals (#27540) 2024-06-11 17:44:38 +01:00
Michael Brevard
6e6832fc3e
Merge branch 'main' into patch-21 2024-06-11 19:20:31 +03:00
Daniel Roe
115fc2d18f
test: add type test for nuxt module resolved types 2024-06-11 12:41:34 +01:00
Daniel Roe
d5d9071d76
chore: bump nuxi dependency (#27526) 2024-06-11 11:44:53 +01:00
Daniel Roe
24b8533e70
chore: lint 2024-06-11 11:01:21 +01:00
Daniel Roe
52b85a886b
test: update scrolling test 2024-06-11 10:34:22 +01:00
Maik Kowol
9655ce6f62
fix(nuxt): add parent scopeId to server components (#27497) 2024-06-10 23:20:27 +01:00
Daniel Roe
11a79359b8
fix(nuxt): remove boolean value for dedupe in v4 compat (#27511) 2024-06-10 21:51:40 +01:00
Daniel Roe
018b03588a
fix(kit,schema): revert changes to module options types (#26850)
This reverts commit c06a683e49.
2024-06-10 21:25:42 +01:00
Hendrik Heil
1d34594b9e
feat(nuxt): register plugin hooks before executing plugins (#27449) 2024-06-10 19:41:36 +01:00
Daniel Roe
22cd4770c1
fix(nuxt): ensure payload script executes before entry (#27506) 2024-06-10 17:16:26 +01:00
Michael Brevard
09489b9d7a
Merge branch 'main' into patch-21 2024-06-10 13:21:45 +03:00
Damian Głowala
c06a683e49
feat(kit,schema): add .with for better module options types (#26850) 2024-06-10 11:16:13 +01:00
Michael Brevard
10e9d00fa4
fix: assume network has already fetches 2024-06-10 11:57:14 +03:00
Inesh Bose
0d84300218
feat(kit): support typed module options in installModule (#26744) 2024-06-10 09:54:40 +01:00
Michael Brevard
0792f95b86
chore: retry network evaluation 2024-06-10 11:41:33 +03:00
Michael Brevard
fb3397701e
chore: revert test 2024-06-10 11:24:16 +03:00
Michael Brevard
09f341c3ef
chore: revert test page 2024-06-10 10:41:49 +03:00
Michael Brevard
2089f745a8
test: refactor test 2024-06-10 10:29:32 +03:00
Michael Brevard
1039735d45
chore: await another networkidle 2024-06-10 00:41:55 +03:00
Michael Brevard
2b765e0b88
chore: refactor the test 2024-06-10 00:30:13 +03:00
Michael Brevard
53c8bb92fe
chore: attempt to check through html 2024-06-10 00:20:49 +03:00
Michael Brevard
b0f4f64d27
chore: retry without promise.all 2024-06-09 23:43:41 +03:00
Michael Brevard
c8cbcfc56e
chore: use Promise.all to try and be faster than initial idle time 2024-06-09 23:36:04 +03:00
Michael Brevard
53d73baa48
test: attempt network idle test 2024-06-09 23:34:04 +03:00
Michael Brevard
ee7d8fa20e
fix: evaluate scroll after initial check 2024-06-09 22:25:06 +03:00
Michael Brevard
b87a70c825
chore: attempt a higher div 2024-06-09 21:07:39 +03:00
Michael Brevard
4442d5f294
Merge branch 'main' into patch-21 2024-06-08 17:15:54 +03:00
Daniel Roe
3f6d7dad1a
chore: disable shamefully-hoist within repo (#27483) 2024-06-07 21:55:12 +01:00
Michael Brevard
6fa4dd2807
Merge branch 'main' into patch-21 2024-06-07 19:47:33 +03:00
Daniel Roe
27945b4925
chore: improve types in tests (#27293) 2024-06-07 16:57:37 +01:00
Michael Brevard
6e4f05d31d
Merge branch 'main' into patch-21 2024-06-07 17:53:24 +03:00
Daniel Roe
34ea5ae2f2
fix(nuxt): deduplicate app.head arrays (#27480) 2024-06-07 15:24:56 +01:00
Michael Brevard
7137a7b3b5
Merge branch 'main' into patch-21 2024-06-07 16:08:20 +03: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
autofix-ci[bot]
4eb39d1062
[autofix.ci] apply automated fixes 2024-06-03 07:41:35 +00:00
Michael Brevard
b764ae93be
fix: add componentLazyHydration 2024-06-03 10:39:14 +03:00
Michael Brevard
440f4cc91a
chore: temporarily remove network component 2024-06-03 00:55:28 +03:00
autofix-ci[bot]
a0f43b45f2
[autofix.ci] apply automated fixes 2024-06-02 21:41:22 +00:00
Michael Brevard
502383feea
chore: attempt to remove the pre-idle checks 2024-06-03 00:38:58 +03:00
Michael Brevard
9746137b28
test: add network idle test 2024-06-03 00:04:43 +03:00
Michael Brevard
f4f8ca08dc
chore: add network idle component 2024-06-03 00:02:31 +03:00
Michael Brevard
d32cfdf09b
Create DelayedNetwork.server.vue 2024-06-03 00:01:15 +03:00
Michael Brevard
a26603fafb
Create DelayedNetwork.client.vue 2024-06-03 00:00:54 +03:00
Michael Brevard
90fb0d5904
Update and rename DelayedHydration.server.vue to DelayedVisible.server.vue 2024-06-03 00:00:08 +03:00
Michael Brevard
6d3ec1714b
Update and rename DelayedHydration.client.vue to DelayedVisible.client.vue 2024-06-02 23:59:43 +03:00
Michael Brevard
28647ecb30
chore: attempt to wait for network idle 2024-06-02 23:24:40 +03:00
Michael Brevard
41c4b53af7
chore: use new component 2024-06-02 22:33:25 +03:00
Michael Brevard
d04d244799
fix: remove line 2024-06-02 22:04:03 +03:00
Michael Brevard
b1c498bea7
test: named LazyVisible components 2024-06-02 21:56:49 +03:00
Michael Brevard
b143038cef
fix: change name 2024-06-02 21:55:58 +03:00
Michael Brevard
6f806878fd
Create DelayedHydration.server.vue 2024-06-02 21:51:33 +03:00
Michael Brevard
f5937803f8
chore: rename component 2024-06-02 21:51:05 +03:00
autofix-ci[bot]
3076e02082
[autofix.ci] apply automated fixes 2024-06-02 06:47:41 +00:00
Michael Brevard
d65d3174b8
Merge branch 'main' into patch-21 2024-06-02 09:45:17 +03: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
Michael Brevard
ad6bef5f70
Merge branch 'main' into patch-21 2024-05-03 12:13:44 +03: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
autofix-ci[bot]
b45c3c9cae
[autofix.ci] apply automated fixes 2024-04-14 11:06:56 +00:00
Michael Brevard
850287bf18
fix: remove the preload for SSR render of delayed hydration 2024-04-14 14:04:45 +03:00
Michael Brevard
0cb15c6bbd
chore: remove wait for load state 2024-04-14 12:53:49 +03:00
autofix-ci[bot]
8eaf057ffe
[autofix.ci] apply automated fixes 2024-04-13 19:41:39 +00:00
Michael Brevard
9b8d33babf
fix: remove unused var 2024-04-13 22:39:23 +03:00
Michael Brevard
13949edeb3
wip: wait for response with the component 2024-04-13 22:37:03 +03:00
Michael Brevard
1f196a57cd
Merge branch 'main' into patch-21 2024-04-13 17:26:46 +03: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
Michael Brevard
b4c4d47721
Merge branch 'main' into patch-21 2024-04-10 10:43:21 +03:00
Julien Huang
30e27f48d1
fix(nuxt): encode location header in navigateTo (#26712) 2024-04-10 09:03:25 +02:00
julien huang
382bc93efe test: remove only 2024-04-09 23:14:44 +02:00
julien huang
45e49c5beb test: wait for network idle 2024-04-09 23:10:31 +02:00
Michael Brevard
d4bca6cd57
refactor: use page.evaluate 2024-04-09 22:24:48 +03:00
Michael Brevard
2fa63ccfff
Merge branch 'main' into patch-21 2024-04-09 21:49:35 +03:00
Han
98a02744bd
fix(nuxt): prevent getCachedData from shaping type of useAsyncData (#25946) 2024-04-08 18:38:40 +01:00
autofix-ci[bot]
26f2e4e7d1
[autofix.ci] apply automated fixes 2024-04-08 17:18:37 +00:00
Michael Brevard
5653d9e255
wip: retrying through mouse.wheel 2024-04-08 20:16:18 +03:00
autofix-ci[bot]
bd7ca85fb4
[autofix.ci] apply automated fixes 2024-04-08 17:00:52 +00:00
Michael Brevard
dd36a18140
wip: add scrolling to test for delayed hydration 2024-04-08 19:58:33 +03:00
autofix-ci[bot]
2236f78566
[autofix.ci] apply automated fixes 2024-04-08 16:21:16 +00:00
Michael Brevard
4b0d88c54e
refactor: use a component to test transform 2024-04-08 19:18:47 +03:00
Michael Brevard
d89e70e065
Create DelayedWrapperTestComponent.vue 2024-04-08 19:18:09 +03:00
Michael Brevard
84b2333cf5
fix: await 2024-04-08 19:09:35 +03:00
Michael Brevard
10f7f22c82
fix: check for count 2024-04-08 19:03:15 +03:00
Michael Brevard
00a68bd7ff
fix: async 2024-04-08 18:56:25 +03:00
Michael Brevard
88bae15ad7
wip: testing page text getting 2024-04-08 18:52:27 +03:00
autofix-ci[bot]
d209a02492
[autofix.ci] apply automated fixes 2024-04-08 15:02:03 +00:00
Michael Brevard
4cc9efe563
wip: add initial lazy load check 2024-04-08 17:59:41 +03:00
autofix-ci[bot]
998c1ba551
[autofix.ci] apply automated fixes 2024-04-08 14:39:42 +00:00
Michael Brevard
6c683e0b6e
wip: add comp to lazy-import-components 2024-04-08 17:37:18 +03: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