Options |
Options.copyLocalResources(File localResourcesFolder) |
Set local frontend files to be copied from given folder.
|
Options |
Options.copyResources(Set<File> jars) |
Sets whether copy resources from classpath to the appropriate npm package
folder so as they are available for webpack build.
|
Options |
Options.copyTemplates(boolean copyTemplates) |
Sets whether copy templates to META-INF/VAADIN/config/templates .
|
Options |
Options.createMissingPackageJson(boolean create) |
Sets whether to create the package file if missing.
|
Options |
Options.enableImportsUpdate(boolean enableImportsUpdate) |
Sets whether to enable imports file update.
|
Options |
Options.enablePackagesUpdate(boolean enablePackagesUpdate) |
Sets whether to enable packages and webpack file updates.
|
Options |
Options.enablePnpm(boolean enable) |
Enables pnpm tool.
|
Options |
Options.populateTokenFileData(elemental.json.JsonObject object) |
Fill token file data into the provided object .
|
Options |
Options.runNpmInstall(boolean runNpmInstall) |
Sets whether run npm install after updating dependencies.
|
Options |
Options.setJavaResourceFolder(File javaResourceFolder) |
Set the java resources folder to be checked for feature file.
|
Options |
Options.setNodeAutoUpdate(boolean update) |
Sets whether it is fine to automatically update the alternate node
installation if installed version is older than the current default.
|
Options |
Options.useByteCodeScanner(boolean byteCodeScanner) |
Sets frontend scanner strategy: byte code scanning strategy is used if
byteCodeScanner is true , full classpath scanner strategy
is used otherwise (by default).
|
Options |
Options.useGlobalPnpm(boolean useGlobalPnpm) |
Uses globally installed pnpm tool for frontend packages installation.
|
Options |
Options.useV14Bootstrap(boolean useDeprecatedV14Bootstrapping) |
Use V14 bootstrapping that disables index.html entry point.
|
Options |
Options.withApplicationProperties(File applicationProperties) |
Set application properties file for Spring project.
|
Options |
Options.withCiBuild(boolean ciBuild) |
Enables ci build.
|
Options |
Options.withEmbeddableWebComponents(boolean generateEmbeddableWebComponents) |
|
Options |
Options.withEndpointGeneratedOpenAPIFile(File endpointGeneratedOpenAPIFile) |
Set output location for the generated OpenAPI file.
|
Options |
Options.withEndpointSourceFolder(File endpointSourceFolder) |
Set source paths that OpenAPI generator searches for endpoints.
|
Options |
Options.withFrontendGeneratedFolder(File frontendGeneratedFolder) |
Set the folder where frontend files should be generated.
|
Options |
Options.withHomeNodeExecRequired(boolean requireHomeNodeExec) |
Requires node executable to be installed in vaadin home folder.
|
Options |
Options.withJarFrontendResourcesFolder(File jarFrontendResourcesFolder) |
Sets the appropriate npm package folder for copying flow resources in
jars.
|
Options |
Options.withNodeDownloadRoot(URI nodeDownloadRoot) |
Sets the download node.js URL.
|
Options |
Options.withNodeVersion(String nodeVersion) |
Sets the node.js version to be used when node.js is installed
automatically by Vaadin, for example "v16.0.0" .
|
Options |
Options.withPostinstallPackages(List<String> postinstallPackages) |
Sets the additional npm packages to run postinstall for.
|
Options |
Options.withProductionMode(boolean productionMode) |
Sets the production mode.
|
Options |
Options.withTokenFile(File tokenFile) |
Sets the token file (flow-build-info.json) path.
|
Options |
Options.withWebpack(File webappResourcesDirectory,
File resourceOutputDirectory) |
Sets the webpack related properties.
|