Package com.vaadin.flow.server.frontend
Class TaskGeneratePackageJson
java.lang.Object
com.vaadin.flow.server.frontend.NodeUpdater
com.vaadin.flow.server.frontend.TaskGeneratePackageJson
- All Implemented Interfaces:
FallibleCommand
Creates the
package.json if missing.
For internal use only. May be renamed or removed in a future release.
- Since:
- 2.0
-
Field Summary
Fields inherited from class com.vaadin.flow.server.frontend.NodeUpdater
DEP_NAME_FLOW_DEPS, DEP_NAME_FLOW_JARS, frontDeps, options -
Method Summary
Methods inherited from class com.vaadin.flow.server.frontend.NodeUpdater
generateVersionsJson, getPackageJsonFile, getPackageLockFileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.server.frontend.FallibleCommand
setGeneratedFileSupport
-
Method Details
-
execute
public void execute()Description copied from interface:FallibleCommandRuns the given command.If execution fails then the command may throw an exception which may give a message and a cause of the failure.
-