Commit Graph

207 Commits

Author SHA1 Message Date
Harlan Wilton 9b09b4d112
feat(nuxt): render all head tags on server with `unhead` (#22179) 2023-07-30 19:46:16 +01:00
renovate[bot] 9e92c74d07
chore(deps): update all non-major dependencies (main) (#22315)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-30 16:45:37 +01:00
Daniel Roe 2f734df9b5
fix(nuxt): disallow redirects to more script protocols (#22366)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2023-07-30 11:09:16 +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 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
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 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
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 4cc9a7135d
fix(nuxt): inline global css with `ssr: false` route rule (#21763) 2023-06-25 22:50:42 +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 0e575ad5ab
feat(nuxt): expose `useNuxtApp` to window for convenience (#21636) 2023-06-19 17:17:15 +01:00
Nicolas Payot 187230b0c5
fix(nuxt): abort navigation when updating `window.location` (#21521) 2023-06-14 15:37:21 +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 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
Jongmin Yoon 31a1b98f3f
feat(nuxt): provide `clearNuxtState` composable (#21409) 2023-06-09 22:22:21 +01:00
Daniel Roe c6a7527e51
ci: move bundle skipping logic to workflow (#21448) 2023-06-07 21:07:58 +01:00
Wilson Pinto c4e5ac83bf
feat(nuxt): add `open` option in `navigateTo` helper (#21333) 2023-06-07 20:27:00 +01:00
pooya parsa 05f3decfa9
fix(nuxt): avoid early returning renderer with empty response (#21439) 2023-06-07 14:11:59 +01:00
renovate[bot] f0ade90645
chore(deps): update all non-major dependencies (main) (#21410)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-07 13:30:41 +01:00
Daniel Roe 7710ed30fa
fix(nuxt): skip vue render when redirecting (#21412) 2023-06-07 13:18:50 +01:00
renovate[bot] 5872015be3
fix(vite): remove `resolveId` workaround and update vite-node (#21423)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-07 12:42:59 +01:00
Anthony Fu 6d59a027c7
perf(nuxt): mark define functions as side-effect free at source (#21434) 2023-06-07 11:11:24 +01:00
Asher White 0bc38b7e19
fix(nuxt): replace BigInt literal with BigInt constructor (#21427) 2023-06-07 09:57:44 +01:00
Daniel Roe 370b84e909
fix(nuxt): handle page rendering on different path (#21408) 2023-06-06 22:47:32 +01:00
renovate[bot] 1879e1cd4d
chore(deps): update all non-major dependencies (main) (#20984)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-25 16:38:10 -05:00
Julien Huang 2d680455ae
fix(nuxt): skip middleware for islands components (#20924) 2023-05-20 23:26:29 +01:00
Anthony Fu 433b52930a
feat(nuxt): support parallel plugins (#20460) 2023-05-16 09:50:43 +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 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 da3357449f
feat(nuxt): add `nuxtApp.runWithContext` (#20608) 2023-05-03 11:02: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
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 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
Daniel Roe 12f347a928
fix(nuxt): clone app config on server (#20278) 2023-04-20 13:33:45 +01:00
renovate[bot] 6b75cceb3d
chore(deps): update all non-major dependencies (main) (#20395)
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>
2023-04-19 17:03:51 +01:00
renovate[bot] fe441a1364
chore(deps): update all non-major dependencies (main) (#20364)
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>
2023-04-18 16:52:31 +01:00
Daniel Roe 53db8125f1
perf(nuxt): share lazy component definitions (#20259) 2023-04-13 20:08:08 +01:00
Daniel Roe b011d3d76f
fix(nuxt): improve handling of redirects within middleware (#20244) 2023-04-13 02:58:25 -07:00
Daniel Roe 22f1f71e3e
fix(nuxt): mark entire payload as reactive (#20218) 2023-04-12 01:42:45 -07:00
Daniel Roe d265abbad7 test: update bundle size snapshot 2023-04-11 16:05:25 +01:00
Daniel Roe 4285092879
feat(nuxt): support object-syntax plugins (#20003) 2023-04-11 04:58:43 -07:00
renovate[bot] 98d1c0e827
chore(deps): update all non-major dependencies (main) (#20184)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-10 14:46:12 -07:00
Anthony Fu 11a9780c80
feat(nuxt): prompt to install `devtools` when it's enabled (#20126) 2023-04-07 08:34:11 -07:00
Harlan Wilton 0c9823eb87
perf(head): disable `@vueuse/head` polyfill by default (#20131) 2023-04-07 06:10:35 -07:00
pooya parsa 9e503be0f2
feat(nuxt): experimental option for rich json payloads (#19205)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-07 03:34:35 -07:00
Daniel Roe bf8fe61b33
test: use kb size snapshot (#20083) 2023-04-04 05:34:29 -07:00
Daniel Roe 5785908ec6 test: bump bundle size test by 100 bytes 2023-04-01 10:11:48 +01:00
Daniel Roe 434e2013e4 test: skip bundle size test in ecosystem-ci suites 2023-03-31 10:06:33 +01:00
renovate[bot] eef031a97f
chore(deps): update all non-major dependencies (main) (#19985)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-30 07:37:21 -07:00
renovate[bot] 24739b6a8c
chore(deps): update all non-major dependencies (main) (#19914)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-28 06:17:30 -07:00
renovate[bot] fc9c3803b8
chore(deps): update all non-major dependencies (main) (#19862)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-22 17:45:39 -07:00
Mehdi HosseinZade 3a971d0b36
fix(nuxt): observe slot element in custom nuxt-link (#19802) 2023-03-20 14:46:12 -07:00
Daniel Roe ebd7dcd4ba
fix(nuxt): handle external navigation to api routes (#19829) 2023-03-20 17:15:01 +00:00
Daniel Roe e57c797f2b test: bump bundle size 2023-03-17 21:50:51 +00:00
Daniel Roe 4ca2dccd38
fix(nuxt): unset context after app is created (#19753) 2023-03-17 19:01:16 +00:00
Daniel Roe 5d9d92c4e0
test: remove sourcemaps from minimal test (#19730) 2023-03-16 00:34:22 -07:00
renovate[bot] 279088d5ab
chore(deps): update all non-major dependencies (main) (#19722)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-15 16:11:17 -07:00
renovate[bot] 153433d9c6
chore(deps): update devdependency nitropack to ^2.3.0 (main) (#19654)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-14 01:59:29 -07:00
Daniel Roe 472ee4f8b3
chore: refresh lockfile (#19653) 2023-03-13 13:20:45 -07:00
renovate[bot] bba7a89728
chore(deps): update dependency h3 to ^1.6.0 (main) (#19593)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-10 13:34:39 -08:00
renovate[bot] 1376da76da
chore(deps): update all non-major dependencies (main) (#19584)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-03-10 08:46:34 -08:00
Harlan Wilton c91e4d7933
feat(nuxt): add `useHeadSafe` and remove layer around head imports (#19548) 2023-03-10 00:01:21 -08:00
Julien Huang 1729d2e42f
feat(nuxt): add `<NuxtClientFallback>` component (#8216) 2023-03-08 13:13:06 -08:00
Harlan Wilton 8732720221
perf(head): drop `@vueuse/head` dependency (#19519) 2023-03-08 07:32:24 -08:00
Daniel Roe df3ae8cb4e
feat(nuxt): enable chunk error handling by default (#19086) 2023-03-08 12:17:22 +00:00
Daniel Roe c2ab76d68e
perf(vite): mark more core functions as side-effect free (#19508) 2023-03-07 14:51:08 -08:00
Alex Korytskyi 3a73f42d1c
feat(nuxt): support `trailingSlashBehavior` in `defineNuxtLink` (#19458) 2023-03-06 23:17:42 -08:00
Lucie 0be8cda77a
fix(nuxt): prevent fallthrough attributes on custom `NuxtLink` (#19379) 2023-03-02 01:53:46 -08:00
Daniel Roe d4a75240ac
feat(nuxt): add `versions` to runtime nuxtApp (#19064) 2023-03-01 07:08:23 -08:00
renovate[bot] 0f4793616b
chore(deps): update all non-major dependencies to ^1.1.14 (main) (#19321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-28 02:26:11 -08:00
renovate[bot] 8bfc66d6f7
chore(deps): update all non-major dependencies (main) (#19235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-27 11:02:11 -08:00
Daniel Roe f16cce8824
fix(nuxt): compatible route object for custom external routes (#19261) 2023-02-27 07:13:14 -08:00
renovate[bot] 7a4a416f3c
chore(deps): update all non-major dependencies (main) (#19209)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-22 01:30:30 -08:00
renovate[bot] a3713eb827
chore(deps): update all non-major dependencies (main) (#19168)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-21 22:01:59 -08:00
pooya parsa 15b9386a39
chore: update nitropack and unjs dependencies (#19100)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-17 05:38:19 -08:00
renovate[bot] e2fc6f267d
chore(deps): update dependency unenv to ^1.2.0 (main) (#19087)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-16 09:24:05 -08:00
Daniel Roe 1e8b27f36c
perf(nuxt): don't include side-effects from `#components` (#19008) 2023-02-16 07:00:40 -08:00
Ayaka Rizumu 88b895a23a
chore(deps): update @vueuse/head dependencies to 1.0.26 (#19076) 2023-02-16 03:44:31 -08:00
Xin Du (Clark) 859fbd0add
fix(nitro): ensure ssr error `statusCode` is a number (#19001) 2023-02-13 22:55:29 +00:00
Daniel Roe 9a035a15c5
refactor(nuxt): within nuxt app, import directly from source file (#18902) 2023-02-08 22:26:41 -08:00
pooya parsa 9845467421
feat(nuxt): upgrade to nitropack 2.2 (#18889) 2023-02-09 07:02:07 +01:00
renovate[bot] 1dc0c0c1fc
chore(deps): update all non-major dependencies (main) (#18841)
* chore(deps): update all non-major dependencies

* test: add `uncrypto` to snapshot

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-07 02:00:24 -08:00
renovate[bot] 7c1712013c
chore(deps): update all non-major dependencies (main) (#11127)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2023-01-20 16:17:31 +00:00
Daniel Roe 5afcaca98f
feat(vite): upgrade to vite 4 (#9238) 2022-12-12 15:22:04 +00:00
renovate[bot] 9d81221486
chore(deps): update all non-major dependencies (#8915) 2022-11-15 18:36:57 +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 e79d72cd06
test: add bundle size test (#8133)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-19 17:29:01 +02:00