Class PackageManagerInstallConfig
- java.lang.Object
-
- io.quarkiverse.quinoa.deployment.packagemanager.PackageManagerInstallConfig
-
public class PackageManagerInstallConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description booleanenabledEnable Package Manager Installation.StringinstallDirThe directory where NodeJS should be installed, it will be installed in a node/ sub-directory.StringnodeDownloadRootWhere to download NodeJS from.Optional<String>nodeVersionThe NodeJS Version to install locally to the project.static StringNPM_PROVIDEDStringnpmDownloadRootWhere to download NPM from.StringnpmVersionThe NPM version to install.StringpnpmDownloadRootWhere to download PNPM from.Optional<String>pnpmVersionThe PNPM version to install.StringyarnDownloadRootWhere to download YARN from.Optional<String>yarnVersionThe YARN version to install.
-
Constructor Summary
Constructors Constructor Description PackageManagerInstallConfig()
-
-
-
Field Detail
-
NPM_PROVIDED
public static final String NPM_PROVIDED
- See Also:
- Constant Field Values
-
enabled
@ConfigItem(name="<<parent>>", defaultValue="false") public boolean enabledEnable Package Manager Installation. This will override "package-manager" config. Set "quarkus.quinoa.package-manager-command.prepend-binary=true" when using with custom commands
-
installDir
@ConfigItem(defaultValue=".quinoa/") public String installDir
The directory where NodeJS should be installed, it will be installed in a node/ sub-directory. Default is ${project.root}/.quinoa
-
nodeVersion
@ConfigItem public Optional<String> nodeVersion
The NodeJS Version to install locally to the project. Required when package-manager-install is enabled.
-
nodeDownloadRoot
@ConfigItem(defaultValue="https://nodejs.org/dist/") public String nodeDownloadRoot
Where to download NodeJS from.
-
npmVersion
@ConfigItem(defaultValue="provided") public String npmVersion
The NPM version to install. By default, the version is provided by NodeJS.
-
npmDownloadRoot
@ConfigItem(defaultValue="https://registry.npmjs.org/npm/-/") public String npmDownloadRoot
Where to download NPM from.
-
pnpmVersion
@ConfigItem public Optional<String> pnpmVersion
The PNPM version to install. If the version is set and NPM and YARN are not set, then this version will attempt to be downloaded.
-
pnpmDownloadRoot
@ConfigItem(defaultValue="https://registry.npmjs.org/pnpm/-/") public String pnpmDownloadRoot
Where to download PNPM from.
-
yarnVersion
@ConfigItem public Optional<String> yarnVersion
The YARN version to install. If the version is set and NPM Version is not set, then this version will attempt to be downloaded.
-
yarnDownloadRoot
@ConfigItem(defaultValue="https://github.com/yarnpkg/yarn/releases/download/") public String yarnDownloadRoot
Where to download YARN from.
-
-