Commit Graph

1330 Commits

Author SHA1 Message Date
Damian Głowala 7005a66d9a
fix(nuxt): initialise `asyncData` errors with `null` (#23428) 2023-09-27 14:43:53 +01:00
github-actions[bot] 5abd8a231f
v3.7.4 2023-09-26 02:18:14 +02:00
Daniel Roe a6f845d1ec
fix(nuxt): detect nested pages with `/index` segments (#23404) 2023-09-26 02:09:12 +02:00
renovate[bot] 0844735187
chore(deps): update all non-major dependencies (main) (#23378)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-26 01:32:44 +02:00
renovate[bot] f4b0e3d3b5
chore(deps): update all non-major dependencies (main) (#23346)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-22 22:00:03 +02:00
Daniel Roe e900190278
fix(nuxt): add import protection for `nuxt/*` exports (#23357) 2023-09-22 12:32:13 +02:00
Percy Ma 3b90f82f8d
fix(nuxt): apply right types to modules and their runtime files (#23240) 2023-09-22 09:25:52 +02:00
Daniel Roe a2fb8234ac
fix(nuxt): generate empty file when shim is disabled (#23333) 2023-09-22 09:20:29 +02:00
renovate[bot] f842da5b90
chore(deps): update all non-major dependencies (main) (#23314)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-21 18:42:17 +02:00
renovate[bot] eab27717b8
chore(deps): update all non-major dependencies (main) (#23284)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-20 10:51:28 +01:00
Daniel Roe 7dce07653c
fix(nuxt): experimental build manifest + client route rules (#21641) 2023-09-19 22:31:18 +01:00
Pooya Parsa 2bf9028f7e
refactor(kit,nuxt,schema): use `consola` and improve test dx (#23302) 2023-09-19 22:26:15 +01:00
renovate[bot] ac380ad053
chore(deps): update all non-major dependencies (main) (#23248)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-18 10:28:13 +01:00
Daniel Roe 137c0b6054
fix(nuxt): don't incl overridden layer pages as nested children (#23238) 2023-09-16 09:53:37 +01:00
Joaquín Sánchez bc8a1fa614
fix(nuxt): load layer middlewares before project middlewares (#22925) 2023-09-16 09:39:51 +01:00
renovate[bot] f27c708bcd
chore(deps): update all non-major dependencies (main) (#23196)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-15 13:21:37 +01:00
Julien Huang ceab38770d
fix(nuxt): correct islandsTransform slot regex (#23226) 2023-09-14 22:44:18 +01:00
Daniel Roe ba3ca72387
refactor(nuxt): use built-in consola prompts (#23205) 2023-09-14 10:17:55 +01:00
Daniel Roe e729406805
fix(nuxt): use original escapes/quotes in page re-exports (#23191) 2023-09-14 07:06:07 +01:00
github-actions[bot] 16e40f899e
v3.7.3 2023-09-13 23:52:45 +01:00
renovate[bot] cf59564cae
chore(deps): update all non-major dependencies (main) (#23173)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-13 23:41:45 +01:00
Daniel Roe a95fd28725
fix(nuxt): allow importing server components from `#components` (#23188) 2023-09-13 23:35:53 +01:00
Julien Huang 95d1f9944d
refactor(nuxt): don't wrap server placeholders/client fallbacks (#21980) 2023-09-13 22:56:15 +01:00
Daniel Roe 8c1eaa0078
fix(nuxt): ensure plugins retain original order (#23174) 2023-09-13 09:35:11 +01:00
renovate[bot] 6afbdc349e
chore(deps): update all non-major dependencies to ^1.7.0 (main) (#23161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-13 09:06:35 +01:00
github-actions[bot] ebacf199fe
v3.7.2 2023-09-12 22:35:55 +01:00
Daniel Roe 3e1ad3e20b
fix(nuxt): allow overriding components + only warn if clash (#23156) 2023-09-12 21:47:42 +01:00
Daniel Roe 9892d5cd3b
fix(nuxt): allow changing dirs within modules (#23133) 2023-09-12 15:27:28 +01:00
Daniel Roe 842a2e5cf9
chore(nuxt): update nuxi (#23145)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2023-09-12 15:26:55 +01:00
Daniel Roe a4cf8a0c24
fix(nuxt): respect layer order for other layer plugins (#23148) 2023-09-12 15:24:35 +01:00
renovate[bot] 7f122cc809
chore(deps): update all non-major dependencies (main) (#23063)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-12 11:02:10 +01:00
Daniel Roe 15e6dfb560
fix(nuxt): allow granularly overriding pages in layers (#23134) 2023-09-12 10:46:35 +01:00
Daniel Roe 574102c523
fix(nuxt): default scanned layer components to priority `0` (#23127) 2023-09-11 19:17:42 +01:00
Daniel Roe df6a992cd6
fix(nuxt): handle unset spa-loading fallback (#23120) 2023-09-11 13:07:28 +01:00
David Gonzalez 28af761c74
fix(nuxt): load `spaLoadingTemplate` if file exists (#23048) 2023-09-11 12:02:28 +01:00
Daniel Roe 40601ec15f
fix(nuxt): find parent routes by exact path match (#23040) 2023-09-11 11:50:19 +01:00
Maxime Pauvert aa73cbeaf9
fix(nuxt): include method when creating `useFetch` auto key (#23086) 2023-09-11 09:14:01 +01:00
Dmitry Istomin 48fa30af92
fix(nuxt): handle optional params within a path segment (#23070) 2023-09-11 09:13:24 +01:00
Julien Huang 3f9fa008d9
fix(nuxt): exclude `data-v` attrs from server component props (#23095) 2023-09-10 09:06:11 +01:00
Julien Huang dfdebf2919
fix(nuxt): don't `joinURL` with remote sources on NuxtIsland (#23093) 2023-09-08 20:48:42 +01:00
renovate[bot] 5660a36a06
chore(deps): update all non-major dependencies (main) (#23022)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-07 10:47:47 +01:00
Julien Huang 48fb6e243b
fix(nuxt): scroll to top by default on dynamic routes (#22403) 2023-09-06 20:44:59 +01:00
github-actions[bot] 88a6d0a499
v3.7.1 2023-09-05 14:49:23 +01:00
renovate[bot] 754955545e
chore(deps): update all non-major dependencies (main) (#22866)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-05 12:27:41 +01:00
Saman beb7410777
fix(nuxt): always use increment for id with client side islands (#22975) 2023-09-05 11:27:00 +01:00
Harlan Wilton 19145386e3
fix(nuxt): resolve head instance from Nuxt app (#22973) 2023-09-05 11:25:46 +01:00
Daniel Roe 1a08079710
fix(nuxt): use `destr` in more places over `JSON.parse` (#22997) 2023-09-05 09:42:16 +01:00
Joaquín Sánchez 89c4436ae1
fix(nuxt): load layer plugins before project plugins (#22889) 2023-09-04 23:41:51 +01:00
Daniel Roe 4e98ac1746
perf(nuxt): decrease default bundle size (#22999) 2023-09-04 22:30:24 +01:00
Daniel Roe 8ced37bc8b
fix(nuxt): improve types within plugin templates (#22998) 2023-09-04 16:44:23 +01:00
Daniel Roe 5f176b1a96
fix(nuxt): render inlined ssr styles before stylesheets (#22986) 2023-09-04 16:43:50 +01:00
Harlan Wilton 421cab1adf
perf(nuxt): prevent head dom from rendering twice (#22974) 2023-09-04 09:12:56 +01:00
Harlan Wilton 4e05650cde
fix(nuxt): unpause dom updates on error (#22945) 2023-09-01 15:00:20 +01:00
Alex Liu 2d46971162
fix(nuxt): ensure middleware is processed when returning `true` (#22905) 2023-08-31 10:19:26 +01:00
Daniel Roe 6036e9d6a2
fix(kit): respect `priority` when registering components dirs (#22882) 2023-08-29 23:06:41 +01:00
Daniel Roe 6198a11514
fix(nuxt): render server components when `ssr: false` (#22869) 2023-08-28 17:46:49 +01:00
renovate[bot] a5cc858a4c
chore(deps): update all non-major dependencies (main) (#22858)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-28 10:07:48 +01:00
renovate[bot] d905e5f519
chore(deps): update all non-major dependencies (main) (#22822)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-27 23:06:15 +01:00
Maik Kowol a256c87406
fix(nuxt): ensure typed layout prop persists through build (#22855) 2023-08-27 20:44:43 +01:00
Joaquín Sánchez 424dc8d7c0
fix(nuxt): exclude resolved vite virtual modules prefix (#22834) 2023-08-26 15:45:17 +01:00
github-actions[bot] 9013f88e75
v3.7.0 2023-08-26 00:26:08 +01:00
renovate[bot] bf843636b9
chore(deps): update all non-major dependencies (main) (#22819)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-25 23:46:13 +01:00
Daniel Roe 536a4aa249 chore: update `nuxi` to v3.7.0 2023-08-25 23:16:43 +01:00
Daniel Roe abd5d85770
feat(nuxt): migrate to new `nuxt/cli` (#22799) 2023-08-25 16:20:32 +01:00
renovate[bot] da117ec616
chore(deps): update all non-major dependencies (main) (#22803)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-25 15:44:19 +01:00
Daniel Roe 9bee320c7a
fix(nuxt): fully resolve `unctx` where possible (#22811) 2023-08-25 14:57:25 +01:00
Daniel Roe a352d59a58
fix(nuxt): default `spaLoadingTemplate` to `false` (#22798) 2023-08-25 13:26:23 +01:00
Daniel Roe 54a6eab406
feat(kit,nuxt): respect nuxt ignore patterns in nitro (#22808) 2023-08-25 13:08:38 +01:00
renovate[bot] f06ee59d4a
chore(deps): update all non-major dependencies (main) (#22777)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-24 20:33:21 +01:00
Daniel Roe 53f7c1dfaa
refactor(nuxt): import `useNitroApp` from subpath (#22785) 2023-08-24 13:45:24 +01:00
Daniel Roe b5ce892864
fix(nuxt): respect ignorelist when scanning auto-imports (#22782) 2023-08-24 13:42:15 +01:00
Daniel Roe 23723305da
feat(schema): support setting `hidden` sourcemaps (#22787) 2023-08-24 13:06:44 +01:00
Jongmin Yoon 6f7d86be78
fix(nuxt): recreate `asyncData` when `immediate` is disabled (#20980) 2023-08-24 13:06:29 +01:00
renovate[bot] 330900bcbe
chore(deps): update dependency ofetch to v1.3.2 (main) (#22772)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-23 21:40:42 +01:00
Daniel Roe 29f4eeff69
feat(nuxt): add support for `routeRules` defined within pages (#20391) 2023-08-23 21:38:17 +01:00
xxxhussein 427e64d175
fix(nuxt): add `exclude` paths to nitro `tsconfig.server.json` (#22768) 2023-08-23 21:36:33 +01:00
renovate[bot] 585c26e973
chore(deps): update all non-major dependencies (main) (#22770)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-23 18:44:33 +01:00
Mihailo Bursac e94b30d314
perf(nuxt): reduce multiple calls to `.toLowerCase()` (#22743) 2023-08-23 17:58:10 +01:00
Julien Huang aa37de48f7
fix(nuxt): warn when ignoring duplicate island/server component (#22709) 2023-08-23 16:23:17 +01:00
renovate[bot] 16a200a65a
chore(deps): update all non-major dependencies (main) (#22721)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-23 09:11:00 +01:00
pooya parsa a2f2a4748e
feat(nuxt): upgrade nitro + reduce node-specific usage (#22515)
Co-authored-by: Heb <xsh4k3@gmail.com>
2023-08-23 08:30:53 +01:00
renovate[bot] 7b35a1fe4f
chore(deps): update all non-major dependencies (main) (#22705)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-21 09:25:51 +02:00
renovate[bot] 3d78c79e3d
chore(deps): update all non-major dependencies (main) (#22677)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-18 17:05:38 +02:00
renovate[bot] e04596ad2e
chore(deps): update all non-major dependencies (main) (#22647)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-16 17:39:02 +02:00
Eduardo San Martin Morote f0cc923609
fix(nuxt): correct revive payload data type (#22667) 2023-08-16 16:16:06 +02:00
Harlan Wilton 28e4cc298c
fix(nuxt): remove experimental hash hydration (#22648) 2023-08-16 10:25:07 +02:00
renovate[bot] aa111330bb
chore(deps): update all non-major dependencies (main) (#22640)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-15 10:56:35 +01:00
renovate[bot] c335a6a2cf
chore(deps): update all non-major dependencies (main) (#22624)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-15 07:30:02 +01:00
Daniel Roe 4be2ffe4aa
fix(nuxt): don't prompt to install packages in CI (#22636) 2023-08-14 22:04:47 +01:00
Harlan Wilton d50a416304
feat(nuxt): add `experimental.headNext` unhead integration (#22620) 2023-08-14 20:33:00 +01:00
Daniel Roe bb83ab5b3f
fix(nuxt): use relative paths when augmenting types (#22633) 2023-08-14 18:07:17 +01:00
renovate[bot] a16edba2f5
chore(deps): update all non-major dependencies (main) (#22600)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-14 07:02:02 +01:00
Damian Głowala b5b2b47feb
feat(nuxt): make `app.rootId` optional (#22528) 2023-08-12 08:19:36 +01:00
renovate[bot] afd8126b65
chore(deps): update all non-major dependencies (main) (#22579)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-11 13:20:42 +01:00
Daniel Roe 1a61cb22ec
fix(nuxt): unsub from hooks when unmounting indicator (#22592) 2023-08-11 13:15:02 +01:00
Harlan Wilton 89ad88bd38
fix(nuxt): trigger immediate DOM update on `page:finish` (#22566) 2023-08-11 11:24:23 +01:00
Daniel Roe 99375d688c
fix(nuxt): provide fallback route (#22580) 2023-08-10 13:36:38 +01:00
Daniel Roe b2cea4927e
feat(nuxt): allow experimental `global: 'sync'` components (#22558) 2023-08-09 12:19:00 +01:00
renovate[bot] 2562c0dbd9
chore(deps): update all non-major dependencies (main) (#22537)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-08 22:31:55 +01:00
renovate[bot] c5437e648a
chore(deps): update all non-major dependencies (main) (#22520)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-08 13:37:21 +01:00
Lehoczky Zoltán e373fa7d68
feat(nuxt): warn on external `webpack`/`nitro`/`postcss` config (#22521) 2023-08-08 12:33:10 +01:00
pooya parsa 554f868bce
feat(nuxt): experimental native async context support (#20918)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-08 00:57:35 +02:00
Daniel Roe 9c5b9b7d53
fix(nuxt): enable hmr of `app.config.ts` files (#22494) 2023-08-07 22:23:31 +00:00
Daniel Roe b5c9a81d68
feat(nuxt): resolve unresolved paths within `node_modules` (#22478) 2023-08-07 23:05:29 +01:00
Lucas Vargas ffd0223583
feat(vite,webpack): tree-shakable `import.meta.*` build flags (#22428) 2023-08-07 23:03:40 +01:00
Daniel Roe 305d6de030
feat(nuxt): use build plugin to access nuxt route injection (#21585) 2023-08-07 14:19:48 +01:00
Daniel Roe f4ee12e6ba
fix(nuxt): resolve type import paths (#22476) 2023-08-07 14:19:32 +01:00
Daniel Roe ae8314b236
chore: refresh lockfile (#22518) 2023-08-07 14:03:41 +01:00
renovate[bot] 29157199c3
chore(deps): update all non-major dependencies (main) (#22483)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-07 13:27:25 +01:00
Daniel Roe 8eefb65489 chore: remove unused import 2023-08-05 14:27:06 +01:00
Daniel Roe 14bf2b02f9 fix(nuxt): remove unused `normalize` call 2023-08-05 09:42:55 +01:00
Daniel Roe 9b0d371b01 fix(nuxt): use `internal:nuxt` namespace 2023-08-04 08:54:09 +01:00
Daniel Roe 3722325220
perf(nuxt): use LRU prerender cache and limit cached items (#22465) 2023-08-04 08:47:42 +01:00
renovate[bot] d4c9ac6fee
chore(deps): update all non-major dependencies (main) (#22459)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-03 18:39:40 +01:00
Peter Graugaard a4e58bc352
fix(nuxt): correctly update object cookies in `useCookie` (#22474) 2023-08-03 17:33:34 +01:00
renovate[bot] 69b07a03b7
chore(deps): update all non-major dependencies (main) (#22423)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-03 10:34:19 +01:00
Harlan Wilton ac93558aa6
fix(nuxt): broken capo.js `injectHead` usage (#22447) 2023-08-03 07:15:43 +01:00
MiniDigger | Martin 7489b7d7cc
fix(nuxt): print name of missing island component (#22440) 2023-08-02 11:17:27 +01:00
Harlan Wilton a49ce7f494
perf(nuxt): experimental support of `capo.js` head tag order (#22431) 2023-08-01 20:47:31 +01:00
renovate[bot] 2dfbb5f04d
chore(deps): update all non-major dependencies to v1.1.35 (main) (#22420)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-31 23:57:09 +01:00
anhao 17461fb03b
fix(nuxt): support uppercase route methods in `useFetch` (#22418) 2023-07-31 23:56:37 +01:00
renovate[bot] 24afefdb48
chore(deps): update all non-major dependencies (main) (#22404)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-31 13:22:42 +01:00
Daniel Roe 0d9a0b7538 fix(nuxt): `name` is an optional prop for `<NuxtLayout>` 2023-07-31 13:22:22 +01:00
Daniel Roe 1b1f194e64
refactor(nuxt): add additional flag to enable remote sources (#22409) 2023-07-31 13:01:50 +01:00
Daniel Roe dad633b658
perf(nuxt): render css/inline css higher than resource hints (#21793) 2023-07-31 12:11:18 +01:00
renovate[bot] 40fdff8b68
chore(deps): update dependency vue-bundle-renderer to v2 (main) (#22408)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-31 11:34:34 +01:00
Daniel Roe 5926bbeff8
feat(nuxt): allow 'lazy' (non-blocking) server components (#21918) 2023-07-31 09:51:09 +01:00
Damian Głowala 0991e885fd
feat(nuxt): autocomplete layouts in `setPageLayout`/`<NuxtLayout>` (#22362) 2023-07-31 09:50:55 +01:00
Julien Huang 0f839dd723
feat(nuxt): environment-specific plugin execution for islands (#20726) 2023-07-30 22:36:11 +01:00
Julien Huang ffc4e798cd
feat(nuxt): allow remote sources for islands (#21592) 2023-07-30 22:00:41 +01:00
Jean-Pierre Carvalho 620097241a
feat(nuxt): auto-install `@nuxt/webpack-builder` when needed (#21747) 2023-07-30 21:25:00 +01:00
Joaquín Sánchez 2df9a4b9db
fix(nuxt): test `watch` paths against all layer `srcDir`s (#22307) 2023-07-30 19:47:29 +01:00
Harlan Wilton 9b09b4d112
feat(nuxt): render all head tags on server with `unhead` (#22179) 2023-07-30 19:46:16 +01:00
Daniel Roe a2b5d31270
perf(nuxt): write templates in single sync step + improve logs (#22384) 2023-07-30 17:14:42 +01:00
renovate[bot] 9e92c74d07
chore(deps): update all non-major dependencies (main) (#22315)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-30 16:45:37 +01:00
Anthony Fu c5f94be5d1
feat(nuxt): expose filtered templates in `app:templatesGenerated` hook (#21935) 2023-07-30 12:41:01 +01:00
Daniel Roe 2f734df9b5
fix(nuxt): disallow redirects to more script protocols (#22366)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2023-07-30 11:09:16 +01:00
Prashant Palikhe 2616aadda6
feat(nuxt): allow dynamic `scrollToTop` page meta (#21741) 2023-07-30 11:07:01 +01:00
Daniel Roe 257cb3c8a0
chore(deps): bump typescript/untyped versions (#22340) 2023-07-30 10:16:13 +01:00
Aleksandra c044d0eef5
perf(nuxt): export DefineNuxtConfig interface from `nuxt/config` (#22391) 2023-07-29 19:32:28 +01:00
OhB00 ae8a2fb521
fix(nuxt): use computed path value for `useFetch` hash (#22378) 2023-07-29 06:23:08 +02:00
Daniel Roe 9741f267be
refactor(nuxi,schema): move loading template into schema (#22336) 2023-07-26 23:07:23 +02:00
Daniel Roe e2c7edd479
fix(nuxt): pass (and handle) relative paths in `builder:watch` (#22333) 2023-07-26 11:16:01 +02:00
Anthony Fu e3437c67d6
fix(nuxt): components auto-import for JSX (#22330) 2023-07-26 05:30:44 +01:00
Daniel Roe 03fbd30d1c
fix(nuxt): allow `validate` return typing to be either error or boolean (#22323) 2023-07-25 16:09:41 +00:00
renovate[bot] 1b5a8bb924
chore(deps): update dependency vite to v4.4.7 (main) (#22303)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-24 19:10:25 +01:00
renovate[bot] 54887aa05b
chore(deps): update all non-major dependencies (main) (#22248)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-24 10:17:02 +01:00
Julien Huang 2e6c4519cf
fix(nuxt): bind `createClientOnly` render function to ctx (#22289) 2023-07-24 09:00:31 +01:00
Maik Kowol 7046930a67
fix(nuxt): add overloads for `asyncData` generic + default (#22258) 2023-07-23 09:24:54 +01:00
Daniel Roe 429d3656e9
fix(nuxt): access resolved `scrollBehaviorType` (#22264) 2023-07-21 10:17:07 +01:00
Rudolf Byker 9742bffac2
fix(nuxt): await `prerender:routes` hook (#22247) 2023-07-20 14:22:10 +01:00
renovate[bot] 3cb10d6dc8
chore(deps): update dependency unimport to ^3.1.0 (main) (#22246)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-20 14:21:36 +01:00
renovate[bot] 1f1de38d03
chore(deps): update all non-major dependencies (main) (#21979)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-20 10:43:33 +01:00
Lucas Vargas a2552c0191 feat(nuxt): smooth scroll behavior option (#21948) 2023-07-20 09:54:03 +01:00
Bogdan Kostyuk bea5ec35fb feat(nuxt): polyfill idle callback utils (#21863) 2023-07-20 09:53:29 +01:00
github-actions[bot] f6a3adb521
v3.6.5 (#22229)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-19 19:40:34 +02:00
github-actions[bot] 380a91985c
v3.6.4 2023-07-19 16:19:14 +01:00
Daniel Roe 0f16cd6124
perf(nuxt,schema): do not watch `buildDir` and `node_modules` (#22214) 2023-07-19 15:43:28 +01:00
Daniel Roe 5b409f8579
fix(nuxt): avoid premature hydration when using async layouts (#22198) 2023-07-19 07:55:53 +01:00
Daniel Roe 449a01526a
fix(nuxt): ensure we only increment hydrating count once (#22200) 2023-07-18 16:21:53 +01:00
Anthony Fu f6b64f6a65
fix(nuxt): resolve race condition regenerating auto imports (#22201) 2023-07-18 16:20:06 +01:00
Julien Huang f4ec04f520
fix(nuxt): add `baseURL` to island fetch requests (#22009) 2023-07-18 16:07:35 +01:00
Alexander Lichter 4b6f3e1ba1
fix(nuxt): work around payload extraction issue (#22162)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-18 13:31:35 +02:00
Daniel Roe b8a282e115
fix(nuxt): don't redirect if initial path has trailing slash (#22192) 2023-07-18 11:03:14 +01:00
Alexander Lichter fed5868184
fix(core): correctly use `toLowerCase` for possible `moduleResolution` (#22160) 2023-07-16 00:48:03 +02:00
github-actions[bot] f068ad5edd
v3.6.3 2023-07-14 23:48:50 +01:00
云游君 e3553a36f9
fix(nuxt): skip scanning components that do not produce a name (#22074) 2023-07-14 14:50:14 +01:00
Jianqi Pan 988e75bbc7
fix(nuxt): skip view transitions where there is no route change (#22140) 2023-07-14 14:49:57 +01:00
Daniel Roe a07cfb8663
refactor(cli,schema): add `bundler` module resolution flag (#22142) 2023-07-14 14:46:40 +01:00
Daniel Roe e9dac76348
fix(nuxt): add pages in correct hook when generating (#22088) 2023-07-12 08:26:52 +01:00
Daniel Roe dcef9d94cd
perf(nuxt): prepopulate island payloads from rendered html (#22049)
Co-authored-by: Julien Huang <julien.huang@outlook.fr>
2023-07-12 07:28:22 +01:00
renovate[bot] d2aee40b9d
chore(deps): update vitest to ^0.33.0 (main) (#21998)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-07 10:26:57 +01:00
renovate[bot] 7dd012e29e
chore(deps): pin dependencies (main) (#21986)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-07 09:51:42 +01:00
renovate[bot] e16680b7ef
chore(deps): update all non-major dependencies (main) (#21972)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-06 09:05:39 +01:00
github-actions[bot] 88f914e9a0
v3.6.2 2023-07-05 22:42:25 +01:00
renovate[bot] 927d637e3f
chore(deps): update all non-major dependencies (main) (#21955)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-05 18:31:22 +02:00
Daniel Roe 74c11dc662
perf(nuxt): use getters when constructing reactive routes (#21957) 2023-07-05 14:33:12 +02:00
Daniel Roe d0dde6426f
fix(nuxt): preserve old vnode when leaving nested route (#21823) 2023-07-05 12:39:39 +02:00
renovate[bot] 00fb33379c
chore(deps): update all non-major dependencies (main) (#21939)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-05 12:18:44 +02:00
Julien Huang 52a427d583
fix(nuxt): use `$fetch.raw` in dev client mode for islands (#21904) 2023-07-05 11:48:01 +02:00
Anthony Fu 28e91a7aad
fix(nuxt): regenerate imports after template (#21934) 2023-07-05 11:25:21 +02:00
renovate[bot] dfef49f508
chore(deps): update all non-major dependencies (main) (#21921)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-04 18:09:01 +02:00
ChronicStone fd2b36a64d
fix(nuxt): support custom route name meta with `typedPages` (#21659) 2023-07-04 06:24:50 +01:00
Daniel Roe 435ac87961
perf(nuxt): allow hmr for server components in dev mode (#21916) 2023-07-04 05:21:27 +01:00
renovate[bot] d15df420a3
chore(deps): update all non-major dependencies (main) (#21851)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-03 21:08:25 +01:00
Julien Huang 9f5130d06b
fix(nuxt): stop loading indicator on navigation failure (#21751) 2023-07-03 12:14:17 +01:00
Daniel Roe 87e01ccf0e
fix(nuxt): handle injecting multiple entry ids for styles (#21864) 2023-06-30 05:25:43 +01:00
Daniel Roe 669e9bcf2d
fix(nuxt): ensure static presets equivalent to `nuxi generate` (#21860) 2023-06-29 10:14:35 +01:00
Julien Huang cc4cf68ed4
perf(nuxt): don't run island transform plugin if disabled (#21844) 2023-06-28 17:44:43 +01:00
renovate[bot] 07a0e9d412
chore(deps): update all non-major dependencies (main) (#21833)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-28 15:43:04 +01:00
Daniel Roe b108b1ee70
fix(nuxt): improve default prerender behaviour (#21817) 2023-06-28 15:17:19 +01:00
Daniel Roe e023c06353
fix(nuxt, vite): do not use cjs utils to resolve/alias vue (#21837) 2023-06-28 14:49:50 +01:00
renovate[bot] 4709c3acf9
chore(deps): update all non-major dependencies (main) (#21806)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-06-28 09:14:56 +01:00
Daniel Roe 489b088836
fix(nuxt): only redirect if path is not the same as initial url (#21815) 2023-06-27 11:15:35 +01:00
Daniel Roe 9c8746f2a6
chore: prune internal unused code and exports (#21809) 2023-06-27 10:38:40 +01:00
github-actions[bot] 54a0d5e8dc
v3.6.1 2023-06-26 20:25:37 +01:00
renovate[bot] 32333447f1
chore(deps): update all non-major dependencies (main) (#21794)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 20:10:28 +01:00
Daniel Roe 4a7134f9b4
fix(nuxt): use starting index when transforming islands (#21795) 2023-06-26 19:32:02 +01:00
Anthony Fu 3550893227
fix(nuxt): support importing types from `#imports` (#21796) 2023-06-26 16:53:29 +01:00
renovate[bot] d9a3ab80e0
chore(deps): update all non-major dependencies (main) (#21776)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-26 13:24:21 +01:00