jsr icon indicating copy to clipboard operation
jsr copied to clipboard

Feature Request: Prevent score regression on publishing

Open lucasavila00 opened this issue 1 year ago • 2 comments

Thanks for building jsr, I loved the score feature.

I wonder if the CLI could prevent score regressions, or prevent publishing if certain requirements are not met.

For instance, I have a published package where all symbols have documentation and all entry points have documentation. I would like it to continue to have the docs for all symbols, but I can see myself forgetting to add them.

So, I'm proposing the CLI add a mechanism to either prevent score decrease or a --require-docs-percentage 100 parameter. This would work similarly to test coverage tools.

lucasavila00 avatar Mar 07 '24 15:03 lucasavila00

Related: https://github.com/jsr-io/jsr/issues/199

lucasavila00 avatar Mar 07 '24 15:03 lucasavila00