Skip to content

Conversation

@danielroe
Copy link
Member

πŸ”— 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 like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

this uses the new module dependencies feature in https://github.com/nuxt/nuxt/releases/tag/v4.1.0 to specify options for other modules (and require them).

without this, the installModule call will overwrite any module dependencies that are specified by other modules - so this PR is needed for nuxt/ui#5384.

Note: I would recommend instead of passing options from content -> mdc, that we have a single place to define them (ie. just use mdc instead), as it can otherwise create non-optimal dependency chains... and I worry bugs will appear

could we move/document content.renderer.alias -> mdc.components.map instead, and so on?

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@vercel
Copy link

vercel bot commented Nov 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
content Ready Ready Preview Comment Nov 4, 2025 0:17am

@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 4, 2025

npm i https://pkg.pr.new/@nuxt/content@3597

commit: 67d38a5

@danielroe danielroe requested a review from farnabaz November 4, 2025 12:38
Copy link
Member

@farnabaz farnabaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@farnabaz farnabaz merged commit 9600533 into main Nov 6, 2025
7 checks passed
@farnabaz farnabaz deleted the perf/module-deps branch November 6, 2025 09:05
@farnabaz farnabaz mentioned this pull request Nov 6, 2025
7 tasks
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.

3 participants