com.github.sdorra.buildfrontend.PackageManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of buildfrontend-maven-plugin Show documentation
Show all versions of buildfrontend-maven-plugin Show documentation
Installs and run node, npm or yarn as part of your maven build
package com.github.sdorra.buildfrontend;
/**
* Interface for a node package manager (yarn or npm).
*/
public interface PackageManager {
/**
* Install everything which is defined in the package.json file of the package manager.
*/
void install();
/**
* Runs a script which is defined in the package.json.
*
* @param script name of the script
*/
void run(String script);
/**
* Symlink a package folder during development.
*/
void link();
/**
* Link another package to the current package.
*/
void link(String pkg);
}