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

feat(nuxi): nuxi build-module - #7610

Merged
pi0 merged 17 commits into
nuxt:mainfrom
cpreston321:feat/stub-nuxt-module
Oct 16, 2022
Merged

feat(nuxi): nuxi build-module#7610
pi0 merged 17 commits into
nuxt:mainfrom
cpreston321:feat/stub-nuxt-module

Conversation

@cpreston321

@cpreston321 cpreston321 commented Sep 16, 2022

Copy link
Copy Markdown
Contributor

🔗 Linked issue

Reference comment: Here

❓ 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

Adds npx nuxi build-module [--stub] [rootDir] that executes internally if they don't have it, it will ask the user to install @nuxt/module-builder.

This is a temporary workaround until we add #4060

Thanks!

@pi0

📝 Checklist

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

@netlify

netlify Bot commented Sep 16, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt3-docs canceled.

Name Link
🔨 Latest commit 4489c35
🔍 Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/634bd10a26678a0008e5fe0b

Comment thread packages/nuxi/src/commands/build-module.ts Outdated
@cpreston321

Copy link
Copy Markdown
Contributor Author

@pi0 that worked! Appreciate it! Updated docs accordingly too.

💚

@cpreston321
cpreston321 marked this pull request as ready for review September 16, 2022 21:52
@pi0 pi0 changed the title feat(nuxi): build-module executes nuxt-build-module internally feat(nuxi): nuxi build-module Sep 19, 2022
@cpreston321
cpreston321 requested a review from pi0 October 13, 2022 14:58
@pi0

pi0 commented Oct 16, 2022

Copy link
Copy Markdown
Member

Hi, dear @cpreston321. Sorry, I wasn't available for a while. I have released @nuxt/module-builder 0.2.0 with exported package.json and also added auto fallback to npx when local package is not installed.

@pi0
pi0 merged commit 8f7a7ec into nuxt:main Oct 16, 2022
@pi0 pi0 mentioned this pull request Oct 18, 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants