File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,12 +67,12 @@ $ yarn cyclonedx
6767
6868━━━ Options ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
6969
70+ --package-lock-only Only use the yarn.lock file for dependency information.
71+ No network calls will be made.
7072 --production,--prod Exclude development dependencies.
7173 (default: true if the NODE_ENV environment variable is set to "production", otherwise false)
7274 --gather-license-texts Search for license files in components and include them as license evidence.
7375 This feature is experimental.
74- --package-lock-only Only use the yarn.lock file for dependency information.
75- No network calls will be made.
7676 --short-PURLs Omit all qualifiers from PackageURLs.
7777 This causes information loss in trade-off shorter PURLs, which might improve ingesting these strings.
7878 --sv,--spec-version #0 Which version of CycloneDX to use.
Original file line number Diff line number Diff line change @@ -76,6 +76,11 @@ export class MakeSbomCommand extends Command<CommandContext> {
7676 details : 'Recursively scan workspace dependencies and emits them as Software-Bill-of-Materials(SBOM) in CycloneDX format.'
7777 } )
7878
79+ readonly packageLockOnly = Option . Boolean ( '--package-lock-only' , false , {
80+ description : 'Only use the yarn.lock file for dependency information.\n' +
81+ 'No network calls will be made.'
82+ } )
83+
7984 /* mimic option from yarn.
8085 - see https://classic.yarnpkg.com/lang/en/docs/cli/install/#toc-yarn-install-production-true-false
8186 - see https://yarnpkg.com/cli/workspaces/focus
@@ -90,10 +95,6 @@ export class MakeSbomCommand extends Command<CommandContext> {
9095 'This feature is experimental.'
9196 } )
9297
93- readonly packageLockOnly = Option . Boolean ( '--package-lock-only' , false , {
94- description : 'Only use the yarn.lock file for dependency information. No network calls will be made.'
95- } )
96-
9798 readonly shortPURLs = Option . Boolean ( '--short-PURLs' , false , {
9899 description : 'Omit all qualifiers from PackageURLs.\n' +
99100 'This causes information loss in trade-off shorter PURLs, which might improve ingesting these strings.'
You can’t perform that action at this time.
0 commit comments