Package tech.jhipster.lite.npm.domain
Interface NpmVersions
public interface NpmVersions
-
Method Summary
Modifier and TypeMethodDescriptiondefault NpmVersionget(String packageName, NpmVersionSource source) Get the npm package version from the given sourceget(NpmPackageName packageName, NpmVersionSource source) Get the npm package version from the given source
-
Method Details
-
get
Get the npm package version from the given source- Parameters:
packageName- name of the package to get the version forsource- source folder for this version- Returns:
- The version
- Throws:
UnknownNpmPackageException- is the package can't be found in source
-
get
Get the npm package version from the given source- Parameters:
packageName- name of the package to get the version forsource- source folder for this version- Returns:
- The version
- Throws:
UnknownNpmPackageException- is the package can't be found in source
-