You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a typescript project with package.json file. In package.json there are three possible dependency options:
depedencies
optionalDepedencies
devDepedencies
When we build the project for production, only first dependecy type is included, optional and dev dependencies are not part of the production docker image.
I have tried different options with cxdgen:
cdxgen -o sbom.json --required-only --no-babel
cdxgen -o sbom.json --required-only
Sbom includes also optional depedencies, which it shouldn't.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
We have a typescript project with package.json file. In package.json there are three possible dependency options:
When we build the project for production, only first dependecy type is included, optional and dev dependencies are not part of the production docker image.
I have tried different options with cxdgen:
Sbom includes also optional depedencies, which it shouldn't.
Please advise.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions