Skip to content

dev/optional component flag #645

Description

@jkowalleck

in reporting you can find

  • "dev": true -- only omit with "dev"
  • "devOptional": true -- only omit with "dev" AND "optional"
  • "optional": true -- only omit with "optional"

this could be taken into the resulting SBOM.
either as properties, or as component.scope=optional -- https://cyclonedx.org/docs/1.4/json/#components_items_scope

since a property for development already exists, it this part is done.
but the "optional" part is lacking.


devOptionsl are both, optional and devDeps - at the same tme.
therefore they shxould et the property , and a sope et to "optional"

there should be an example created, that has the optionals shown.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions