Commit Graph

1093 Commits

Author SHA1 Message Date
Julien Huang 2d680455ae
fix(nuxt): skip middleware for islands components (#20924) 2023-05-20 23:26:29 +01:00
Haruaki OTAKE b88aab049f
fix(nuxt): use `default` type for initial value for composables (#20968) 2023-05-20 23:19:50 +01:00
Daniel Roe 957a75a7e1
fix(nuxt): exclude plugin declaration from non-existent files (#20974) 2023-05-20 23:14:52 +01:00
renovate[bot] 1425a4d537
chore(deps): update dependency unimport to ^3.0.7 (main) (#20973)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-20 22:39:50 +01:00
Daniel Roe 25c150136d
fix(nuxt): don't match partial component names with prefix (#20939) 2023-05-19 08:11:46 +01:00
renovate[bot] 1aecd24361
chore(deps): update all non-major dependencies (main) (#20934)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-18 21:04:47 +01:00
renovate[bot] 4ec2fcb750
chore(deps): update all non-major dependencies (main) (#20923)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-18 16:02:48 +01:00
Daniel Roe dda338a1dc
fix(nuxt): resolve layer assets in relation to layer directory (#20932) 2023-05-18 15:10:12 +01:00
Daniel Roe 9dea9bc1b2
perf(nuxt): use granular watcher to avoid crawling ignored dirs (#20836) 2023-05-18 14:44:24 +01:00
renovate[bot] 37b4e32a6e
chore(deps): update all non-major dependencies (main) (#20922)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-17 22:11:45 +01:00
Daniel Roe 2cdc22a746
fix(nuxt): don't `refresh` when hydrating when data is present (#20916) 2023-05-17 14:23:52 +01:00
Daniel Roe d2e14b678b
fix(nuxt): prioritise vue app context when available (#20910) 2023-05-17 13:26:16 +01:00
Gypsophyllite f39eb6e981
fix(nuxt): infer `useFetch` method when generic is passed (#20797) 2023-05-17 12:56:47 +01:00
renovate[bot] 55a5fa4890
chore(deps): update all non-major dependencies (main) (#20867)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-17 05:54:33 +01:00
Daniel Roe 53bd8a44ec
fix(nuxt): allow island renders without `/` route (#20894) 2023-05-16 22:50:55 +01:00
github-actions[bot] 9683c3dad3
v3.5.0 2023-05-16 14:29:04 +01:00
Daniel Roe a0583ba96e
fix(nuxt): pass from + savedPosition to first `scrollBehavior` (#20859) 2023-05-16 10:55:13 +01:00
Anthony Fu 433b52930a
feat(nuxt): support parallel plugins (#20460) 2023-05-16 09:50:43 +01:00
Julien Huang 70c5ec86d2
feat(nuxt): full scoped slots support for server components (#20284) 2023-05-15 23:43:53 +01:00
renovate[bot] 22f4be9e06
chore(deps): update dependency vite to v4.3.6 (main) (#20862)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-15 20:23:41 +01:00
Daniel Roe 038c84c4b1
fix(nuxt): add types for webpack/vite environments (#20749) 2023-05-15 17:17:39 +01:00
Daniel Roe 33e2bd3dc0
feat(nuxt): support separate server tsconfig (#20559) 2023-05-15 16:36:30 +01:00
Alexander e9b2f6286c
fix(nuxt): stop loading indicator on vue errors (#20738) 2023-05-15 16:34:20 +01:00
renovate[bot] 26c6531282
chore(deps): update dependency h3 to ^1.6.6 (main) (#20854)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-15 14:10:06 +01:00
Dario Ferderber ec9dcdb093
fix(nuxt): allow `pages:extend` to enable pages module (#20806) 2023-05-15 13:47:30 +01:00
白雾三语 ce84c9b44f
fix(nuxt): ensure all dir parts are present in component name (#20779) 2023-05-15 13:34:04 +01:00
Inesh Bose 1f30cf18e3
fix(nuxt): get fallback for `<DevOnly>` from parsed html (#20840) 2023-05-15 13:33:46 +01:00
renovate[bot] 95246397e6
chore(deps): update all non-major dependencies (main) (#20832)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-15 12:25:11 +01:00
Julien Huang 603e7e7fb1
feat(nuxt): allow keeping fallback for `NuxtClientFallback` (#20336) 2023-05-14 22:22:54 +01:00
Inesh Bose d077c10c41
feat(nuxt): allow fallback production content in `<DevOnly>` (#20817) 2023-05-13 23:32:31 +01:00
Julien Huang 900ee6dc8b
fix(nuxt): transform client fallbacks directly on SFCs (#20835) 2023-05-13 22:39:50 +01:00
Sébastien Chopin 6a052b583b
feat(nuxt): add `useRequestURL` helper (#20765) 2023-05-13 22:09:37 +01:00
Daniel Roe 7f0fe2fbe7
fix(nuxt): allow serialising undefined refs (#20828) 2023-05-13 20:49:05 +01:00
renovate[bot] 314905329f
chore(deps): update all non-major dependencies (main) (#20814)
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-05-12 15:58:49 +01:00
renovate[bot] f7f4a7643c
chore(deps): update all non-major dependencies (main) (#20792)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-12 06:46:16 +01:00
Julien Huang 90ab1b50f4
fix(nuxt): always inline styles for server/island components (#20599) 2023-05-11 23:33:17 +01:00
Lehoczky Zoltán 6b7197fd8c
fix(nuxt): avoid destructuring error prop (works around upstream bug) (#20795) 2023-05-11 22:54:07 +01:00
Daniel Roe 5e74fe4e0b
fix(nuxt): enable suspensible behaviour for nested pages (#20777) 2023-05-11 18:57:18 +01:00
renovate[bot] d1577889ad
chore(deps): update all non-major dependencies (main) (#20786)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-11 16:06:34 +01:00
Daniel Roe 0258acdc8a fix(nuxt): remove webstorm compatibility augmentation 2023-05-11 15:28:03 +01:00
Daniel Roe 93ba5e7cd2
feat(nuxt): use `runWithContext` within `callWithNuxt` (#20775) 2023-05-11 12:39:08 +01:00
renovate[bot] 6b710811bd
chore(deps): update dependency @vitejs/plugin-vue to ^4.2.2 (main) (#20776)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-11 10:02:10 +01:00
Daniel Roe f170075c79
feat(deps): update vue to v3.3 (#20478) 2023-05-11 09:37:32 +01:00
Daniel Roe 53fef72031
fix(nuxt): deduplicate global components before registration (#20743) 2023-05-10 13:57:27 +01:00
Julien Huang 018bf125ab
feat(nuxt): add apps to nuxt build-time instance (#20637) 2023-05-09 23:46:03 +01:00
Eduardo San Martin Morote 5781cf1569
feat(nuxt): add experimental `typedPages` option (#20367) 2023-05-09 18:08:07 +01:00
Daniel Roe 80d7899f49
fix(nuxt): prevent treeshaking hooks with composable names (#20745) 2023-05-09 17:47:46 +01:00
Daniel Roe eb8e9169d6
fix(nuxt): generate empty sourcemaps for wrappers (#20744) 2023-05-09 16:57:23 +01:00
Daniel Roe 1da25c8069
fix(nuxt): allow resolving client nuxt app to singleton (#20639) 2023-05-09 11:22:38 +01:00
renovate[bot] 7cb4c69935
feat(deps): upgrade to nitropack v2.4 (#20688)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-06 09:44:07 +01:00
Anthony Fu 1f38863c06
fix(nuxt, vite): ignore `nuxt_component` ssr style and `isVue` (#20679) 2023-05-04 17:19:03 +01:00
renovate[bot] 0508ec2b3e
chore(deps): update all non-major dependencies (main) (#20657)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2023-05-04 07:22:18 +01:00
renovate[bot] c586f02d20
chore(deps): update dependency cookie-es to v1 (main) (#20660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 05:52:16 +01:00
renovate[bot] ca1cb614f7
chore(deps): update dependency perfect-debounce to v1 (main) (#20661)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-04 05:51:44 +01:00
Daniel Roe 566fa85fc8
fix(nuxt): run page meta plugin on all pages (and only pages) (#20628)
Co-authored-by: Julien Huang <julien.huang@outlook.fr>
2023-05-03 15:14:12 +01:00
Daniel Roe da3357449f
feat(nuxt): add `nuxtApp.runWithContext` (#20608) 2023-05-03 11:02:07 +01:00
renovate[bot] 3306cfe292
chore(deps): update all non-major dependencies (main) (#20632)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-03 07:00:29 +01:00
Anthony Fu fb76b3931a
feat(nuxi): allow greater control of `nuxi analyze` from cli (#20387) 2023-05-02 14:24:11 +01:00
Anthony Fu 84559e84aa
feat(kit): support passing getter to `addVitePlugin` and `addWebpackPlugin` (#20525) 2023-05-02 12:17:41 +01:00
renovate[bot] 787d5e953e
chore(deps): update dependency vite to v4.3.4 (main) (#20619)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-02 12:12:31 +01:00
Daniel Roe 16bf228437
fix(nuxt): ensure `useError` is called with nuxt app context (#20585) 2023-05-01 23:55:24 +01:00
renovate[bot] f3cfb5f630
chore(deps): update all non-major dependencies (main) (#20609)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-01 23:46:29 +01:00
Daniel Roe 8b86d39e30
refactor(schema): move `runtimeCompiler` option out of experimental (#20606) 2023-05-01 17:39:07 +01:00
Daniel Roe 8353e4c66e
feat(nuxt): allow access to components within app (#20604) 2023-05-01 17:35:00 +01:00
Daniel Roe 2c55bb6f84
fix(nuxt): remove internal `<FragmentWrapper>` (#20607) 2023-05-01 12:56:30 +01:00
Harlan Wilton d2170b80b9
fix(nuxt): skip payload extraction for island context (#20590) 2023-04-30 10:10:09 +01:00
Anthony Fu d2fc6ae614
fix(nuxt): properly handle query for component wrapper (#20591) 2023-04-30 10:08:08 +01:00
Anthony Fu a13b18eddf
fix(nuxt): add `@nuxt/devtools` module before core modules (#20595) 2023-04-30 10:06:43 +01:00
renovate[bot] 9b956c9689
chore(deps): update all non-major dependencies (main) (#20570)
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-04-30 00:27:12 +01:00
Daniel Roe 24cce84e4b
feat(nuxt): add layer meta and env overrides to config types (#20329) 2023-04-29 23:51:28 +01:00
Daniel Roe 6ef2e1caea
fix(nuxt): remove backwards-compatible runtimeConfig proxy (#20340) 2023-04-29 23:38:40 +01:00
Stefan Milosevic fac160c79f
feat(nuxt): auto import 'watchPostEffect' and 'watchSyncEffect' from vue (#20279) 2023-04-29 23:33:29 +01:00
Daniel Roe e1e3d2cd8e
feat(nuxt): add scoped helper for clearing error within boundary (#20508) 2023-04-29 23:32:29 +01:00
Daniel Roe 1464294d6a v3.4.3 2023-04-28 20:08:45 +01:00
renovate[bot] d8176f11eb
chore(deps): update all non-major dependencies (main) (#20514)
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-04-28 11:18:51 +01:00
Daniel Roe f73bb1de0a
fix(nuxt): return `RenderResponse` for redirects (#20496) 2023-04-28 11:18:03 +01:00
Anthony Fu 98b20c45c8
fix(nuxt): transform `#components` imports into direct component imports (#20547)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-28 10:14:42 +01:00
Julien Huang ecf41537ca
fix(nuxt): throw errors when running legacy `asyncData` (#20535) 2023-04-27 11:51:33 +01:00
Daniel Roe 65a8f4eb3e
fix(nuxt): restrict access to single renderer outside of test/rootDir (#20543) 2023-04-27 11:31:52 +01:00
Daniel Roe 197de3ecbb
fix(nuxt): call `app:error` in SSR before rendering error page (#20511) 2023-04-26 14:36:59 +01:00
Daniel Roe dd0d13d425
fix(nuxt): improved typing support for app config (#20526) 2023-04-26 14:30:05 +01:00
Daniel Roe 7ab476b1f8
fix(nuxt): use `callAsync` for executing hooks with context (#20510) 2023-04-26 07:15:22 +01:00
renovate[bot] 9170a721f7
chore(deps): update dependency vite to v4.3.2 (main) (#20504)
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-04-25 21:18:33 +01:00
Daniel Roe 200cb2787e
fix(nuxt): throw 404 when accessing `/__nuxt_error` directly (#20497) 2023-04-25 15:47:02 +01:00
renovate[bot] 24ce1022e9
chore(deps): update dependency @vitejs/plugin-vue to ^4.2.0 (main) (#20493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-25 13:44:56 +01:00
renovate[bot] 5fd93d85c7
chore(deps): update all non-major dependencies (main) (#20429)
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-04-24 22:48:16 +01:00
Jonas Thelemann 3133c6fb84
fix(deps): relax upper node version constraint (#20472) 2023-04-24 22:24:38 +01:00
Andrew Luca ea1c5b2550
fix(nuxt): use `event.node.req` in cookie utility (#20474) 2023-04-24 21:25:36 +01:00
renovate[bot] fd281f2d7d
chore(deps): update all non-major dependencies (main) (#20426)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 23:31:50 +01:00
Daniel Roe f1ded44e80 fix(nuxt): add basic typings for `<ClientOnly>` 2023-04-20 22:56:22 +01:00
Julien Huang e8e01bac13
fix(nuxt): use key to force server component re-rendering (#19911) 2023-04-20 22:41:20 +01:00
Daniel Roe 8b7df05ff0
fix(nuxt): don't call `timeEnd` unless we're debugging (#20424) 2023-04-20 22:18:32 +01:00
github-actions[bot] 607bfdcfef
v3.4.2 (#20410) 2023-04-20 14:51:12 +01:00
renovate[bot] c1d97a2fdb
chore: update vite to v4.3 (#20405)
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>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-20 13:36:11 +01:00
Daniel Roe 12f347a928
fix(nuxt): clone app config on server (#20278) 2023-04-20 13:33:45 +01:00
renovate[bot] 5f016b180e
chore(deps): update all non-major dependencies (main) (#20400)
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-04-19 22:19:30 +01:00
Daniel Roe a086af9692
perf: allow using `@parcel/watcher` for dev watcher (#20179) 2023-04-19 22:02:52 +01:00
Daniel Roe c7be5b4ec6
refactor(nuxt): rework and use `isJS` and `isVue` utilities consistently (#20344) 2023-04-19 19:17:36 +01:00
Harlan Wilton 5febd46d23
fix(core,kit): ensure module transpilation paths are dirs (#20396) 2023-04-19 19:05:46 +01:00
Preet Mishra 48b48dec00
fix(nuxt): handle pages with no content and log warning (#20373) 2023-04-19 17:58:43 +01:00
renovate[bot] 6b75cceb3d
chore(deps): update all non-major dependencies (main) (#20395)
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-04-19 17:03:51 +01:00
Daniel Roe 574a5616b4
perf: remove unused deps and add implicit deps (#20356) 2023-04-19 16:45:13 +01:00
Daniel Roe 4ab4ac13df
fix(nuxt): swap preloads for json/js payloads (#20375) 2023-04-19 10:18:02 +01:00
renovate[bot] fe441a1364
chore(deps): update all non-major dependencies (main) (#20364)
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-04-18 16:52:31 +01:00
renovate[bot] dc20b22a5f
chore(deps): update all non-major dependencies (main) (#20337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-18 09:57:25 +01:00
renovate[bot] 60c90c2948
chore(deps): update all non-major dependencies (main) (#20305)
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-04-16 20:04:53 +01:00
Daniel Roe 8aa86559c8
fix(nuxt): mark `useRequestHeaders` keys as optional (#20286) 2023-04-15 15:43:19 +01:00
Daniel Roe ac2e466175
fix(nuxt): provide more helpful error when instance unavailable (#20289) 2023-04-15 14:47:34 +01:00
Daniel Roe 3754591257
fix(nuxt): return type directly if not picking asyncData (#20288) 2023-04-15 11:03:09 +01:00
Daniel Roe d0c8e7fb4a
fix(nuxt): generate hi-res sourcemaps (#20280) 2023-04-14 18:21:08 +01:00
Daniel Roe f366ab4eb8
chore: remove `@ts-ignore` and fix some issues (#20273) 2023-04-14 13:53:21 +01:00
Daniel Roe 53db8125f1
perf(nuxt): share lazy component definitions (#20259) 2023-04-13 20:08:08 +01:00
Daniel Roe 940fb0b7ad
v3.4.1 (#20246) 2023-04-13 03:31:11 -07:00
Daniel Roe 9110d41628
fix(nuxt): do not redirect when `vue-router` normalises url (#20247) 2023-04-13 03:14:44 -07:00
Daniel Roe b011d3d76f
fix(nuxt): improve handling of redirects within middleware (#20244) 2023-04-13 02:58:25 -07:00
renovate[bot] 2dc47a6deb
chore(deps): update dependency nypm to ^0.2.0 (main) (#20241)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-12 10:53:17 -07:00
Daniel Roe e5d1d29b1d
fix(nuxt): add missing imports to `<NuxtClientFallback>` (#20237) 2023-04-12 10:10:18 -07:00
Daniel Roe 22f1f71e3e
fix(nuxt): mark entire payload as reactive (#20218) 2023-04-12 01:42:45 -07:00
Daniel Roe fe2800540c
fix(nuxt): set config on `ssrContext` in spa renderer (#20216) 2023-04-11 15:33:21 -07:00
renovate[bot] 8f67d871b8
chore(deps): update dependency globby to ^13.1.4 (main) (#20206)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-11 18:47:45 +01:00
Daniel Roe 25e3a9046c
v3.4.0 (#20170) 2023-04-11 09:17:01 -07:00
Sacha Stafyniak 811bf28068
feat(nuxt): add chokidar watcher debug timing (#20176) 2023-04-11 07:19:45 -07:00
Julien Huang 163913a744
feat(nuxt): add `experimentalNoScripts` route rule (#19805) 2023-04-11 07:17:44 -07:00
renovate[bot] 90d9cbbe88
chore(deps): update devdependency nitropack to ^2.3.3 (main) (#20203)
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-04-11 07:14:46 -07:00
renovate[bot] bc910f6837
chore(deps): update all non-major dependencies (main) (#20196)
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-04-11 05:38:53 -07:00
Daniel Roe 4285092879
feat(nuxt): support object-syntax plugins (#20003) 2023-04-11 04:58:43 -07:00
Daniel Roe d6c3c2439a
feat(nuxt): support async transform of object properties (#20182) 2023-04-10 14:57:13 -07:00
renovate[bot] 98d1c0e827
chore(deps): update all non-major dependencies (main) (#20184)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 14:46:12 -07:00
Harlan Wilton 33f3ae4963
fix(nuxt): default nitro autoImports to `imports.autoImport` (#20180) 2023-04-10 19:11:07 +01:00
Daniel Roe e99f923aa5
feat(nuxt): add experimental View Transitions API support (#20092) 2023-04-10 04:33:14 -07:00
Daniel Roe 9878c5b6e4
style: enable `sort-imports` eslint rule (#20133) 2023-04-07 09:02:47 -07:00
Anthony Fu 11a9780c80
feat(nuxt): prompt to install `devtools` when it's enabled (#20126) 2023-04-07 08:34:11 -07:00
xjccc 9fd398216c
fix(nuxi): preview nitro build with custom dir config (#18882) 2023-04-07 06:19:53 -07:00
Daniel Roe c65c5a8e79
fix(nuxt): deprecate old (pre-rc) runtimeConfig (#20082) 2023-04-07 04:36:45 -07:00
Daniel Roe 6ddea42f96
refactor(nuxt): remove `#head` alias (#20111) 2023-04-07 03:36:41 -07:00
pooya parsa 9e503be0f2
feat(nuxt): experimental option for rich json payloads (#19205)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-07 03:34:35 -07:00
cany748 4f0b3c7223
fix(nuxt): add `undefined` type for `useCookie` return value 2023-04-07 01:45:44 -07:00
Julien Huang b068f79fee
fix(nuxt): add key to `.client` component placeholders (#20093) 2023-04-07 01:31:04 -07:00
Daniel Roe 41bfd55230
fix(nuxt): test all custom app config keys for `any` (#20105) 2023-04-06 05:33:54 -07:00
Daniel Roe 4d75540655
fix(nuxt): add `@types/node` as a peerDependency (#20025) 2023-04-06 05:33:07 -07:00
Anthony Fu 72ba53efbc
feat(test-utils): allow mounting single component for testing (#5723) 2023-04-06 05:07:22 -07:00
Julien Huang 3fc9a75070
feat(nuxt): support vue runtime compiler (#4762) 2023-04-06 04:51:32 -07:00
renovate[bot] 7b5c755b38
chore(deps): update all non-major dependencies (main) (#20101)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-06 02:40:06 -07:00
Aleksandar Trpkovski 1ae30ba474
fix(nuxt): throw error on protocol relative path in `useFetch` (#20052) 2023-04-04 15:04:38 -07:00
renovate[bot] ab9f33a648
chore(deps): update all non-major dependencies (main) (#20086)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 07:26:11 -07:00
Daniel Roe b811742f89
fix(nuxt): add types for globally injected `$config` object (#20081) 2023-04-04 06:34:39 -07:00
Daniel Roe bc9c7dcac8
feat(nuxt): respect custom `dir.pages` in page placeholder (#20079) 2023-04-04 06:18:29 -07:00
Daniel Roe f40b3e2492
feat(nuxt): support `~`/`~~`/`@`/`@@` aliases within layers (#19986) 2023-04-03 06:18:24 -07:00
Daniel Roe ee8d3f6ea6
feat(nuxt): support disabling `watch` with `useFetch` (#19823) 2023-04-03 05:36:14 -07:00
Daniel Roe c660b39447
fix(nuxt): disable `x-nuxt-no-ssr` header by default (#20024) 2023-04-03 03:39:01 -07:00
Daniel Roe 61699f864e
feat(nuxt): warn in dev when `useRoute` is used in middleware (#20050) 2023-04-03 03:36:17 -07:00
Daniel Roe 79ad5ac9bc chore: loosen nitro version constraint 2023-04-03 11:34:06 +01:00
Daniel Roe d190f743dc
fix(nuxt): end route param tokens manually (#19902) 2023-04-03 02:56:44 -07:00
Daniel Roe 8e9d7157a8
v3.3.3 (#20022) 2023-04-02 07:14:21 -07:00
Daniel Roe 2f8e991b94 chore: fix typo in code comment 2023-04-01 12:12:34 +01:00
Daniel Roe 822202239c
fix(nuxt): sync `setResponseStatus` signature with h3 (#19987) 2023-03-31 07:02:26 -07:00
Daniel Roe 4ed5d2f872
fix(nuxt): suppress handled errors (#20002) 2023-03-31 02:17:10 -07:00
renovate[bot] eef031a97f
chore(deps): update all non-major dependencies (main) (#19985)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-30 07:37:21 -07:00
David Mignot b31fd4ad34
fix(nuxt): store payloads in cache without trailing slash (#19992) 2023-03-30 05:32:00 -07:00
Daniel Roe cb154c9f95
chore: use pnpm workspace protocol internally (#19962) 2023-03-28 08:53:00 -07:00
renovate[bot] dbc6ed9499
chore(deps): update all non-major dependencies (main) (#19957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-28 06:35:29 -07:00
renovate[bot] 24739b6a8c
chore(deps): update all non-major dependencies (main) (#19914)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-28 06:17:30 -07:00
Daniel Roe 6f6140809d
fix(nuxt): don't override options signature with schema (#19934) 2023-03-28 01:55:20 -07:00
renovate[bot] ebf3ec398f
chore(deps): update all non-major dependencies (main) (#19913)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-25 07:12:38 +01:00
Daniel Roe dd6f9c01cc
v3.3.2 (#19875) 2023-03-24 11:31:59 -07:00
renovate[bot] 8e90f49d04
chore(deps): update all non-major dependencies (main) (#19894)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 10:18:07 -07:00
Daniel Roe 0b5ba6c3e9
chore: remove unused TS directive 2023-03-23 14:03:21 +01:00
Daniel Roe 562cef24ca
perf(nuxt): experimentally disable vue server renderer nitro endpoint (#19825) 2023-03-23 09:04:40 +00:00
renovate[bot] fc9c3803b8
chore(deps): update all non-major dependencies (main) (#19862)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-22 17:45:39 -07:00
Harlan Wilton c6f928d786
fix(nuxt): add missing import in islands template (#19870) 2023-03-22 17:19:26 -07:00
Daniel Roe e6c1bb57d7
fix(nuxt): use prerender cache for islands (#19822) 2023-03-22 17:12:01 +00:00
Daniel Roe 9d8c230132
fix(nuxt): ignore schema types that eval to any (#19835) 2023-03-22 17:08:27 +00:00
Julien Huang 4671294229
fix(nuxt): directly render server components (#19605) 2023-03-20 14:47:06 -07:00
Mehdi HosseinZade 3a971d0b36
fix(nuxt): observe slot element in custom nuxt-link (#19802) 2023-03-20 14:46:12 -07:00
renovate[bot] 4f683319cb
chore(deps): update all non-major dependencies (main) (#19828)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-20 17:53:43 +00:00
Daniel Roe ebd7dcd4ba
fix(nuxt): handle external navigation to api routes (#19829) 2023-03-20 17:15:01 +00:00
Emil Rosenius 11ee3c92b9
fix(nuxt): add temporary augmentation for webstorm (and docs) (#19400)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-19 16:22:55 -07:00
Daniel Roe 3055ce35b1
fix(nuxt): use `h3` utilities to set response status/code (#19713) 2023-03-19 16:20:04 -07:00
Anthony Fu ce575b49e3
fix(nuxt): ignore falsy modules (#19684) 2023-03-19 16:16:13 -07:00
Daniel Roe 4ca2dccd38
fix(nuxt): unset context after app is created (#19753) 2023-03-17 19:01:16 +00:00
renovate[bot] 40ad3f799b
chore(deps): update all non-major dependencies (main) (#19750)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-17 02:43:07 -07:00
Daniel Roe 3e58f90914
chore: add internal types for nitro/app (#19745) 2023-03-16 09:27:10 -07:00
Harlan Wilton 7103670acc
fix(nuxt): unpause DOM updates on suspense resolve (#19740) 2023-03-16 07:53:10 -07:00
renovate[bot] 279088d5ab
chore(deps): update all non-major dependencies (main) (#19722)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-15 16:11:17 -07:00
renovate[bot] 3399a91b38
chore(deps): update all non-major dependencies (main) (#19706)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-15 14:27:42 -07:00
renovate[bot] 157bfbdedb
chore(deps): update all non-major dependencies (main) (#19686)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-15 07:51:15 -07:00
Daniel Roe 184d57bb19 v3.3.1 2023-03-14 14:45:19 +00:00
Daniel Roe a1691721d4 fix(nuxt): import builder path as file url 2023-03-14 14:24:04 +00:00
Daniel Roe 2ebf5f4c44
v3.3.0 (#19524) 2023-03-14 06:22:41 -07:00
Daniel Roe 4b2cb52f8a
fix(nuxt): fix default injection type for plugins (#19669) 2023-03-14 06:08:43 -07:00
Daniel Roe 9d850a2a12
feat(nuxt): add `nitro:build:public-assets` hook (#19638) 2023-03-14 03:34:55 -07:00
Daniel Roe 88a5f38de0 chore: constrain nitro to minor version 2023-03-14 10:23:29 +00:00
Daniel Roe 0f6276dc6e
fix(nuxt): mark non-augmented NuxtApp properties as unknown (#19643) 2023-03-14 03:09:50 -07:00
pooya parsa e84ec61eeb
feat(nuxt): support app config for server routes (#19489) 2023-03-14 02:54:59 -07:00
renovate[bot] 153433d9c6
chore(deps): update devdependency nitropack to ^2.3.0 (main) (#19654)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-14 01:59:29 -07:00
renovate[bot] e2206ad5d7
chore(deps): update all non-major dependencies (main) (#19630)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-13 13:49:29 -07:00
Hyunseung Lee e42d63a25a
fix(schema): show `payloadExtraction` warning only when unset (#18516)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-13 04:06:43 -07:00
Daniel Roe ce45590120
refactor(nuxt): let mlly handle search paths (#19635) 2023-03-13 10:14:27 +00:00
Daniel Roe ea8f78a63a
fix(nuxt): exclude `boolean` from inline module definitions (#19621) 2023-03-12 15:25:45 -07:00
Daniel Roe e13e227d06
fix(nuxt): resolve builder using esm syntax (#19608) 2023-03-11 15:11:28 -08:00
Daniel Roe 60b4c48eb4
fix(nuxt,schema): merge custom and resolved app configs (#19602) 2023-03-11 14:53:28 -08:00
Xin Du (Clark) 4de4de1a71
fix(nuxt): improve types for data fetching with `transform` (#19487) 2023-03-11 14:36:10 -08:00
Daniel Roe 53a2a0fdcb
fix(nuxt): avoid injecting adhoc modules in schema (#19607) 2023-03-11 14:11:48 -08:00
Daniel Roe b19b35fb67
fix(nuxt): provide node16-style type exports (#18431) 2023-03-11 13:16:01 -08:00
Daniel Roe e6bbf71fd5
chore: improve internal type safety (#19599) 2023-03-11 18:22:29 +00:00
renovate[bot] 42986a4669
chore(deps): update dependency unplugin to ^1.3.0 (main) (#19598)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-11 06:33:40 -08:00
renovate[bot] bba7a89728
chore(deps): update dependency h3 to ^1.6.0 (main) (#19593)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-10 13:34:39 -08:00
renovate[bot] 1376da76da
chore(deps): update all non-major dependencies (main) (#19584)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-10 08:46:34 -08:00
Harlan Wilton d2f0b22632
perf(nuxt): tree-shake server composables + prefer server head (#19576) 2023-03-10 08:45:22 -08:00
Daniel Roe 6d79b71588
refactor(kit,nuxi): resolve module paths using node algorithm (#19537) 2023-03-10 06:55:01 -08:00
Harlan Wilton c91e4d7933
feat(nuxt): add `useHeadSafe` and remove layer around head imports (#19548) 2023-03-10 00:01:21 -08:00
Daniel Roe 9a5e3e3044
chore(nuxt): update to new `hasProtocol` options format (#19555) 2023-03-09 18:37:18 +00:00
Daniel Roe d469740105
fix(nuxt): dedupe payload cache by payload url (#19563) 2023-03-09 18:36:54 +00:00
renovate[bot] d06c3009df
chore(deps): update all non-major dependencies (main) (#19541)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-09 06:38:05 -08:00
Daniel Roe a313f06261
fix(nuxt): only log boot errors on client-side (#19553) 2023-03-09 06:37:39 -08:00
Daniel Roe 9036142b14
feat(nuxt): add `watch` option and refactor dev server restarting (#19530) 2023-03-09 03:46:08 -08:00
Mehmet 17f080cad1
fix(nuxt): exclude nitro output dir from type checking (#19532) 2023-03-08 13:14:06 -08:00
renovate[bot] 4a934a5069
chore(deps): update all non-major dependencies (main) (#19493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-08 13:13:47 -08:00
Julien Huang 1729d2e42f
feat(nuxt): add `<NuxtClientFallback>` component (#8216) 2023-03-08 13:13:06 -08:00
Harlan Wilton 8732720221
perf(head): drop `@vueuse/head` dependency (#19519) 2023-03-08 07:32:24 -08:00
Daniel Roe df3ae8cb4e
feat(nuxt): enable chunk error handling by default (#19086) 2023-03-08 12:17:22 +00:00
Daniel Roe c2ab76d68e
perf(vite): mark more core functions as side-effect free (#19508) 2023-03-07 14:51:08 -08:00
Harlan Wilton bb61496e98
feat(nuxt): allow configuring treeshakeable composables (#19383) 2023-03-07 01:30:05 -08:00
Alex Korytskyi 3a73f42d1c
feat(nuxt): support `trailingSlashBehavior` in `defineNuxtLink` (#19458) 2023-03-06 23:17:42 -08:00
Alex Liu ca32852122
feat(nuxt): enable preloading object-syntax routes (#19120) 2023-03-06 03:34:17 -08:00
Daniel Roe 129bb4fa3a
feat(kit,nuxt): add component `priority` to allow overriding (#19252) 2023-03-06 03:33:40 -08:00
renovate[bot] a7d75a8465
chore(deps): update all non-major dependencies to ^1.1.16 (main) (#19466)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-05 12:59:50 -08:00
pooya parsa 71225e50c5
feat(nuxt): enable config schema by default (#19172) 2023-03-04 06:39:26 -08:00
Daniel Roe 3681bddfd5
feat(nuxt): auto-register modules in `~/modules` (#19394) 2023-03-03 17:52:55 +00:00
Daniel Roe a420369c90
fix(nuxt): don't print layout warning if page is not ssr (#19434) 2023-03-03 08:47:08 -08:00
Horu 588c3ff24c
fix(nuxt): add `kit.*` files to published package (#19430) 2023-03-03 08:04:03 -08:00
Daniel Roe bc9ffa4d15
feat(nuxt): add support for `nuxt/kit` subpath for local use (#19422) 2023-03-03 06:48:04 -08:00
Ivan 7131aef820
feat(schema): allow adding page routes without a matching file (#19173) 2023-03-03 06:07:42 -08:00
Stefan 6084f6416b
fix(nuxt): pass transform options to component loader plugin (#19414) 2023-03-03 02:40:24 -08:00
Xin Du (Clark) 654b9a21d7
fix(schema): update vite `import.meta` types (#19338) 2023-03-03 02:20:15 -08:00
renovate[bot] e3fe706625
chore(deps): update all non-major dependencies to ^1.1.15 (main) (#19395)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-02 08:54:03 -08:00
Lucie 0be8cda77a
fix(nuxt): prevent fallthrough attributes on custom `NuxtLink` (#19379) 2023-03-02 01:53:46 -08:00
Daniel Roe d4a75240ac
feat(nuxt): add `versions` to runtime nuxtApp (#19064) 2023-03-01 07:08:23 -08:00
Anthony Fu 59918f569e
feat(nuxt): scan composables with star export (#19249) 2023-03-01 04:24:46 -08:00
Inesh Bose c7eb891e12
fix(nuxt): deprecate scanning directory index plugins (#18418) 2023-03-01 04:08:58 -08:00
Alexander Lichter 639189ca88
fix(nuxt): clear loading indicator on unmount (#19340) 2023-02-28 20:18:47 +01:00
Daniel Roe 32f6cb27b7
perf(nuxt): increase static asset maxAge to 1yr (#19335) 2023-02-28 05:06:31 -08:00
Daniel Roe 021ba4310e
v3.2.3 (#19317) 2023-02-28 03:19:32 -08:00
renovate[bot] 0f4793616b
chore(deps): update all non-major dependencies to ^1.1.14 (main) (#19321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-28 02:26:11 -08:00
Daniel Roe 503b7acd55
perf(nuxt): don't update manifest in dev mode (#19315) 2023-02-27 11:36:27 -08:00
renovate[bot] 62b079a7d9
chore(deps): update dependency ufo to ^1.1.1 (main) (#19316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-27 11:35:51 -08:00
renovate[bot] 8bfc66d6f7
chore(deps): update all non-major dependencies (main) (#19235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-27 11:02:11 -08:00
Daniel Roe f16cce8824
fix(nuxt): compatible route object for custom external routes (#19261) 2023-02-27 07:13:14 -08:00
igayamaguchi 9e6fa9f7ba
fix(nuxt): preserve explicit `rel` attribute on internal link (#19309) 2023-02-27 13:29:57 +01:00
renovate[bot] fea495fb6c
chore(deps): update all non-major dependencies (main) (#19220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-22 15:04:09 -08:00