unjs / nypm

๐ŸŒˆ Unified Package Manager for Node.js and Bun
MIT License
437 stars 13 forks source link

feat: allow installing multiple dependencies #107

Closed pi0 closed 5 months ago

pi0 commented 5 months ago

๐Ÿ”— Linked issue

resolves #105

โ“ Type of change

๐Ÿ“š Description

Allow installing multiple dependencies using addDependency, addDevDependency and CLI (with a workaround for https://github.com/unjs/citty/issues/115)

๐Ÿ“ Checklist

codecov[bot] commented 5 months ago

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (da4a986) 82.10% compared to head (8c802c0) 82.17%.

Files Patch % Lines
src/cli.ts 0.00% 2 Missing :warning:
src/api.ts 83.33% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #107 +/- ## ========================================== + Coverage 82.10% 82.17% +0.06% ========================================== Files 6 6 Lines 514 516 +2 Branches 70 71 +1 ========================================== + Hits 422 424 +2 Misses 91 91 Partials 1 1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.