JamieMason / syncpack

Consistent dependency versions in large JavaScript Monorepos.
https://jamiemason.github.io/syncpack/
MIT License
1.34k stars 44 forks source link

Feature Request: Unformatted or JSON output #197

Open dosolkowski-work opened 5 months ago

dosolkowski-work commented 5 months ago

Description

We run this tool as part of our automated build process and report findings in GitLab code quality reports. In order to do this, we need to parse and reformat the output into GitLab's code quality file format. This is difficult when the output format keeps changing.

Suggested Solution

Add a command-line flag to allow us to specify the output format, and support JSON or at least some sort of stable plain-text format. It does not need to specifically be GitLab's code quality format; anything stable we can write a script to translate it.

Help Needed

I'm not sure if I can legally contribute to outside projects with my employment contract, but tools like ESLint and StyleLint support JSON output or customizable output formats.