framework icon indicating copy to clipboard operation
framework copied to clipboard

feat(nuxi): `nuxi build-module`

Open cpreston321 opened this issue 3 years ago • 2 comments

🔗 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)
  • [X] ✨ 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

  • [X] I have linked an issue or discussion.
  • [x] I have updated the documentation accordingly.

cpreston321 avatar Sep 16 '22 20:09 cpreston321

Deploy Preview for nuxt3-docs canceled.

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

netlify[bot] avatar Sep 16 '22 20:09 netlify[bot]

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

💚

cpreston321 avatar Sep 16 '22 21:09 cpreston321

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 avatar Oct 16 '22 09:10 pi0