java.lang.Object
com.github.eirslett.maven.plugins.frontend.mojo.YarnUtils

public class YarnUtils extends Object
  • Constructor Details

    • YarnUtils

      public YarnUtils()
  • Method Details

    • isYarnrcYamlFilePresent

      public static boolean isYarnrcYamlFilePresent(org.apache.maven.execution.MavenSession session, File workingDirectory)
      Checks whether a .yarnrc.yml file exists at the project root (in multi-module builds, it will be the Reactor project)
      Parameters:
      session - the current maven session
      workingDirectory - the configured working directory
      Returns:
      true if the .yarnrc.yml file exists, false otherwise