Package com.vaadin.flow.server.frontend
package com.vaadin.flow.server.frontend
-
ClassDescriptionA base class for commands providing helpers for common file generation actions.Abstract class for generating client files.Bundle handling methods.Utilities for commercial product handling.A factory for creating Vaadin Endpoint generator tasks.Excludes dependencies listed in an "exclusions" array of vaadin-*versions.json file from a package.json.Thrown by
FallibleCommandif it's unable to complete its execution.A generic command which may fail.Utility class for frontend build operations.Provides access to frontend tools (Node.js and npm, pnpm, bun) and optionally installs the tools if needed.Helps to locate the tools in the system by their names.Configuration object for controlling theFrontendToolsfeatures.Generates embeddable web component files in npm mode, hiding the complexity caused by using a different class loader.A helper for tasks to handle generated files.Collect generated-flow-imports content for project to use to determine if dev-bundle contains all required imports.Shared code for managing contents of jar files.An executor that it's run when the servlet context is initialised in dev-mode or when flow-maven-plugin goals are run.Base abstract class for frontend updaters that needs to be run when in dev-mode or from the flow maven plugin.Build aNodeExecutorinstance.Helpers related to the production bundle.Factory for reading proxy configurations from various sources including system properties, .npmrc files, and environment variables.Clean any frontend files generated for creation on a new development or production bundle.Copies all frontend resources from JAR files into a given folder.Copies JavaScript files from the given local frontend folder.Copies JavaScript and CSS files from JAR files into a given folder.Copies template files to the target folder so as to be available for parsing at runtime in production mode.A task for generating the bootstrap fileFrontendUtils.BOOTSTRAP_FILE_NAMEduring `package` Maven goal.Generatecommercial-banner.jsif it is missing in frontend/generated folder.Generate the TS files for endpoints, and the Client API file.A task for generating the feature flags fileFrontendUtils.FEATURE_FLAGS_FILE_NAMEduring `package` Maven goal.Generateindex.htmlif it is missing in frontend folder.Generateindex.tsif it is missing in frontend folder.Generate OpenAPI json file for Vaadin Endpoints.Creates thepackage.jsonif missing.Generates necessary PWA icons.Generate default files for react-router if missing from the frontend folder.Generateindex.htmlif it is missing in frontend folder.Generatetailwind.cssif it is missing in the generated frontend folder.Generatetailwind.jswrapper if it is missing in the generated frontend folder.Generatetsconfig.jsonif it is missing in project folder.Generatetypes.d.tsif it is missing in project folder andtsconfig.jsonexists in project folder.Generatevite-devmode.tsif it is missing in frontend/generated folder.A task for generating the bootstrap file for exported web componentsFrontendUtils.WEB_COMPONENT_BOOTSTRAP_FILE_NAMEduring `package` Maven goal.Generateweb-component.htmlif it is missing in frontend folder.Task that installs any Flow frontend plugins into node_modules/@vaadin for use with frontend compilation.Copies production bundle files from pre-compiled bundle JAR into a folder where production bundle is normally located.Process CSS files in META-INF/resources for production build.Deletes old files from frontend generated folder.Compiles the dev mode bundle if it is out of date.Runnpm installafter dependencies have been updated.An updater that it's run when the servlet context is initialised in dev-mode or when flow-maven-plugin goals are run in order to update Flow imports file and "jar-resources" contents by visiting all classes withJsModuleandThemeannotations.Updatedindex.tsif it imports Flow from an old location.Updatespackage.jsonby visitingNpmPackageannotations found in the classpath.Creates a vaadin-dev-server-settings.json file for use with dev server configuration.Task generating the theme definition file 'theme.js' for importing application theme into the generated frontend directory.Updates the Vite configuration files according with current project settings.Theme handling methods.Implemented by classes that want to modify the bootstrap typescript.Exception thrown for when a node task that is not in the task list is encountered.