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
Updates
package.json
by visiting NpmPackage
annotations
found in the classpath. It also visits classes annotated with
NpmPackage
.-
Field Summary
Fields inherited from class io.jmix.flowui.devserver.frontend.NodeUpdater
DEP_NAME_FLOW_DEPS, DEP_NAME_FLOW_JARS, frontDeps, options
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
protected static boolean
pinPlatformDependency
(elemental.json.JsonObject packageJson, elemental.json.JsonObject platformPinnedVersions, String pkg) Methods inherited from class io.jmix.flowui.devserver.frontend.NodeUpdater
generateVersionsJson, getProjectJsonFile, getProjectPackageLockFile, getStudioJsonFile, getStudioPackageLockFile
-
Field Details
-
VAADIN_APP_PACKAGE_HASH
- See Also:
-
-
Method Details
-
execute
public void execute() -
pinPlatformDependency
protected static boolean pinPlatformDependency(elemental.json.JsonObject packageJson, elemental.json.JsonObject platformPinnedVersions, String pkg)
-