From a2bcbfadbcf9350a49883b32af413c8b997d7856 Mon Sep 17 00:00:00 2001 From: Vaadin Bot Date: Thu, 17 Sep 2026 14:14:24 +0200 Subject: [PATCH] docs: update documentation for vaadin/flow#25779 Source PR: fix: stop pnpm from reinstalling before the postinstall script Source commit: ea9d15109b1275dffce1d57e66af9933825b0eaa Categories: BEHAVIOR_CHANGE --- articles/flow/configuration/maven.adoc | 3 +++ articles/flow/configuration/properties.adoc | 2 ++ 2 files changed, 5 insertions(+) diff --git a/articles/flow/configuration/maven.adoc b/articles/flow/configuration/maven.adoc index dc8421d17b..438d31104f 100644 --- a/articles/flow/configuration/maven.adoc +++ b/articles/flow/configuration/maven.adoc @@ -150,6 +150,9 @@ Specifies to use `bun` to install `npm` frontend resources. Defaults to `false`. `postinstallPackages`:: Additional npm packages to run post-install scripts for. Post-install is run automatically for internal dependencies that rely on it, such as `esbuild`. Defaults to an empty list. Settable as the `-Dvaadin.npm.postinstallPackages` system property, using a comma-separated list. ++ +// TODO: Verify this documentation change — auto-generated by doc-bot +[since:com.vaadin:vaadin@V25.4]#If a postinstall script exits with a non-zero status, the build fails and the error message includes the script's output.# Previously, a failing postinstall script was silently ignored and the build continued. `excludePostinstallPackages`:: The npm packages to exclude from running post-install scripts. Used to skip built-in entries (for example, `esbuild`) when their post-install step is known to fail or isn't needed. Defaults to an empty list. Settable as the `-Dvaadin.npm.excludePostinstallPackages` system property, using a comma-separated list. diff --git a/articles/flow/configuration/properties.adoc b/articles/flow/configuration/properties.adoc index 346c0eca67..34665125f3 100644 --- a/articles/flow/configuration/properties.adoc +++ b/articles/flow/configuration/properties.adoc @@ -284,6 +284,8 @@ Mode: Build `**npm.postinstallPackages**`:: Define post-install scripts that need to be executed after npm install completes. + +// TODO: Verify this documentation change — auto-generated by doc-bot +[since:com.vaadin:vaadin@V25.4]#If a postinstall script exits with a non-zero status, the build fails and the error message includes the script's output.# Previously, a failing postinstall script was silently ignored and the build continued. + Default: + Mode: Build