Commit Graph

332 Commits

Author SHA1 Message Date
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
Anthony Fu 84559e84aa
feat(kit): support passing getter to `addVitePlugin` and `addWebpackPlugin` (#20525) 2023-05-02 12:17:41 +01:00
Daniel Roe 16bf228437
fix(nuxt): ensure `useError` is called with nuxt app context (#20585) 2023-05-01 23:55:24 +01:00
Daniel Roe 8b86d39e30
refactor(schema): move `runtimeCompiler` option out of experimental (#20606) 2023-05-01 17:39:07 +01:00
Daniel Roe 6ef2e1caea
fix(nuxt): remove backwards-compatible runtimeConfig proxy (#20340) 2023-04-29 23:38:40 +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 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 200cb2787e
fix(nuxt): throw 404 when accessing `/__nuxt_error` directly (#20497) 2023-04-25 15:47:02 +01:00
Daniel Roe ac598e4f4d test: update snapshot 2023-04-25 11:26:45 +01:00
Daniel Roe ba320a5589 test: exclude default error pages from bundle test 2023-04-25 10:20:11 +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 12f347a928
fix(nuxt): clone app config on server (#20278) 2023-04-20 13:33:45 +01:00
Daniel Roe 83f0103a47
fix(schema): rely on installed telemetry types (#19640) 2023-04-19 22:02:15 +01:00
Daniel Roe c7be5b4ec6
refactor(nuxt): rework and use `isJS` and `isVue` utilities consistently (#20344) 2023-04-19 19:17:36 +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
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
Daniel Roe 8aa86559c8
fix(nuxt): mark `useRequestHeaders` keys as optional (#20286) 2023-04-15 15:43:19 +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 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 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
Daniel Roe 22f1f71e3e
fix(nuxt): mark entire payload as reactive (#20218) 2023-04-12 01:42:45 -07:00
Daniel Roe 67ca0815ac
test: add js payload test suite (#20217) 2023-04-11 15:57:12 -07:00
Daniel Roe fe2800540c
fix(nuxt): set config on `ssrContext` in spa renderer (#20216) 2023-04-11 15:33:21 -07:00
Daniel Roe d265abbad7 test: update bundle size snapshot 2023-04-11 16:05:25 +01:00
Julien Huang 163913a744
feat(nuxt): add `experimentalNoScripts` route rule (#19805) 2023-04-11 07:17:44 -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
Daniel Roe b33b84d57e chore: use workspace ref 2023-04-10 12:36:07 +01: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
Harlan Wilton 0c9823eb87
perf(head): disable `@vueuse/head` polyfill by default (#20131) 2023-04-07 06:10:35 -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
Julien Huang b068f79fee
fix(nuxt): add key to `.client` component placeholders (#20093) 2023-04-07 01:31:04 -07:00
Daniel Roe f1baa0355b style: lint 2023-04-06 13:12:20 +01: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
Daniel Roe b811742f89
fix(nuxt): add types for globally injected `$config` object (#20081) 2023-04-04 06:34:39 -07:00
Daniel Roe bf8fe61b33
test: use kb size snapshot (#20083) 2023-04-04 05:34:29 -07:00
Daniel Roe f40b3e2492
feat(nuxt): support `~`/`~~`/`@`/`@@` aliases within layers (#19986) 2023-04-03 06:18:24 -07:00