Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

fix(nuxi): stub defineNuxtConfig for nuxi info #7728

Merged
merged 1 commit into from
Sep 22, 2022
Merged

fix(nuxi): stub defineNuxtConfig for nuxi info #7728

merged 1 commit into from
Sep 22, 2022

Conversation

danielroe
Copy link
Member

πŸ”— Linked issue

resolves nuxt/nuxt#14997

❓ 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

With recent change to not require defineNuxtConfig to be registered, we neglected to update nuxi info - this PR does the same trick to make loading nuxt.config possible in this case.

πŸ“ Checklist

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

@danielroe danielroe added bug Something isn't working cli πŸ”¨ p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage labels Sep 21, 2022
@danielroe danielroe requested a review from pi0 September 21, 2022 15:12
@danielroe danielroe self-assigned this Sep 21, 2022
@codesandbox
Copy link

codesandbox bot commented Sep 21, 2022

CodeSandbox logoCodeSandbox logoΒ  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@netlify
Copy link

netlify bot commented Sep 21, 2022

βœ… Deploy Preview for nuxt3-docs canceled.

Name Link
πŸ”¨ Latest commit 0bc4152
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/632b29ec0452bf0008d289e2

@cpreston321
Copy link
Contributor

cpreston321 commented Sep 21, 2022

@danielroe Nice work! I was stumped for hours on how to fix this. It's nice to see how you implemented the fix.

@pi0 pi0 merged commit 084188e into main Sep 22, 2022
@pi0 pi0 deleted the fix/info-config branch September 22, 2022 13:51
@danielroe danielroe mentioned this pull request Oct 9, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3.x bug Something isn't working cli πŸ”¨ p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

npx nuxi info doesn't work correctly when
3 participants