com.vaadin.flow.server.frontend.

Class TaskRunNpmInstall

  • All Implemented Interfaces:

    FallibleCommand


    public class TaskRunNpmInstall
    extends Object
    implements FallibleCommand

    Run npm install after dependencies have been updated.

    Since:

    2.0

    • Method Detail

      • generateVersionsJson

        protected String generateVersionsJson()
                                       throws IOException

        Generate versions json file.

        Returns:

        generated versions json file path

        Throws:

        IOException

      • getDevDependenciesFilePath

        protected String getDevDependenciesFilePath()

        Returns a path inside classpath to the file with dev dependencies locked.

        The file may absent in the classapth.

        Returns:

        the path to the dev dependencies file in the classpath, not null