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 #38

Merged
merged 1 commit into from
Sep 14, 2024

Conversation

danielroe
Copy link
Contributor

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.)

@dulnan dulnan merged commit d3f7dc6 into dulnan:main Sep 14, 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