Package dev.relism.flash.ext.vite
Enum Class PackageManager
- All Implemented Interfaces:
Serializable,Comparable<PackageManager>,Constable
The package manager a frontend uses, told apart by its lockfile. Shared with the Maven plugin.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordA package manager and the lockfile it was found by,nullwhen there is none.Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic PackageManager.FoundThe nearest lockfile at or aboveroot, so a project inside a workspace finds the workspace's.static PackageManagerReturns the enum constant of this class with the specified name.static PackageManager[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PNPM
-
YARN
-
BUN
-
NPM
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
of
The nearest lockfile at or aboveroot, so a project inside a workspace finds the workspace's. None at all is npm without a lockfile.
-