-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
[FEATURE] library mode #1259
Comments
this ticket is currently only an idea. |
this feature should implicitely fix #1155 |
I think this could be a great new feature and I may be able to help out in the future implementing it. I think |
thats cool. FYI: |
Is your feature request related to a problem? Please describe.
if i build a SBOM for a library, i do not want to have non-bundled component listed as if they were concrete.
These dependencies are extraneous/"external" and the version of them is not clear - it is resolved on install-time .
Also, transitive dependencies of those are not clear until install-time.
This should be reflected in the SBOM.
Describe the solution you'd like
Spec: CycloneDX/specification#321
add a n option to have
option could be called (list of ideas)
--library-mode
--mark-extraneous
/--mark-externals
--bundled-only
new option MUST imply
--omit dev
new option MUST be disabled bu default
new option MUST be marked as experimental in help page
new option might set `--mc-type=library'
Describe alternatives you've considered
Additional context
for libraries, non-bundled components are "external" - this is discussed in specification#321
package.json
knows the concept ofdependencies
bundleDependencies
- definitely shippedpeerDependencies
- definitely externaldevDependencies
- no intention to be shipped.might shadow all of the above on build-time
Contribution
The text was updated successfully, but these errors were encountered: