cnpm / cnpmcore

Private NPM Registry for Enterprise
https://npmmirror.com
MIT License
607 stars 80 forks source link

fix: author display in cli #582

Closed elrrrrrrr closed 1 year ago

elrrrrrrr commented 1 year ago

Revert ineffective changes from https://github.com/cnpm/cnpmcore/pull/581, add username index

  • 🧶 Add username field to maintainers in search results, handle uniformly when writing
  • 📚 Update index documentation

    回滚 https://github.com/cnpm/cnpmcore/pull/581 无效改动,添加 username 索引

  • 🧶 搜索结果中的 maintainers 添加 username 字段,写入时统一处理
  • 📚 更新索引文档说明
codecov[bot] commented 1 year ago

Codecov Report

Merging #582 (1b5df8e) into master (6dd241d) will decrease coverage by 0.06%. Report is 1 commits behind head on master. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #582      +/-   ##
==========================================
- Coverage   96.99%   96.94%   -0.06%     
==========================================
  Files         180      180              
  Lines       17356    17356              
  Branches     2253     2254       +1     
==========================================
- Hits        16834    16825       -9     
- Misses        522      531       +9     
Files Changed Coverage Δ
app/repository/SearchRepository.ts 100.00% <ø> (ø)
app/core/service/PackageSearchService.ts 93.83% <100.00%> (+0.08%) :arrow_up:
app/repository/PackageRepository.ts 98.21% <100.00%> (+<0.01%) :arrow_up:

... and 2 files with indirect coverage changes