Skip to content

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

Open
danielroe wants to merge 2 commits intov5from
update-module-builder
Open

chore: update to latest @nuxt/module-builder#634
danielroe wants to merge 2 commits intov5from
update-module-builder

Conversation

@danielroe
Copy link
Contributor

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to 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: nuxt/nuxt#28480, nuxt/nuxt#28593
See also nuxt/nuxt#28672.

@netlify
Copy link

netlify bot commented Sep 4, 2024

Deploy Preview for apollo-module ready!

Name Link
🔨 Latest commit 2a5b110
🔍 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.

@danielroe danielroe force-pushed the update-module-builder branch from fe05b37 to 2a5b110 Compare September 4, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant