ui
ui copied to clipboard
feat(module)!: use `moduleDependencies` to manipulate options
๐ Linked issue
โ Type of change
- [ ] ๐ Documentation (updates to the documentation or readme)
- [ ] ๐ Bug fix (a non-breaking change that fixes an issue)
- [x] ๐ 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
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).
remake of https://github.com/nuxt/ui/pull/4927, pending a fix in nuxt/content
๐ Checklist
- [ ] I have linked an issue or discussion.
- [ ] I have updated the documentation accordingly.
@danielroe I'm a bit hesitant to merge this as it will break apps that haven't been updated to https://github.com/nuxt/content/releases/tag/v3.8.1. We would need to update the @nuxt/content peer dependency to 3.8.1 as well right?
once I merge https://github.com/nuxt/nuxt/pull/33689, we should be fine with the latest nuxt patch even if uses don't update content