-
-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cdxgen-bun is confused and using npm/yarn #1662
Comments
Interesting. We don't support I would also check the argument |
Yes, I do that in CI (use gh workspace var). But this command was something I was running on local for testing. The path (.:/app) is correct as it works just fine as long as node_modules folder is there. Does cdxgen support And since it is a Right now, in the CI, I'm executing Thank you for this great tool. |
I would love to add support for bun lock file. Unfortunately, at 479 downloads, it is very difficult to prioritize bun over the rest of the tickets. Happy to collaborate if you are willing to give it a go and have a branch going. |
I know very little about ClyconeDX; only learned about it in less than 6 months ago. But I'm happy to give it a shot. I guess, essentially, I need to mostly copy-paste (of how yarn is supported) and work on reading bun.lock. |
I have a simple bun project.
On local, i tried this command:
docker run --rm -e CDXGEN_DEBUG_MODE=debug -v .:/app -t ghcr.io/cyclonedx/cdxgen-bun:master
This worked fine but then the same command didn't work in Github Actions. With some trial an error, I realized the followings:
node_modules
is already present.npm install has failed. Generated SBOM will be empty or with a lower precision.
yarn install has failed. Generated SBOM will be empty or with a lower precision.
I'm not sure when it tries npm or yarn.
The project has
bun.lockb
file.The text was updated successfully, but these errors were encountered: