Conversation
|
|
🦋 Changeset detectedLatest commit: 5c7fca9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Someone is attempting to deploy a commit to the Hey API Team on Vercel. A member of the Team first needs to authorize it. |
|
Error agent completed without reporting progress |
…s. Also will no longer generate `module.cjs` as this is not required for Nuxt v3+
c39bc13 to
3e60e8c
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3631 +/- ##
=======================================
Coverage 38.99% 38.99%
=======================================
Files 513 513
Lines 18771 18771
Branches 5565 5559 -6
=======================================
Hits 7319 7319
Misses 9255 9255
Partials 2197 2197
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@hey-api/codegen-core
@hey-api/json-schema-ref-parser
@hey-api/nuxt
@hey-api/openapi-ts
@hey-api/shared
@hey-api/types
@hey-api/vite-plugin
commit: |
|
Please, tell me if the double client is acceptable or not! |

Summary
This PR introduces full support for isomorphic API clients within the Nuxt 3/4 ecosystem. Previously, the
@hey-api/client-nuxt was tightly coupled to Vue and could not be used inside Nitro server routes (/server/api/...).
This change enables the automatic generation and injection of a dedicated server-side client powered by
@hey-api/client-ofetch, allowing developers to use the same auto-imported SDK both in their .vue components and their
Nitro event handlers without any configuration overhead.
Fixes #1985 (#1985)
Key Changes
@hey-api/nuxt Module
.nuxt/heyapi/server.
client on the frontend and the ofetch client on the server.
restriction on transpiling TypeScript files inside the node_modules tree, fixing the "Expected ',' got 'ident'"
error in Nitro.
Ecosystem & Examples
directly on the server.
composables (useAsyncData, useFetch, etc.) while handling BigInt serialization correctly.
Testing
client.