Commit Graph

181 Commits

Author SHA1 Message Date
Anthony Fu
59918f569e
feat(nuxt): scan composables with star export (#19249) 2023-03-01 04:24:46 -08:00
Mathieu Magalhaes
f5a3d7968c
fix(nuxt): respect redirects which differ only by trailing slash (#18593)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-16 09:26:15 -08:00
Daniel Roe
1e8b27f36c
perf(nuxt): don't include side-effects from #components (#19008) 2023-02-16 07:00:40 -08:00
Daniel Roe
7d0ecb5a96
fix(nuxt): show client error if no page matches after validate fails (#18978) 2023-02-16 04:56:14 -08:00
Julien Huang
61cd6b5c71
fix(nuxt): use parser to treeshake client-only declarations (#18951) 2023-02-16 04:47:42 -08:00
Nick Williams
9dc5413cbd
fix(vite): respect isCustomElement config for jsx transform (#19053) 2023-02-16 04:45:08 -08:00
Daniel Roe
96b09ea982
feat(nuxt): add experimental app:chunkError hook and reload strategy (#19038) 2023-02-16 04:43:58 -08:00
Daniel Roe
d036d3dec5
ci: run webpack/vite and dev/prod as matrices (#18905) 2023-02-13 22:09:32 +00:00
Lioness100
b25b6c82c7
docs: fix typos (#18976) 2023-02-12 19:16:42 +00:00
Daniel Roe
19bef5aba4
fix(schema): allow type inference of arrays in runtime config (#18931)
* fix(schema): allow type inference of arrays in runtime config

* test: add types fixture
2023-02-10 07:36:10 +00:00
Daniel Roe
5426e5609a test: decrease vite logging during tests 2023-02-09 09:26:23 +01:00
Julien Huang
113ce71c34
fix(nuxt): use parser to treeshake <ClientOnly> (#8713) 2023-02-08 00:59:57 -08:00
Dany Sluijk
bae73c3650
feat(nuxt): infer useFetch return based on the method (#18526) 2023-02-07 06:01:31 -08:00
Daniel Roe
01076d144f
feat(schema): add type hints for runtime config (#18652) 2023-02-06 15:27:35 -08:00
Daniel Roe
b8f6243621
fix(nuxt): provide fallback values for undefined runtime config (#18586) 2023-01-28 07:18:04 -08:00
Daniel Roe
1d68b51c2c
fix(nuxt): async transform for inline middleware (#18460) 2023-01-25 04:52:00 -08:00
Daniel Roe
fdb31f418f
fix(nuxt): don't render unknown components with placeholder (#18494) 2023-01-25 02:30:59 -08:00
Daniel Roe
9751c9dab7
fix(nuxt): do not override inferred type of <NuxtPage> (#18495) 2023-01-25 00:44:59 -08:00
pooya parsa
1af319e0fa
feat: experimental config schema (#18410) 2023-01-23 19:07:21 +01:00
Daniel Roe
c5d6db7fd0
fix(nuxt): await async callWithNuxt calls (#18443) 2023-01-23 11:13:21 +00:00
Anthony Fu
5ede291a14 test: init hmr testing (#4372) 2023-01-22 16:47:24 +00:00
Inesh Bose
98d292ae85
fix(nuxt): provide types for modules as array (#18416)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-21 16:55:44 +00:00
Alexander Lichter
fa2672485a
fix(kit): resolve group syntax of ignore (#15884) 2023-01-20 16:23:16 +00:00
Daniel Roe
5e1881c20a
feat(nuxt): support server components with extracted payloads (#10113) 2023-01-20 12:10:58 +00:00
Jose Morel
baf9d950db
feat(vite): support build.transpile as function (#7767)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-19 10:56:34 +00:00
Anthony Fu
1e8da22893
fix(vite): add additional before skipping vite transform (#10120) 2023-01-16 16:04:16 +00:00
Daniel Roe
bf649fe576
fix(nuxt): allow overriding lower layer composables (#10017) 2023-01-14 01:14:24 +00:00
renovate[bot]
0b1cdcc70d
chore(deps): update devdependency @nuxtjs/eslint-config-typescript to v12 (#9086)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-14 01:13:48 +00:00
Mohammad Saleh Fadaei
5b19a0dc34
fix(nuxt): don't try to override computed layouts in definePageMeta (#9161) 2023-01-14 00:58:54 +00:00
Julien Huang
f4ba7ec82d
fix(nuxt): don't short circuit middleware after validate function (#9180) 2023-01-14 00:23:20 +00:00
Daniel Roe
2d013c5fad
feat(nuxt): server-only components (#9972) 2023-01-09 11:20:33 +00:00
Daniel Roe
4cf110e0d8
fix(nuxt): make dev-only regexp less greedy (#9679) 2022-12-13 09:39:14 +00:00
Daniil Chudo
ab2456c295
refactor: split out type imports from value imports (#9225) 2022-12-11 21:44:52 +00:00
Evgeny Yurkin
4641e8e504
fix(nuxt): await plugin asyncdata promises in nuxt hook (#9616) 2022-12-10 22:44:29 +00:00
Daniel Roe
c26979a047
fix(nuxt): useCookie with defaults should return non-null value (#9449) 2022-12-02 10:45:33 +01:00
Daniel Roe
aa9aec112a
fix(nuxt): allow layouts to receive custom props (#9395) 2022-11-29 13:16:41 +01:00
Daniel Roe
ab125bd1c5
feat(nuxt): experimental server component islands (#5689)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-11-24 13:24:14 +01:00
Toby Faux
32044dc8a5
fix(nuxt): allow union type arguments for useAsyncData (#9061) 2022-11-16 15:27:24 +01:00
pooya parsa
5ac9d85a49
refactor!: remove deprecated api (#9029) 2022-11-16 03:26:35 +01:00
pooya parsa
6e78f9dbb0
fix(nuxt)!: enable payload extraction only for nuxi generate (#9018) 2022-11-15 17:27:34 +01:00
Harlan Wilton
fddc8b2e6e
feat(nuxt, schema): official @vueuse/head v1 support (#8975) 2022-11-15 17:26:38 +01:00
Daniel Roe
2c2fbdffc9
refactor(nuxt)!: move head option support into defineNuxtComponent (#8901) 2022-11-15 15:47:17 +01:00
pooya parsa
b49f2a8147
refactor: update unjs dependencies to stable v1 (#9011) 2022-11-15 15:33:43 +01:00
Daniel Roe
9227361027
fix(nuxt): detect non-functional imports within page meta (#8881) 2022-11-10 11:31:01 +01:00
Daniel Roe
4bbd2618ce
feat(nuxt): auto-import utils/ directory (#8817) 2022-11-09 10:43:16 +01:00
Daniel Roe
4e8f59bf70
fix(schema): add declarations to ignore list (#8787) 2022-11-09 10:01:09 +01:00
Daniel Roe
e76ebdddd0
fix(nuxt): allow cookies to be set to null to unset them (#8769)
Co-authored-by: Magyar Balázs <magyarb94@gmail.com>
2022-11-09 09:59:23 +01:00
Daniel Roe
ee8e9ae656
test: update type test for strict mode (#8669) 2022-11-03 21:22:20 +01:00
Daniel Roe
491d02f6ca
fix(nuxt)!: use parser to generate page metadata (#8536) 2022-11-02 11:28:41 +01:00
Daniel Roe
bdacfa6ffe
fix(nuxt): pass async-data errors through to client (#8521) 2022-11-02 10:07:28 +01:00