Commit Graph

4511 Commits

Author SHA1 Message Date
renovate[bot] 7640da0acd
chore(deps): update dependency pkg-types to ^1.2.0 (3.x) (#28666)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-23 09:00:11 +01:00
github-actions[bot] 74ef96d096
v3.13.0 2024-08-22 17:03:39 +01:00
renovate[bot] 3c599eef16
chore(deps): update dependency webpack to v5.94.0 (3.x) (#28658)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-22 16:28:39 +01:00
Daniel Roe a0124712f3
fix(nuxt): revert back to object syntax for island head (#28656) 2024-08-22 14:58:58 +01:00
Julien Huang 3f1db54b80
feat(nuxt): allow server islands to manipulate head (#27987) 2024-08-22 13:10:17 +01:00
renovate[bot] 68f451ade9
chore(deps): update devdependency @nuxt/scripts to v0.7.1 (3.x) (#28646)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-22 12:35:17 +01:00
renovate[bot] ad63154fa3
chore(deps): update all non-major dependencies (3.x) (#28637)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 23:26:58 +01:00
Daniel Roe 4dfbec8e0f
fix(nuxt): do not provide default `prefetchOn` prop (#28630) 2024-08-21 16:37:04 +01:00
felix-dolderer fb7c2f79f8
fix(nuxt): allow customising status code in `validate` method (#28612) 2024-08-21 16:37:03 +01:00
Daniel Roe eed8730688
fix(nuxt): extract route rules/page meta in 2+ script blocks (#28625) 2024-08-21 16:37:02 +01:00
renovate[bot] 81774f3a5a
chore(deps): update all non-major dependencies (3.x) (#28614)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-21 13:44:14 +01:00
Nicolas Payot 1eb9b0a402
feat(nuxt): namespace `__NUXT__` when using multi-app (#27263) 2024-08-20 11:38:53 +01:00
Daniel Roe 2fcadda2e5
fix(nuxt): don't warn when data fetching in middleware (#28604) 2024-08-20 11:36:14 +01:00
Kewin Szlezingier dba2b972bd
feat(nuxt): allow defining triggers for prefetching links (#27846) 2024-08-20 11:36:14 +01:00
renovate[bot] 2bf4b0a53d
chore(deps): update all non-major dependencies (3.x) (#28598)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 20:37:37 +01:00
renovate[bot] 22911c7e6b
chore(deps): update devdependency @nuxt/eslint-config to v0.5.1 (3.x) (#28596)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-19 15:50:28 +01:00
xjccc 89ce936b45
fix(nuxt): preserve route-specific metadata on `route.meta` (#28441) 2024-08-19 13:49:22 +01:00
Daniel Roe 4354d31090
fix(nuxt): avoid stripping js extensions in plugin injections (#28593) 2024-08-19 10:38:51 +01:00
renovate[bot] e02e4aa92f
chore(deps): update all non-major dependencies (3.x) (#28578) 2024-08-18 10:15:57 +01:00
renovate[bot] ebcf93d673
chore(deps): update all non-major dependencies (3.x) (#28547)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-16 11:40:09 +01:00
Daniel Roe 60948c8426
fix(nuxt): only augment `vue`, not sub-packages (#28542) 2024-08-16 10:12:22 +01:00
Martin André b13582205a
perf(nuxt): avoid multiple calls to `getCachedData` (#28472) 2024-08-13 20:45:27 +01:00
Daniel Roe 9397def672
feat(vite): preserve vite sourcemaps for nitro build (#28521) 2024-08-13 20:44:00 +01:00
Mike Laumann Bellika fe954c434c
fix(nuxt): add reason when aborting request in `useFetch` (#28517) 2024-08-13 20:44:00 +01:00
Horu c4ae151de5
feat(nuxt): allow organising pages within route groups (#28276) 2024-08-13 20:44:00 +01:00
Daniel Roe 5bf971f4ef
fix(vite): include module symbols in generated code (#28509) 2024-08-13 20:43:59 +01:00
Julien Huang 68ccc9f264
fix(vite): add transformation result to log for parse errors (#28508) 2024-08-13 20:43:59 +01:00
Son Tran 9de596d802
feat(kit): add `prepend` option to `addRouteMiddleware` (#28496) 2024-08-13 20:43:59 +01:00
Julien Huang a4ef08059d
perf(nuxt): avoid making client-only component setup async (#28334) 2024-08-13 20:43:58 +01:00
Daniel Roe f6e56fd3b2
fix(vite): respect `baseURL` for public assets in dev (#28482) 2024-08-13 20:43:58 +01:00
Daniel Roe 60a209b2d9
fix(nuxt): handle plugin type extensions more correctly (#28480) 2024-08-13 20:43:57 +01:00
Daniel Roe f707e6da89
fix(nuxt): scan jsx pages for page metadata (#28479) 2024-08-13 20:43:57 +01:00
Adam DeHaven 0a6e5e1caa
feat(nuxt): custom enable/disable hooks for `usePreviewMode` (#28371) 2024-08-13 20:43:57 +01:00
Potter 6c2abcdfdb
perf(nuxt): call cookie `decode` function only for named cookie (#28215) 2024-08-13 20:43:55 +01:00
Daniel Roe 5132ef8c81
fix(nuxt): augment `@vue/runtime-core` and `@vue/runtime-dom` (#28446) 2024-08-13 20:43:09 +01:00
Martin Masevski 219653e2c6
fix(nuxt): update renamed stub composables from `nuxt/scripts` (#28449) 2024-08-13 20:43:09 +01:00
Daniel Roe 93801def67
fix(nuxt): ensure `runtimeConfig.public` is reactive on client (#28443) 2024-08-13 20:43:08 +01:00
BoogieBen. e64f8c9f3d
fix(nuxt): handle `scroll-padding-top: auto` in scrollBehavior (#28320) 2024-08-13 20:43:07 +01:00
renovate[bot] 33279a24cb
chore(deps): update all non-major dependencies (3.x) (#28505) 2024-08-12 19:27:25 +01:00
renovate[bot] 44c26f4e1a
chore(deps): update devdependency ignore to v5.3.2 (3.x) (#28503)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-12 12:41:43 +01:00
renovate[bot] 8155182152
chore(deps): update dependency cssnano to v7.0.5 (3.x) (#28487)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-09 15:22:52 +01:00
renovate[bot] 0242111e50
chore(deps): update all non-major dependencies to v3.4.37 (3.x) (#28470)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-09 13:51:01 +01:00
Daniel Roe 44e3d4e87f
fix(vite,webpack): handle local postcss plugins (#28481) 2024-08-09 13:10:48 +01:00
renovate[bot] 461498684a
chore(deps): update all non-major dependencies (3.x) (#28465)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Julien Huang <julien.h.dev@gmail.com>
2024-08-08 13:50:54 +01:00
Daniel Roe 1a60b45410
fix(kit): add missing type import 2024-08-08 11:24:06 +01:00
Daniel Roe c0ad8db936
fix(schema): export new module return types 2024-08-08 11:22:40 +01:00
Daniel Roe cab9e5c356
chore: lint 2024-08-08 11:20:29 +01:00
Tobias Diez 45d92d67ee
feat(nuxt): allow specifying app id when creating a nuxt app (#28392) 2024-08-08 11:11:14 +01:00
Michael Brevard 13ba46bec3
feat(nuxt): warn when user components' names begin with `Lazy` (#27838) 2024-08-08 11:10:37 +01:00
Damian Głowala 56092503b4
feat(kit,schema): add `.with` for better module options types (#27520) 2024-08-08 11:10:35 +01:00
Lucie 9118965505
feat(kit): add new `isNuxtMajorVersion` compatibility util (#27579) 2024-08-08 11:09:22 +01:00
Daniel Roe 24d65be071
feat(nuxt): await custom `routes` function in `router.options` (#27644) 2024-08-08 11:09:22 +01:00
renovate[bot] 0807de5037
chore(deps): update dependency unplugin to ^1.12.1 (3.x) (#28457)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 10:55:20 +01:00
renovate[bot] 3c426a458b
chore(deps): update all non-major dependencies (3.x) (#28452) 2024-08-07 23:28:30 +01:00
renovate[bot] 7af3c424ce
chore(deps): update all non-major dependencies (3.x) (#28430)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-07 11:00:23 +01:00
xjccc 7005da698d
docs: alias links in jsdoc `@see` blocks (#28270) 2024-08-06 15:18:28 +01:00
Yasser Lahbibi 91a6a5e269
fix(schema): use new options syntax for `vite-plugin-vue` (#28307) 2024-08-06 15:17:53 +01:00
Julien Huang 03a0fb33f3
chore(nuxt): remove unnecessary await (#28407) 2024-08-06 15:17:52 +01:00
Bobbie Goede 198c4e199d
chore(nuxt): use router code reference permalink (#28356) 2024-08-06 15:17:51 +01:00
Alexander Lichter cd5c19b559
chore(schema): fix typo (#28377) 2024-08-06 15:17:51 +01:00
FELIPE COSTA DE OLIVEIRA 806c5382f7
docs: add language to example schema codeblock (#28294) 2024-08-06 15:17:50 +01:00
一纸忘忧 9a2256a342
docs: add missing comma to example (#28300) 2024-08-06 15:17:49 +01:00
renovate[bot] 17ff2d5c98
chore(deps): update all non-major dependencies (3.x) (#28302)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-06 15:16:20 +01:00
renovate[bot] fa27e8a545
chore(deps): update vitest to v2.0.5 (3.x) (#28368)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 15:53:15 +02:00
renovate[bot] fa9b988d25
chore(deps): update all non-major dependencies (3.x) (#28256)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-07-24 01:01:13 +02:00
Julien Huang 9ac4da0616
fix(schema): do not override user `serverDir` (#28249) 2024-07-24 00:41:04 +02:00
Daniel Roe 59f0099f42
fix(schema): support absolute/relative paths for `assetsDir` 2024-07-24 00:41:04 +02:00
Horu 0bbd06b508
fix(kit): include module `dist/runtime/` in tsconfig includes (#28237) 2024-07-24 00:41:03 +02:00
Julien Huang c5d524adb0
fix(nuxt): don't warn for `definePageMeta` in client-only pages (#28246) 2024-07-24 00:41:03 +02:00
renovate[bot] 7c864dd897
chore(deps): update vitest to v2.0.4 (3.x) (#28261)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-23 22:08:04 +02:00
renovate[bot] 0ef47990e3
chore(deps): update all non-major dependencies (3.x) (#28235) 2024-07-21 16:04:02 +02:00
renovate[bot] eca822df85
chore(deps): update all non-major dependencies to v3.4.33 (3.x) (#28222) 2024-07-19 12:58:50 +01:00
renovate[bot] e880f994c9
chore(deps): update dependency cookie-es to ^1.2.1 (3.x) (#28214) 2024-07-19 06:24:31 +01:00
github-actions[bot] 4a1349f700
v3.12.4 2024-07-18 23:30:28 +01:00
Daniel Roe b7da949cab
fix(nuxt): prevent duplicate `set-cookie` headers (#28211) 2024-07-18 22:07:41 +01:00
Daniel Roe 1843ffa328
refactor(nuxt): use `errx` to handle dev log traces (#28027) 2024-07-18 21:10:41 +01:00
xjccc 11264adda7
fix(nuxt): merge route meta properties with scanned meta (#28170) 2024-07-18 21:08:31 +01:00
Daniel Roe 2417848bf2
fix(nuxt): use `addEventListener` to register cookie store listener (#28193) 2024-07-18 21:08:27 +01:00
Julien Huang a6af09eba4
fix(nuxt): allow `getCachedData` to return undefined (#28187) 2024-07-18 21:08:14 +01:00
Daniel Roe 6abaae7fa1
fix(kit): normalise `serverDir` within layers using v4 compat (#28177) 2024-07-18 21:07:47 +01:00
Daniel Roe 6720a2eab1
fix(schema): don't use `app/` as `srcDir` if it doesn't exist (#28176) 2024-07-18 21:07:43 +01:00
Daniel Roe d10cea11be
fix(nuxt): revert change to `getCachedData` null response 2024-07-18 21:06:08 +01:00
xjccc e21f68140c
fix(nuxt): only warn when `useAsyncData` returns undefined (#28154) 2024-07-18 21:05:11 +01:00
renovate[bot] 46a41adf27
chore(deps): update vitest to v2.0.3 (3.x) (#28153)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-18 18:03:21 +01:00
renovate[bot] 5eaf66086a
chore(deps): update dependency webpack-dev-middleware to v7.3.0 (3.x) (#28207)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-18 18:03:03 +01:00
renovate[bot] a2fd0518ab
chore(deps): update all non-major dependencies (3.x) (#28058) 2024-07-18 15:56:19 +01:00
BoogieBen e0141fea22
fix(nuxt): consider doc `scroll-padding-top` in scrollBehavior (#28083) 2024-07-15 14:03:07 +01:00
Daniel Roe c48ea9636f
fix(nuxt): always prerender at least one page with crawler (#28131) 2024-07-15 14:03:06 +01:00
Bobbie Goede e102d1d444
fix(kit): ensure `getNuxtVersion` returns `string` (#28125) 2024-07-15 14:03:06 +01:00
Daniel Roe c2e843485c
fix(nuxt): use native vue-router composables (#28114) 2024-07-15 14:03:06 +01:00
Alex Liu 449bdf0778
fix(nuxt): use `unhead` key for ad-hoc module options (#28088) 2024-07-15 14:03:05 +01:00
xjccc 0ce16ac8c9
docs: deprecate pending and emphasis undefined (#28113) 2024-07-15 14:03:05 +01:00
renovate[bot] 05143b894f
chore(deps): update vitest to v2.0.2 (3.x) (#28104)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-12 14:26:47 +01:00
renovate[bot] e0a496737b
chore(deps): update vitest to v2 (3.x) (major) (#28074) 2024-07-09 09:14:31 +01:00
renovate[bot] 39d9caeb22
chore(deps): pin devdependency html-validate to 8.20.1 (3.x) (#28048) 2024-07-05 15:12:05 +01:00
renovate[bot] a81d9d6e84
chore(deps): update all non-major dependencies (3.x) (#28047) 2024-07-05 15:11:47 +01:00
Daniel Roe 5c8312e9bd
fix(kit): remove exports from v4 branch 2024-07-05 11:23:35 +01:00
Daniel Roe 5d0012edd4
fix(schema): don't constrain postcss plugin options (#28045) 2024-07-05 11:01:20 +01:00
Daniel Roe 1d1c180599
fix(ui-templates): validate templates with `html-validate` (#28024) 2024-07-05 11:01:17 +01:00
Julien Huang a3476157ec
refactor(nuxt): remove `_registeredComponents` from ssrContext (#27819) 2024-07-05 10:52:12 +01:00