Closed danielroe closed 1 month ago
Latest commit: |
afd7163
|
Status: | โ Deploy successful! |
Preview URL: | https://3bac3a5a.nuxt-image.pages.dev |
Branch Preview URL: | https://update-module-builder.nuxt-image.pages.dev |
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 62.26%. Comparing base (
052f9a9
) to head (afd7163
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
๐ Linked issue
โ Type of change
๐ Description
Previous versions of
@nuxt/module-builder
produced incorrect types for files in theruntime/
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 inruntime/
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.