public interface PnpmAuditConfiguration
pnpm audit.| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(PnpmAuditConfiguration other)
Copy configuration from another instance
|
void |
copyFrom(org.gradle.api.provider.Provider<PnpmAuditConfiguration> other)
Copy configuration from another instance
|
org.gradle.api.provider.Provider<java.util.List<java.lang.String>> |
getAuditArgs()
A list of command-line parameters that can be passed to
pnpm audit. |
org.gradle.api.provider.Provider<org.ysb33r.gradle.jse.pnpm.configuration.PnpmAuditLevel> |
getAuditLevel()
Gets the configured audit level.
|
org.gradle.api.provider.Provider<java.lang.Boolean> |
getIgnoreRegistryErrors()
Whether to ignore registry errors.
|
org.gradle.api.provider.Provider<java.lang.Boolean> |
getIgnoreUnfixable()
Whether to ignore unfixable issues.
|
org.gradle.api.provider.Provider<java.lang.Boolean> |
getIncludeOptional()
Whether to include optional dependencies in audit.
|
org.gradle.api.provider.Provider<java.lang.Boolean> |
getProdOnly()
Whether to only audit production dependencies.
|
void |
setAuditLevel(java.lang.Object level)
Sets the
pnpm Audit level. |
void |
setAuditLevel(org.ysb33r.gradle.jse.pnpm.configuration.PnpmAuditLevel level)
Sets the
pnpm Audit level. |
void |
setIgnoreRegistryErrors(boolean flag)
Whether to ignore registry errors.
|
void |
setIgnoreUnfixable(boolean flag)
Whether to ignore unfixable issues.
|
void |
setIncludeOptional(boolean flag)
Whether to include optional dependencies in audit.
|
void |
setProdOnly(boolean flag)
Whether to only audit production dependencies.
|
@Internal org.gradle.api.provider.Provider<org.ysb33r.gradle.jse.pnpm.configuration.PnpmAuditLevel> getAuditLevel()
void setAuditLevel(org.ysb33r.gradle.jse.pnpm.configuration.PnpmAuditLevel level)
pnpm Audit level.level - The level to set.void setAuditLevel(java.lang.Object level)
pnpm Audit level.level - The level to set. This can be anything convertible to a string that matches one of the pnpm
audit levels. String will be converted to the correct case.@Internal org.gradle.api.provider.Provider<java.lang.Boolean> getProdOnly()
true if only production dependencies are to be audited.void setProdOnly(boolean flag)
dev and prod if not set.flag - true to ignore dev dependencies.@Internal org.gradle.api.provider.Provider<java.lang.Boolean> getIncludeOptional()
true if optional dependencies are to be included.void setIncludeOptional(boolean flag)
flag - true to ignore optional dependencies.@Internal org.gradle.api.provider.Provider<java.lang.Boolean> getIgnoreRegistryErrors()
true if registry errors are to be ignored.void setIgnoreRegistryErrors(boolean flag)
flag - true to ignore registry errors.@Internal org.gradle.api.provider.Provider<java.lang.Boolean> getIgnoreUnfixable()
true if unfixable issues are to be ignored.void setIgnoreUnfixable(boolean flag)
flag - true to ignore unfixable issues.void copyFrom(PnpmAuditConfiguration other)
other - Another instance.void copyFrom(org.gradle.api.provider.Provider<PnpmAuditConfiguration> other)
other - Provider to another instance.@Input @Optional org.gradle.api.provider.Provider<java.util.List<java.lang.String>> getAuditArgs()
pnpm audit.null. Provider might resolve to empty list.