Commit Graph

2820 Commits

Author SHA1 Message Date
Clément Ollivier 944bba97ca
docs: update structure (#7047)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-13 14:54:31 +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
Daniel Roe 8bccdf44e8
docs: fix typo (#7437) 2022-09-12 12:42:42 +02:00
Krutie Patel 9f1ac4f201
docs(api): add `useRuntimeConfig` page (#7406)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-12 12:29:42 +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 068e127551 test: disable payload tests for windows
(might be because of unstability)
2022-09-12 10:56:04 +02:00
Pooya Parsa fe5b1c21ae test: disable payload test for dev for now
only windows has been failed 4 times on windows/dev and not used.
2022-09-12 10:50:56 +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
Corey Richardson b68bfb0a24
docs: remove duplicate word (#7387) 2022-09-09 20:09:03 +01: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
renovate[bot] f698d7ad61
chore(deps): update devdependency typescript to ^4.8.3 (#7368)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-09 11:54:40 +02:00
Daniel Roe e4b8c2dc88
fix(vite): warmup improvements (#7377) 2022-09-09 11:54:20 +02:00
Julien Huang 6c462b3315
docs(head): enhance usehead and fix broken links (#7364) 2022-09-08 20:54:02 +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
Julien Huang 4660cc5918
docs(api): add `nuxi prepare` command (#7349) 2022-09-08 16:16:35 +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
Adewale Abati 8a56d8137a
chore: update CodeSandbox links (#7318) 2022-09-07 13:24:37 +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
Daniel Roe 1c07914608
test: fix dynamic dev paths (#7314) 2022-09-07 12:41:25 +02:00
Daniel Roe 7ef028d4f9
test: use semantic `runIf` and `skipIf` helpers (#7312) 2022-09-07 11:55:03 +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