Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: augment @nuxt/schema rather than nuxt/schema #330

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

danielroe
Copy link
Contributor

Description

Context: nuxt/nuxt#28332

nuxt/schema is a re-export of @nuxt/schema for users to use. Modules should not augment it, or it may end up overwriting the inferred types from @nuxt/schema.

(We made the change in nuxt/module-builder#295 (released in v0.8.0 of @nuxt/module-builder) to avoid doing this in @nuxt/module-builder itself.)

Linked Issues

Additional context

@prazdevs
Copy link
Owner

thanks a lot for pointing that out !

@prazdevs prazdevs merged commit 274f04e into prazdevs:main Sep 10, 2024
1 check passed
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.

2 participants