Additional NPM Command Arguments
--detect.npm.argumentsA space-separated list of additional arguments that Detect will add at then end of the npm ls command line when Detect executes the NPM CLI Detector on an NPM project.
| Details | |
|---|---|
| Added | 4.3.0 |
| Type | Optional String |
| Default Value | |
| Comma Separated | No |
| Case Sensitive | No |
| Acceptable Values | Any |
| Strict | No |
| Example | --depth=0 |
Ignore All Workspaces
--detect.npm.ignore.all.workspaces=falseAll workspaces are ignored by the NPM detector for increased performance and precision to scan a massive codebase.
| Details | |
|---|---|
| Added | 12.0.0 |
| Type | Boolean |
| Default Value | false |
| Comma Separated | No |
| Case Sensitive | No |
| Acceptable Values | Any |
| Strict | No |
Npm Dependency Types Excluded
--detect.npm.dependency.types.excluded=NONE,DEV,PEER,OPTIONAL Set this value to indicate which Npm dependency types Detect should exclude from the BOM.
| Details | |
|---|---|
| Added | 7.10.0 |
| Type | NpmDependencyType List |
| Default Value | NONE |
| Comma Separated | Yes |
| Case Sensitive | No |
| Acceptable Values | NONE, DEV, PEER, OPTIONAL |
| Strict | Yes |
| Example | DEV,PEER |
NPM Executable
--detect.npm.pathThe path to the Npm executable.
| Details | |
|---|---|
| Added | 3.0.0 |
| Type | Optional Path |
| Default Value | |
| Comma Separated | No |
| Case Sensitive | No |
| Acceptable Values | Any |
| Strict | No |
NPM Exclude Workspaces (Advanced)
--detect.npm.excluded.workspacesA comma-separated list of npm workspace relative paths to exclude.
By default, Detect includes all workspaces. Workspaces are identified by their path relative to the project root (e.g. packages/react-components). This property accepts filename globbing-style wildcards. For more information, refer to the Property wildcard support page.
| Details | |
|---|---|
| Added | 12.0.0 |
| Type | String List |
| Default Value | |
| Comma Separated | Yes |
| Case Sensitive | Yes |
| Acceptable Values | Any |
| Strict | No |
| Example | packages/test-harness,packages/internal-* |
NPM Include Workspaces (Advanced)
--detect.npm.included.workspacesA comma-separated list of npm workspace relative paths to include.
By default, Detect includes all workspaces. If workspaces are excluded or included, Detect will include any workspace included by this property that is not excluded. Exclusion rules always win. Workspaces are identified by their path relative to the project root (e.g. packages/react-components). This property accepts filename globbing-style wildcards. For more information, refer to the Property wildcard support page.
| Details | |
|---|---|
| Added | 12.0.0 |
| Type | String List |
| Default Value | |
| Comma Separated | Yes |
| Case Sensitive | Yes |
| Acceptable Values | Any |
| Strict | No |
| Example | packages/frontend,packages/api |