unjs / giget

✨ Download templates and git repositories with pleasure!
MIT License
472 stars 39 forks source link

fix: pass auth to custom registry #77

Closed cpreston321 closed 1 year ago

cpreston321 commented 1 year ago

Resolves: #78

This change will inherit auth to custom GET registry -- just in case it is a private repo that I want to access. I want to use this soon as possible!

If you have any questions please let me know thanks! I will try to make changes if you have any better suggestions 💚

codecov[bot] commented 1 year ago

Codecov Report

Merging #77 (7fbad97) into main (d1d539c) will decrease coverage by 0.32%. The diff coverage is 64.28%.

:exclamation: Current head 7fbad97 differs from pull request most recent head 1413835. Consider uploading reports for the commit 1413835 to get more accurate results

@@            Coverage Diff             @@
##             main      #77      +/-   ##
==========================================
- Coverage   70.00%   69.68%   -0.32%     
==========================================
  Files           6        6              
  Lines         310      320      +10     
  Branches       41       44       +3     
==========================================
+ Hits          217      223       +6     
- Misses         93       97       +4     
Impacted Files Coverage Δ
src/registry.ts 35.71% <28.57%> (-3.42%) :arrow_down:
src/giget.ts 81.66% <100.00%> (+0.79%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.