We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.server.frontend.
Package com.vaadin.flow.server.frontend
Class TaskUpdatePackages
java.lang.Object
com.vaadin.flow.server.frontend.NodeUpdater
com.vaadin.flow.server.frontend.TaskUpdatePackages
All Implemented Interfaces:
Updates package.json
by visiting NpmPackage
annotations
found in the classpath. It also visits classes annotated with
NpmPackage
.
For internal use only. May be renamed or removed in a future release.
Since:
2.0
-
Field Summary
FieldsFields inherited from class com.vaadin.flow.server.frontend.NodeUpdater
DEP_NAME_FLOW_DEPS, DEP_NAME_FLOW_JARS, frontDeps, options
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Runs the given command.
protected static boolean
pinPlatformDependency
(com.fasterxml.jackson.databind.JsonNode packageJson, com.fasterxml.jackson.databind.JsonNode platformPinnedVersions, String pkg) Methods inherited from class com.vaadin.flow.server.frontend.NodeUpdater
generateVersionsJson, getPackageJsonFile, getPackageLockFile
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.server.frontend.FallibleCommand
setGeneratedFileSupport
-
Field Details
-
VAADIN_APP_PACKAGE_HASH
See Also:
-
-
Method Details
-
execute
public void execute()Description copied from interface:
FallibleCommand
Runs the given command.
If execution fails then the command may throw an exception which may give a message and a cause of the failure.
-
pinPlatformDependency
protected static boolean pinPlatformDependency(com.fasterxml.jackson.databind.JsonNode packageJson, com.fasterxml.jackson.databind.JsonNode platformPinnedVersions, String pkg)
-