Class TaskUpdatePackages

java.lang.Object
io.jmix.flowui.devserver.frontend.NodeUpdater
io.jmix.flowui.devserver.frontend.TaskUpdatePackages
All Implemented Interfaces:
com.vaadin.flow.server.frontend.FallibleCommand

public class TaskUpdatePackages extends NodeUpdater
Updates package.json by visiting NpmPackage annotations found in the classpath. It also visits classes annotated with NpmPackage.
  • Field Details

  • Method Details

    • execute

      public void execute()
    • pinPlatformDependency

      protected static boolean pinPlatformDependency(elemental.json.JsonObject packageJson, elemental.json.JsonObject platformPinnedVersions, String pkg)