fix(init): skip modules that are dependencies of other modules#879
fix(init): skip modules that are dependencies of other modules#879
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #879 +/- ##
=======================================
Coverage ? 12.51%
=======================================
Files ? 71
Lines ? 3723
Branches ? 101
=======================================
Hits ? 466
Misses ? 3225
Partials ? 32 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
commit: |
CodSpeed Performance ReportMerging #879 will not alter performanceComparing Summary
|
packages/nuxi/src/commands/init.ts
Outdated
|
|
||
| const allDependencies: Record<string, string[]> = {} | ||
| for (const module of modules) { | ||
| allDependencies[module] = await getModuleDependencies(module) |
There was a problem hiding this comment.
we probably also want to get the dependencies of the template that's been installed (and not prompt to install any modules it contains), but that can be for another pr
for example, if you run pnpm create nuxt -t ui, it probably should not prompt to install @nuxt/fonts (or allow you to do so).
There was a problem hiding this comment.
I'll try to make a PR for that too!
@nuxt/ui
🔗 Linked issue
Resolves #875
❓ Type of change
📚 Description