feat(nuxi): move module-builder to unified nuxi cli#7606
feat(nuxi): move module-builder to unified nuxi cli#7606cpreston321 wants to merge 4 commits intonuxt:mainfrom
module-builder to unified nuxi cli#7606Conversation
✅ Deploy Preview for nuxt3-docs canceled.
|
module-builder to unified nuxiclimodule-builder to unified nuxi cli
|
Hi @cpreston321 and thanks for the PR. I do share the same idea that Since we have external dependencies (unbuild), it would add to boilerplate of modules and we have to make sure modules use a supported version of this dependency. We might also add more dependencies over time to the module-builder stack that makes it beyond unbuild. This is the primary reason I decided to keep it separated. We do however plan to support Something we might do before introducing subcommand support, is to have a stub (I'm closing this PR because moving module-builder to the core is not planned at this point because of above reasons) |
|
@pi0 I would love to help! I appreciate the in detail response. I can work the stub in the mean-time. Thanks 💚 |
❓ Type of change
📚 Description
Move core functionality from nuxt-module-builder ->
nuxiCLI Options
Command:
npx nuxi build-module [--stub] [--outDir] [rootDir]build-moduledistWhy ?
Why you ask? The goal was to make nuxi cli feel like it has all the tool sets needed for nuxt 💚 . I do feel like it would be nice to see even the
nuxt-module-builderinside nuxi so it's easier to maintain code.Maybe there are few improvements to make but I can leave this as a draft PR to see what you say.
Thanks!
📝 Checklist