Describe the bug
When having a workspace package, importing it as a dependency leads cyclonedx-yarn to include their devDependency in the SBOM as well.
To Reproduce
https://github.com/Llois41/cyclondx-dev-dependency-reproduction/tree/master
Expected behavior
I would expect that in the created sbom.json file there will also only be production dependencies of the workspace's package.
Environment
- @cyclonedx/yarn-plugin-cyclonedx version: 2.0.0
- yarn version: 4.5.3
- Node version: 22.13.1
- OS: MacOS
Contribution