nuxt-particles icon indicating copy to clipboard operation
nuxt-particles copied to clipboard

fix: update to latest `@nuxt/module-builder`

Open danielroe opened this issue 1 year ago • 1 comments

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.

danielroe avatar Aug 25 '24 22:08 danielroe

Deploy Preview for nuxt-particles canceled.

Name Link
Latest commit 43cf782b41fc4b6f104a50e140881227bf055735
Latest deploy log https://app.netlify.com/sites/nuxt-particles/deploys/66cbac7cd955900008e1a9ef

netlify[bot] avatar Aug 25 '24 22:08 netlify[bot]