Interface PackageManagerInstallConfig


  • public interface PackageManagerInstallConfig
    • 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.