framework
framework copied to clipboard
feat(nuxi): `nuxi build-module`
🔗 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.
Deploy Preview for nuxt3-docs canceled.
| Name | Link |
|---|---|
| Latest commit | 4489c355e313988b67ce9eaab707a4f61f7aa1ab |
| Latest deploy log | https://app.netlify.com/sites/nuxt3-docs/deploys/634bd10a26678a0008e5fe0b |
@pi0 that worked! Appreciate it! Updated docs accordingly too.
💚
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.