com.vaadin.flow.server.frontend.
Package com.vaadin.flow.server.frontend
-
ClassDescription
A base class for commands providing helpers for common file generation actions.
Abstract class for generating client files.
Bundle handling methods.
Exception for when there is a problem with compressing files.
Utility class for compression and decompression of folders and files.
Utility methods to handle application theme CSS content.
Utilities for commercial product handling.
Helpers related to the development bundle.
A factory for creating Vaadin Endpoint generator tasks.
Excludes dependencies listed in an "exclusions" array of vaadin-*versions.json file from a package.json.
A generic command which may fail.
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 the
FrontendTools
features.A class for static methods and definitions that might be used in different locations.
Thrown when the command execution fails.
Thrown when detecting the version of a tool fails.
Version object for frontend versions comparison and handling.
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 a
NodeExecutor
instance.Helpers related to the production bundle.
Clean any frontend files generated for creation on a new development or production bundle.
Copies JavaScript and CSS files from JAR files into a given folder.
Copies JavaScript files from the given local frontend 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 file
FrontendUtils.BOOTSTRAP_FILE_NAME
during `package` Maven goal.Generate the TS files for endpoints, and the Client API file.
A task for generating the feature flags file
FrontendUtils.FEATURE_FLAGS_FILE_NAME
during `package` Maven goal.Generate
index.html
if it is missing in frontend folder.Generate
index.ts
if it is missing in frontend folder.Generate OpenAPI json file for Vaadin Endpoints.
Creates the
package.json
if missing.Generates necessary PWA icons.
Generate default files for react-router if missing from the frontend folder.
Generate
index.html
if it is missing in frontend folder.Generate
tsconfig.json
if it is missing in project folder.Generate
types.d.ts
if it is missing in project folder andtsconfig.json
exists in project folder.Generate
vite-devmode.ts
if it is missing in frontend/generated folder.A task for generating the bootstrap file for exported web components
FrontendUtils.WEB_COMPONENT_BOOTSTRAP_FILE_NAME
during `package` Maven goal.Generate
web-component.html
if it is missing in frontend folder.Task that installs any Flow webpack plugins into node_modules/@vaadin for use with webpack compilation.
Copies production bundle files from pre-compiled bundle JAR into a folder where production bundle is normally located.
Deletes old files from frontend generated folder.
Compiles the dev mode bundle if it is out of date.
Run
npm install
after 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 with
JsModule
andTheme
annotations.Updated
index.ts
if it imports Flow from an old location.Updates
package.json
by visitingNpmPackage
annotations 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.
Helpers related to theme handling.
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.