Commit Graph

432 Commits

Author SHA1 Message Date
Julien Huang 2e6c4519cf
fix(nuxt): bind `createClientOnly` render function to ctx (#22289) 2023-07-24 09:00:31 +01:00
Maik Kowol 7046930a67
fix(nuxt): add overloads for `asyncData` generic + default (#22258) 2023-07-23 09:24:54 +01:00
renovate[bot] 1f1de38d03
chore(deps): update all non-major dependencies (main) (#21979)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-20 10:43:33 +01:00
Daniel Roe 0f16cd6124
perf(nuxt,schema): do not watch `buildDir` and `node_modules` (#22214) 2023-07-19 15:43:28 +01:00
Daniel Roe 5b409f8579
fix(nuxt): avoid premature hydration when using async layouts (#22198) 2023-07-19 07:55:53 +01:00
Daniel Roe 449a01526a
fix(nuxt): ensure we only increment hydrating count once (#22200) 2023-07-18 16:21:53 +01:00
Julien Huang f4ec04f520
fix(nuxt): add `baseURL` to island fetch requests (#22009) 2023-07-18 16:07:35 +01:00
Daniel Roe a07cfb8663
refactor(cli,schema): add `bundler` module resolution flag (#22142) 2023-07-14 14:46:40 +01:00
Daniel Roe b06ae969f6
fix(test-utils): export from core playwright package (#22122) 2023-07-13 18:26:04 +01:00
Daniel Roe c10a624052 chore: add explicit vue dependency in fixtures 2023-07-06 13:07:17 +01:00
Daniel Roe d0dde6426f
fix(nuxt): preserve old vnode when leaving nested route (#21823) 2023-07-05 12:39:39 +02:00
renovate[bot] 00fb33379c
chore(deps): update all non-major dependencies (main) (#21939)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-05 12:18:44 +02:00
anhao e70ff83e72
fix(vite): fix issue detecting shadowed keyed composables (#21891) 2023-07-05 11:35:45 +02:00
ChronicStone fd2b36a64d
fix(nuxt): support custom route name meta with `typedPages` (#21659) 2023-07-04 06:24:50 +01:00
renovate[bot] d15df420a3
chore(deps): update all non-major dependencies (main) (#21851)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-03 21:08:25 +01:00
Julien Huang 9f5130d06b
fix(nuxt): stop loading indicator on navigation failure (#21751) 2023-07-03 12:14:17 +01:00
Daniel Roe 6a9fbbfe46
test: add `nuxt-vitest` and composable unit tests (#21884) 2023-07-02 09:59:16 +01:00
renovate[bot] 07a0e9d412
chore(deps): update all non-major dependencies (main) (#21833)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-28 15:43:04 +01:00
Daniel Roe e023c06353
fix(nuxt, vite): do not use cjs utils to resolve/alias vue (#21837) 2023-06-28 14:49:50 +01:00
Daniel Roe 489b088836
fix(nuxt): only redirect if path is not the same as initial url (#21815) 2023-06-27 11:15:35 +01:00
Daniel Roe 9c8746f2a6
chore: prune internal unused code and exports (#21809) 2023-06-27 10:38:40 +01:00
Daniel Roe 4a7134f9b4
fix(nuxt): use starting index when transforming islands (#21795) 2023-06-26 19:32:02 +01:00
Daniel Roe e69837d6a7 test: bump bundle size 2023-06-26 13:40:52 +01:00
renovate[bot] d9a3ab80e0
chore(deps): update all non-major dependencies (main) (#21776)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-26 13:24:21 +01:00
Daniel Roe 12403d160f
fix(vite): emit assets referenced in inline css (#21790) 2023-06-26 13:11:12 +01:00
renovate[bot] c0ba36fcd6
chore(deps): update dependency esbuild to ^0.18.8 (main) (#21736)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-25 23:51:03 +01:00
Daniel Roe dd913ce0d8
fix(vite): resolve css files without importer id first (#21770) 2023-06-25 22:51:31 +01:00
Daniel Roe 4cc9a7135d
fix(nuxt): inline global css with `ssr: false` route rule (#21763) 2023-06-25 22:50:42 +01:00
Daniel Roe 88bc32d42a
fix(nuxt): proxy headers to islands + returned prerender hints (#21740) 2023-06-25 17:38:15 +01:00
Anthony Fu adb1c122a7
fix(nuxt): fix error on layout switching (#21450)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-23 11:02:01 +01:00
Daniel Roe dd5dff37d5
fix(nuxt,schema): prefer unknown rather than any for signatures (#21700) 2023-06-22 14:14:21 +01:00
Daniel Roe be3f6f7018
feat(nuxt): update devdependency nitropack to v2.5.1 (#21696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 10:38:26 +01:00
renovate[bot] c30b91ada8
chore(deps): update all non-major dependencies (main) (#21660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-21 12:28:17 +01:00
Daniel Roe c3c56c14ab
fix(nuxt): guard `res.end()` calls with check if event is handled (#21665) 2023-06-21 07:07:02 +01:00
Daniel Roe c66c82e6a0
feat(nuxt): allow configuring spa loading indicator (#21640) 2023-06-20 19:55:20 +01:00
Daniel Roe 343a46d5f9
fix(nuxt): inline css directly in root component (#21573) 2023-06-20 19:28:44 +01:00
Daniel Roe 2abcc16cfb
perf(nuxt): extract and apply plugin order at build time (#21611) 2023-06-20 00:00:03 +01:00
Daniel Roe bb4ed5e406
fix(nuxi): add back default `baseUrl` in `tsconfig.json` (#21632) 2023-06-19 23:29:09 +01:00
Daniel Roe 0e575ad5ab
feat(nuxt): expose `useNuxtApp` to window for convenience (#21636) 2023-06-19 17:17:15 +01:00
Inesh Bose c73bed8c6d
feat(kit): allow direct function in `defineNuxtModule` (#20763) 2023-06-16 15:47:38 +01:00
Nicolas Payot 187230b0c5
fix(nuxt): abort navigation when updating `window.location` (#21521) 2023-06-14 15:37:21 +01:00
Daniel Roe f97052cbaf test: skip instance error test in vite ecosystem CI 2023-06-14 11:21:12 +01:00
Daniel Roe 19fc2828fb
perf(nuxt): use prerendered islands to serialise/revive payload (#21461) 2023-06-14 10:09:27 +01:00
renovate[bot] 3b0b924946
chore(deps): update dependency destr to v2 (main) (#21536)
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>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-12 20:43:13 +01:00
Daniel Roe 05a8c2d955
fix(nuxt): respect query/hash for external routes in `navigateTo` (#21500) 2023-06-11 22:27:02 +01:00
Daniel Roe ce4f46385f chore: bump bundle size 🤔 2023-06-10 23:32:43 +01:00
Julien Huang 41d34ca67d
feat(nuxt): allow accessing `NuxtLayout` ref via `layoutRef` (#19465) 2023-06-10 23:17:14 +01:00
Julien Huang 319935fc95
feat(nuxt): allow accessing `NuxtPage` ref via `pageRef` (#19403) 2023-06-10 23:13:33 +01:00
Daniel Roe 08df73801a test: update bundle size 2023-06-10 10:19:03 +01:00
Edward Hibbert 13aae836e8 perf(nuxt): import error component synchronously (#21406) 2023-06-10 10:11:26 +01:00