nuxt-modules / apollo

Nuxt.js module to use Vue-Apollo. The Apollo integration for GraphQL.
https://apollo.nuxtjs.org
MIT License
955 stars 198 forks source link

chore: update to latest `@nuxt/module-builder` #634

Open danielroe opened 2 months ago

danielroe commented 2 months ago

๐Ÿ”— Linked issue

โ“ Type of change

๐Ÿ“š Description

Previous versions of @nuxt/module-builder produced incorrect types for files in the runtime/ directory. Specifically, a .d.ts declaration paired with a .mjs file. This isn't correct - it should be either .d.mts and .mjs or .d.ts and .js.

For maximum compatibility, @nuxt/module-builder v0.8 switched to .js extension for files in runtime/ directory.

With the latest Nuxt, this is now an error that removes correct plugin injection types.

Related PRs: https://github.com/nuxt/nuxt/pull/28480, https://github.com/nuxt/nuxt/pull/28593 See also https://github.com/nuxt/nuxt/issues/28672.

netlify[bot] commented 2 months ago

Deploy Preview for apollo-module ready!

Name Link
Latest commit 2a5b110c29c3236e624371f914164cbe7d41ebce
Latest deploy log https://app.netlify.com/sites/apollo-module/deploys/66d855687ebe9d00081e951a
Deploy Preview https://deploy-preview-634--apollo-module.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.