Commit Graph

3854 Commits

Author SHA1 Message Date
github-actions[bot] 78d5098c28
v3.11.0 2024-03-17 01:15:47 -07:00
Daniel Roe 1cae15a3a4
chore(nuxt): ensure type template has const filename 2024-03-16 17:21:43 -07:00
Damian Głowala 02d6838293
feat(nuxt): add `clear` utility to `useAsyncData`/`useFetch` (#26259) 2024-03-16 17:19:44 -07:00
Daniel Roe 3c7e68c846
fix(nuxt): handle nightly releases for hoisted types 2024-03-16 17:18:31 -07:00
Daniel Roe 33ce71dd12
refactor(nuxt): use addTypeTemplate in more places 2024-03-16 17:15:53 -07:00
Daniel Roe 87c0678f99
fix(nuxt): provide appMiddleware types with universal router 2024-03-16 15:12:49 -07:00
Daniel Roe 4925670dcd
refactor(nuxt): use addTypeTemplate for page augmentations 2024-03-16 15:09:04 -07:00
Daniel Roe cac7454702
refactor(nuxt): rename `nuxtMiddleware` to `appMiddleware` 2024-03-16 15:03:09 -07:00
Daniel Roe c6aa617839
chore: do not export unused type 2024-03-16 14:59:03 -07:00
Horu f9fe282506
feat(nuxt): add `nuxtMiddleware` route rule (#25841) 2024-03-16 11:53:01 -07:00
Daniel Roe 79ea75e72a
chore: remove old code 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 977377777a
fix(nuxt): guard `window` access more carefully 2024-03-15 19:51:35 -07:00
Daniel Roe adbd53a257
fix(schema): don't hoist types for `consola` for now 2024-03-15 19:37:13 -07:00
Daniel Roe 357f8db418
fix(schema): allow passing `deep` to `selectiveClient` 2024-03-15 19:02:54 -07:00
Daniel Roe 0362ebf43c
fix(nuxt): use `joinRelativeURL` for build assets (#26282) 2024-03-15 18:31:29 -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 814859d769
fix(nuxt): don't generate separate chunk for stubs (#26291) 2024-03-15 17:07:38 -07:00
Daniel Roe e272b2f2e1
feat(nuxt): pass server logs to client (#25936)
Co-authored-by: Sébastien Chopin <seb@nuxt.com>
2024-03-15 16:36:47 -07:00
Daniel Roe 5be9253cfe
fix(kit): clone middleware when adding to app 2024-03-15 15:38:07 -07:00
Julien Huang 4be430e13f
feat(nuxt): pass nuxt instance to `getCachedData` (#26287) 2024-03-15 13:54:47 -07:00
Daniel Roe b9168d0b0b
fix(vite): drop name prefix for client chunk file names (#26203) 2024-03-15 11:31:13 -07:00
Daniel Roe 81933dfc3d
fix(nuxt): don't ignore any files from `buildAssetsDir` 2024-03-15 11:16:57 -07:00
Daniel Roe 85166cced7
feat(schema): allow configuring type hoists with `typescript.hoist` 2024-03-15 11:00:19 -07:00
Daniel Roe 9d08cdfd1f
fix(vite): explicitly import `publicAssetsURL` 2024-03-15 11:00:18 -07:00
renovate[bot] 0cb095f1f9
chore(deps): update devdependency nitropack to v2.9.4 (main) (#26281)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-15 10:53:51 -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
Marc Cremer 6439244c96
fix(nuxt): respect `baseUrl` within server components (#25727) 2024-03-15 09:16:41 -07:00
renovate[bot] 0d5b3c18e0
chore(deps): update vitest to v1.4.0 (main) (#26265)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-15 09:15:42 -07:00
renovate[bot] c69863e362
chore(deps): update all non-major dependencies (main) (#26254) 2024-03-15 08:23:15 -07:00
Anthony Fu 5dc96de8a9
fix(nuxt): update auto imports after other templates (#26249) 2024-03-14 13:26:40 -07:00
Anthony Fu bd0e759b22
perf(nuxt): only update changed templates (#26250) 2024-03-14 11:56:17 -07:00
Daniel Roe 5c6dc4c14e
docs: escape 'elements' in jsdoc comments 2024-03-14 11:31:42 -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
Daniel Roe a9effe9c8a
feat(nuxt): allow generating metadata for nuxt components (#26204) 2024-03-13 15:57:04 -07:00
Anthony Aslangul 2baaab9893
fix(nuxt): register/scan plugins with jsx/tsx extensions (#26230) 2024-03-13 15:50:15 -07:00
Daniel Roe 9bfd988ca6
feat(nuxt): enable islands if server pages/components present (#26223) 2024-03-13 07:39:35 -07:00
Daniel Roe f080c426a2
fix(nuxt): init payload when using islands with `ssr: false` 2024-03-12 17:06:46 -07:00
Mehmet 8010b04f69
fix(nuxt): only strip supported extensions when generating import types (#26218) 2024-03-12 10:25:28 -07:00
Daniel Roe a04b88bfcd
fix(nuxt): generate typed routes after pages are scanned (#26206) 2024-03-12 06:28:54 -07:00
Alex Liu 79cdb0b881
refactor(nuxt): simplify `request` computation (#26191) 2024-03-11 09:33:39 -07:00
Harlan Wilton 06af1cd6d3
fix(nuxt): improved plugin annotating warnings (#26193) 2024-03-11 07:34:10 -07:00
Alexander Lichter 536998727a
feat(nuxt): add dedicated `#teleports` element for ssr teleports (#25043) 2024-03-11 07:33:49 -07:00
Alex Liu ac54da242f
perf(nuxt): use faster approach to check cache exists (#26172) 2024-03-10 13:07:00 -07:00
Julien Huang 6723123a2e
perf(nuxt): skip adding selective-client code if not enabled (#26176) 2024-03-10 10:28:14 -07:00
renovate[bot] f772e564c8
chore(deps): update all non-major dependencies (main) (#26166)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-10 10:23:52 -07:00
Julien Huang 8bb8d824c7
fix(nuxt): detect component usage within `ssrRender` (#26162) 2024-03-09 13:38:08 +01:00