0.5.0 • Published 5 years ago

code-owners-report v0.5.0

Weekly downloads
4,852
License
MIT
Repository
github
Last release
5 years ago

code-owners-report

Generate a report about the files in your repository, and aggregate them by CODEOWNERS.

Usage

This is meant to be tailored to your workflow and CI, so for maximum flexibility the tool is offered as a library of utility methods. Will gladly accept PRs for a CLI.

See docs/example.js and its output docs/EXAMPLE_REPORT.md, inlined here:

This report was autogenerated by code-owners-report.

markdownno-console
12
ownermarkdownno-console
@global-owner1--
@global-owner2--
@js-owner12
filenamemarkdownno-console
src/README.md--
src/aggregateCounts.js--
src/codeowners.js--
src/config.js--
src/eslintMetrics.js--
src/formatMarkdown.jstrue-
src/index.js--
src/measureFileTree.js-2
src/regexpMetrics.js--

API

Table of Contents

formatReport

Format the report as Markdown text

Parameters

  • reportSpec ReportSpec
  • report any

generateReport

Generate a report over the basedir

Parameters

Returns Promise<CodeReport>

measureFileTree

Report metrics on every file within dir

Parameters

Returns Promise<FilesMetricsMap>

Contributors

Thanks to Diego Haz for nod and Beau Gunderson for earlier work on codeowners.

0.5.0

5 years ago

0.4.2

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago