public interface NpmConfigCacheSafeOperations
NPM operations that should be configuration cache-safe.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static NpmConfigCacheSafeOperations |
from(NpmConfigCacheSafeOperations other)Creates a new instance from something else that implements the same interface. |
|
public Provider<File> |
getExecutable()A provider for a resolved executable. |
|
public Provider<File> |
getGlobalConfigProvider()Location and name of global NPM config file. |
|
public Provider<File> |
getHomeDirectoryProvider()The NPM home directory - the parent directory of node_modules, |
|
public Provider<File> |
getLocalConfigProvider()Location and name of local NPM config file. |
|
public Provider<File> |
getNpxCliJsProvider()The location of NPX. |
|
public Provider<File> |
getProjectConfigProvider()Location of .npmrc for a project. |
|
public Provider<String> |
getVersionProvider()Provides the version as specified in package.json. |
Creates a new instance from something else that implements the same interface.
THis is ueful to ensure configuration cache safety.
other - Other implementing instance. Location and name of global NPM config file.
When this extension is attached to a project, the default location is set to
"${project.gradle.gradleUserHomeDir/npmrc"}
The NPM home directory - the parent directory of node_modules,
node_modules. Never null if the extension is tied to a project,
in which case it defaults to project.projectDir. Location and name of local NPM config file.
When this extension is attached to a project, the default location is set to
"${project.rootProject.projectDir/npmrc"}
The location of NPX.
Location of .npmrc for a project.