-
- All Implemented Interfaces:
-
java.io.Serializable
public interface NpmApi implements Serializable
NodeJS package manager API
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
NpmApi.Companion
-
Method Summary
Modifier and Type Method Description abstract Unit
setup(Project project)
abstract Collection<File>
preparedFiles(NpmEnvironment nodeJs)
abstract Unit
prepareRootProject(Project rootProject, NpmEnvironment nodeJs, String rootProjectName, String rootProjectVersion, Logger logger, Collection<KotlinCompilationNpmResolution> subProjects, Map<String, String> resolutions, Boolean forceFullResolve)
abstract Unit
resolveRootProject(ServiceRegistry services, Logger logger, NpmEnvironment nodeJs, YarnEnv yarn, Collection<KotlinCompilationNpmResolution> npmProjects, List<String> cliArgs)
abstract Set<File>
resolveDependency(KotlinCompilationNpmResolution npmResolution, NpmDependency dependency, Boolean transitive)
-
-
Method Detail
-
preparedFiles
abstract Collection<File> preparedFiles(NpmEnvironment nodeJs)
-
prepareRootProject
abstract Unit prepareRootProject(Project rootProject, NpmEnvironment nodeJs, String rootProjectName, String rootProjectVersion, Logger logger, Collection<KotlinCompilationNpmResolution> subProjects, Map<String, String> resolutions, Boolean forceFullResolve)
-
resolveRootProject
abstract Unit resolveRootProject(ServiceRegistry services, Logger logger, NpmEnvironment nodeJs, YarnEnv yarn, Collection<KotlinCompilationNpmResolution> npmProjects, List<String> cliArgs)
-
resolveDependency
abstract Set<File> resolveDependency(KotlinCompilationNpmResolution npmResolution, NpmDependency dependency, Boolean transitive)
-
-
-
-