Commit Graph

364 Commits

Author SHA1 Message Date
Alexander e50cabfed1
fix(nuxt): show error page after fatal `abortNavigation` (#21047) 2023-05-25 13:29:22 -05:00
Daniel Roe fd30cc1e89
test: refactor type tests into a separate fixture (#21007) 2023-05-22 20:44:03 +01:00
Daniel Roe 980728275a
fix(nuxt): use `resolvePath` to handle edge cases for modules (#20975) 2023-05-20 23:29:32 +01:00
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 26861e68ce
fix(kit): resolve relative module paths when installing (#20896) 2023-05-20 23:10:52 +01:00
Daniel Roe b2a769a863 chore: remove outdated todo comment 2023-05-19 08:28:39 +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 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
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
Daniel Roe 33e2bd3dc0
feat(nuxt): support separate server tsconfig (#20559) 2023-05-15 16:36:30 +01:00
Daniel Roe aee1218e61 ci: add conditional for node 16 test 2023-05-15 11:31:13 +01:00
Julien Huang 603e7e7fb1
feat(nuxt): allow keeping fallback for `NuxtClientFallback` (#20336) 2023-05-14 22:22:54 +01:00
Daniel Roe 7006064567
feat(kit): `addBuildPlugin` for builder-agnostic implementation (#20587) 2023-05-14 12:55:26 +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
Daniel Roe 5e74fe4e0b
fix(nuxt): enable suspensible behaviour for nested pages (#20777) 2023-05-11 18:57:18 +01:00
Daniel Roe 93ba5e7cd2
feat(nuxt): use `runWithContext` within `callWithNuxt` (#20775) 2023-05-11 12:39:08 +01:00
Daniel Roe f170075c79
feat(deps): update vue to v3.3 (#20478) 2023-05-11 09:37:32 +01:00
Daniel Roe 95a0e17898
feat(schema): enable rich json payloads by default (#20770) 2023-05-10 23:31:13 +01:00
Daniel Roe 53fef72031
fix(nuxt): deduplicate global components before registration (#20743) 2023-05-10 13:57:27 +01:00
Eckhardt (Kaizen) Dreyer 10e9d71070
chore: fix typo in `pnpm-workspace.yaml` (#20751) 2023-05-10 09:15:11 +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 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
Daniel Roe 47591c92ec
test: test with bundler module resolution (#20629)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2023-05-04 10:38:02 +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
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