Skip to content

Conversation

@clemcode
Copy link
Contributor

@clemcode clemcode commented Jan 4, 2025

πŸ”— Linked issue

resolves #454

❓ 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)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

This PR allows a --dev boolean argument to be passed to the module command to install the module as a devDependency.

A PR updating the docs is ready to be open here : https://github.com/clemcode/nuxt/tree/docs/nuxi/module-dev

@clemcode clemcode requested a review from danielroe as a code owner January 4, 2025 12:07
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@9a5b30b). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/commands/module/add.ts 0.00% 6 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##             main    #630   +/-   ##
======================================
  Coverage        ?   1.30%           
======================================
  Files           ?      44           
  Lines           ?    2902           
  Branches        ?      44           
======================================
  Hits            ?      38           
  Misses          ?    2823           
  Partials        ?      41           

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

@danielroe danielroe merged commit a6dff27 into nuxt:main Jan 5, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nuxi module add always install module as dependcies, even it should be devDependencies

3 participants