Package com.vaadin.flow.plugin.base
Class CleanFrontendUtil
java.lang.Object
com.vaadin.flow.plugin.base.CleanFrontendUtil
Utility class for cleaning the frontend files to a clean state.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classException thrown when cleaning the frontend fails. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidrunCleaning(PluginAdapterBase adapter, CleanOptions options) Cleans the frontend files to a clean state.
-
Field Details
-
VAADIN
- See Also:
-
DEPENDENCIES
- See Also:
-
DEV_DEPENDENCIES
- See Also:
-
OVERRIDES
- See Also:
-
PNPM
- See Also:
-
-
Constructor Details
-
CleanFrontendUtil
public CleanFrontendUtil()
-
-
Method Details
-
runCleaning
public static void runCleaning(PluginAdapterBase adapter, CleanOptions options) throws CleanFrontendUtil.CleanFrontendException Cleans the frontend files to a clean state.Deletes Vaadin dependencies from package.json, the generated frontend folder and the npm/pnpm-related files and folders:
- node_modules
- pnpm-lock.yaml
- package-lock.json
-