jfrog / build-info-go

build-info-go is a Go library and a CLI, which allows generating build-info for a source code project.
https://www.buildinfo.org
Apache License 2.0
64 stars 37 forks source link

Add support for pnpm #94

Open Darunada opened 2 years ago

Darunada commented 2 years ago

Is your feature request related to a problem? Please describe.

We use https://pnpm.io for dependency management. It is nearly compatible with npm, but a pnpm workspace adds some capabilities which cause it to fail when npm is used. We would like to add the ability to generate build info for pnpm workspaces.

Describe the solution you'd like to see

Similar to NPM, this feature would detect pnpm workspaces and adjust the command to a compatible one

Describe alternatives you've considered

I'm using the jf cli to audit my pnpm workspace/ similar to an npm package with a package.json. Being able to override the commands that are used to list dependencies directly might allow something like this and other npm package manager replacements.

Additional context Add any other context or screenshots about the feature request here.