Commit Graph

2114 Commits

Author SHA1 Message Date
pooya parsa 3a60bf69ce
perf(nuxt): import `defineNuxtConfig` from `nuxt/config` (#7485) 2022-09-14 12:37:30 +02:00
Daniel Roe 5d79ed5f9e
feat(nuxt): allow passing transition & keepalive props to `<NuxtPage>` (#7492) 2022-09-14 12:34:16 +02:00
Daniel Roe ee75b48526
refactor(nuxt): use relative imports into composables (#7487) 2022-09-14 11:22:03 +02:00
Daniel Roe 40d090745b
fix(nuxt): only delete assets when building (#7486) 2022-09-13 23:57:58 +02:00
Alex Liu addcb5cd47
feat(nuxt): support prefetching `<nuxt-link>` (#4329)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-13 22:20:23 +02:00
renovate[bot] 65481d4d3d
chore(deps): update all non-major dependencies (#7476)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 20:57:14 +02:00
Daniel Roe 31de18100c
perf(nuxt): only inject preload helper when webpack is used (#7460) 2022-09-13 12:57:14 +02:00
renovate[bot] 1be5e4170b
chore(deps): update dependency strip-literal to ^0.4.1 (#7462)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-13 12:55:12 +02:00
Daniel Roe 3753ea0ead
feat(nuxt): add `workspaceDir` option and add it to `modulesDir` (#7439) 2022-09-12 22:06:17 +02:00
pooya parsa ceb61ada2b
refactor(schema): upgrade to untyped 0.5 (#7452) 2022-09-12 20:22:41 +02:00
Daniel Roe 9382b42d7b
fix(vite): don't fail builds for virtual modules that don't support inlining (#7440) 2022-09-12 17:14:11 +02:00
Daniel Roe 13dc0b94c4
feat(nuxt): allow exposing type augmentations from extends layers (#7442) 2022-09-12 15:41:15 +02:00
Daniel Roe 5893dc201f
fix(nuxt): augment GlobalComponents from `@vue/runtime-core` (#7448) 2022-09-12 15:40:44 +02:00
renovate[bot] e2daa50960
chore(deps): update all non-major dependencies (#7427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-12 12:17:38 +02:00
Daniel Roe d5078168be
fix(vite): use same asset filenames between server and client (#7436) 2022-09-12 12:12:41 +02:00
Daniel Roe 46240a8c14
test(nuxt): add tests for import protection plugin (#7416) 2022-09-12 11:23:37 +02:00
Daniel Roe 563cf7c1c9
fix(nuxt): use more specific `FetchError` for `useFetch` errors (#7435) 2022-09-12 11:23:19 +02:00
pooya parsa 888bd7c145
feat(nuxt): payload rendering support (#6455)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-10 15:57:16 +02:00
renovate[bot] 674b53b3f9
chore(deps): update all non-major dependencies (#7383)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-10 15:39:55 +02:00
pooya parsa 270055b86d
feat(cli)!: use giget 0.1x with template registry for `nuxi init` (#7404) 2022-09-10 15:37:25 +02:00
Daniel Roe 9abc7a2122
fix(nuxt): do not apply import protection to top-level resolution (#7344) 2022-09-10 13:51:17 +02:00
Daniel Roe 83949c3734
fix(nuxt): always inline entry styles (#7386) 2022-09-10 11:43:17 +02:00
Daniel Roe e60d03b940
fix(nuxt): de-default layout/component imports (#7389) 2022-09-10 11:41:32 +02:00
Daniel Roe 0ab29f6f2a
fix(vite): write dev manifest before spa build (#7380) 2022-09-09 12:28:07 +02:00
Daniel Roe e05f8ee126
fix(nuxi): don't include an array of paths within an array (#7378) 2022-09-09 12:17:44 +02:00
Daniel Roe e4b8c2dc88
fix(vite): warmup improvements (#7377) 2022-09-09 11:54:20 +02:00
Pooya Parsa 0cc49e2a20 build(nuxi): add `node` to export conditions 2022-09-08 18:05:59 +02:00
pooya parsa e0c5907f0a
feat(nuxi): switch to `unjs/giget` for `nuxi init` (#7361) 2022-09-08 17:43:04 +02:00
Daniel Roe e22bbcc380
fix(vite): update render if it is invalidated (#7347) 2022-09-08 16:17:22 +02:00
pooya parsa a418895595
fix(kit): add default config layer without `nuxt.config` file (#7358) 2022-09-08 16:15:52 +02:00
Daniel Roe d81a742311
fix(schema): resolve `ssr` (#7359) 2022-09-08 16:15:33 +02:00
Daniel Roe 2b37d72eb9
fix(vite): allow overriding vite sourcemap (#7342) 2022-09-08 15:52:30 +02:00
Daniel Roe be77d477d0
fix(webpack): don't parse styles for composable keys (#7333) 2022-09-08 10:55:30 +02:00
Daniel Roe 9c3bef4a01
fix(nuxt): allow `abortMiddleware` to receive a nuxt error or error options (#7335) 2022-09-08 10:52:00 +02:00
renovate[bot] 849b8cb702
chore(deps): update all non-major dependencies (#7321)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-08 10:45:39 +02:00
Daniel Roe bb8942a401
fix(schema): mark vite server as optional (#7327) 2022-09-07 17:38:15 +02:00
Alex Kozack 6b3a1a4256
feat(nuxt): filter support for `clearNuxtData` (#7323) 2022-09-07 15:25:37 +02:00
Daniel Roe eab4706614
feat: allow client-side sourcemaps in production (#7313) 2022-09-07 13:32:10 +02:00
Alexander Lichter ec210190d1
fix(schema): disallow setting vite server properties (#7317) 2022-09-07 13:26:06 +02:00
Alex Kozack b2f573f685
feat(nuxt): add `clearNuxtData` (#5227)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-07 13:20:09 +02:00
Vl4dimyr fc2be9ed42
feat(nuxt): add `immediate` option for `useAsyncData` and `useFetch` (#5500)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-07 11:47:40 +02:00
Daniel Roe 577a7b681e
perf(vite): remove duplicate css links from rendered page when inlined (#7264) 2022-09-07 10:41:08 +02:00
Daniel Roe 2bb898fa98
fix(webpack): promisify webpack dev/hot handlers using `h3.promisifyHandler` (#7275) 2022-09-07 10:35:21 +02:00
Daniel Roe 5a69f48244
fix(nuxt): don't try to set cookie after redirect (#7288) 2022-09-07 10:34:16 +02:00
Julien Huang f8f5771646
perf(nuxt): cache `createClientOnly` wrapper using weakmap (#7297) 2022-09-07 10:31:11 +02:00
Daniel Roe 1ca294e125
fix(nuxt): don't override payload error if it is present (#7290) 2022-09-06 18:21:53 +02:00
renovate[bot] 4e0c2c4485
chore(deps): update all non-major dependencies (#7276)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 18:15:47 +02:00
Daniel Roe a931667111
feat(kit): add `addImportsSources` utility (#7270) 2022-09-06 12:17:41 +02:00
Daniel Roe 524ba557eb
fix(nuxi): pass value of `https` through to vite-node (#7271) 2022-09-06 11:45:14 +02:00
Daniel Roe a4fa070ad5
refactor(vite): reuse resolved server entry from context (#7268) 2022-09-06 10:21:17 +02:00