Class PackageManagerInstallConfig


  • public class PackageManagerInstallConfig
    extends Object
    • Field Detail

      • enabled

        @ConfigItem(name="<<parent>>",
                    defaultValue="false")
        public 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

        @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.
    • Constructor Detail

      • PackageManagerInstallConfig

        public PackageManagerInstallConfig()