Interface PackageManagerInstallConfig
-
public interface PackageManagerInstallConfig
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_INSTALL_DIRstatic StringNPM_PROVIDED
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanenabled()Enable Package Manager Installation.StringinstallDir()The directory where NodeJS should be installed (relative to the project root), It will be installed in a 'node/' subdirectory of this.StringnodeDownloadRoot()Where to download NodeJS from.Optional<String>nodeVersion()The NodeJS Version to install locally to the project.StringnpmDownloadRoot()Where to download NPM from.StringnpmVersion()The NPM version to install and use.StringpnpmDownloadRoot()Where to download PNPM from.Optional<String>pnpmVersion()Install and use PNPM as package manager with this version.StringyarnDownloadRoot()Where to download YARN from.Optional<String>yarnVersion()Install and use Yarn as package manager with this version.
-
-
-
Field Detail
-
NPM_PROVIDED
static final String NPM_PROVIDED
- See Also:
- Constant Field Values
-
DEFAULT_INSTALL_DIR
static final String DEFAULT_INSTALL_DIR
- See Also:
- Constant Field Values
-
-
Method Detail
-
enabled
@WithParentName @WithDefault("false") boolean enabled()Enable Package Manager Installation. This will override "package-manager" config. Set "quarkus.quinoa.package-manager-command.prepend-binary=true" when using with custom commands
-
installDir
@WithDefault(".quinoa/") String installDir()The directory where NodeJS should be installed (relative to the project root), It will be installed in a 'node/' subdirectory of this.
-
nodeVersion
Optional<String> nodeVersion()
The NodeJS Version to install locally to the project. Required when package-manager-install is enabled.
-
npmVersion
@WithDefault("provided") @ConfigDocDefault("\'provided\' means it will use the NPM embedded in NodeJS") String npmVersion()The NPM version to install and use. By default, the version is provided by NodeJS.
-
npmDownloadRoot
@WithDefault("https://registry.npmjs.org/npm/-/") String npmDownloadRoot()Where to download NPM from.
-
nodeDownloadRoot
@WithDefault("https://nodejs.org/dist/") String nodeDownloadRoot()Where to download NodeJS from.
-
yarnVersion
Optional<String> yarnVersion()
Install and use Yarn as package manager with this version. This is ignored if the npm-version is defined.
-
yarnDownloadRoot
@WithDefault("https://github.com/yarnpkg/yarn/releases/download/") String yarnDownloadRoot()Where to download YARN from.
-
pnpmVersion
Optional<String> pnpmVersion()
Install and use PNPM as package manager with this version. This is ignored if the npm-version or the yarn-version is defined.
-
pnpmDownloadRoot
@WithDefault("https://registry.npmjs.org/pnpm/-/") String pnpmDownloadRoot()Where to download PNPM from.
-
-