Skip to content

docs: document setting node.folder from a Gradle build - #6681

Open
vaadin-bot wants to merge 1 commit into
mainfrom
doc-bot/vaadin-flow/26978-d3f38ca2aed87547
Open

vaadin-bot wants to merge 1 commit into
mainfrom
doc-bot/vaadin-flow/26978-d3f38ca2aed87547

Conversation

@vaadin-bot

Copy link
Copy Markdown
Contributor

Documentation for vaadin/flow#26978 by @totally-not-ai[bot].

Note

The source pull request is merged, so this documentation describes the final
shape of the change. Please review it and mark it ready for review.

Change categories: BEHAVIOR_CHANGE (Gradle plugin now reads the vaadin.node.folder system/project property), INTERNAL_ONLY (log message wording and level for the unsupported-global-Node.js case)

File Change
articles/flow/configuration/development-mode/node-js.adoc The "Custom Node.js Folder" section only showed how to set node.folder from Maven (system property and plugin configuration). Added the Gradle equivalents: setting it on the command line as -Dvaadin.node.folder=... or -Pvaadin.node.folder=..., or in the vaadin {} block.

The log-message change in NodeResolver (naming the vaadin.node.folder property and logging at warn vs. info depending on whether the fallback Node.js is already installed) is a diagnostic improvement a reader learns from the console, and the behavior it describes was already documented on this page, so it isn't repeated here.

Generated by Documentation Bot for #26978 · agent · 119.5 AIC · ⊞ 11.7K · ◷

  • expires on Dec 16, 2026, 7:50 AM UTC

Add Gradle command-line and build-script examples for the node.folder
property, alongside the existing Maven ones, on the Custom Node.js
Folder page.

Documents vaadin/flow#26978 (`3f3d09250e27ac7998a4b7cded8aa9a879ed656a`).
@caalador
caalador marked this pull request as ready for review November 16, 2026 07:59
Copilot AI balanced review requested due to automatic review settings November 16, 2026 07:59
@github-actions

Copy link
Copy Markdown
Contributor

Preview Deployment

This PR has been deployed for preview.

URL: https://docs-preview-pr-6681.fly.dev

Changed pages

Added content is highlighted in green; removed content is marked in red on each page.

Built from af7e349

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues for the documentation update adding Gradle options for configuring a custom Node.js folder.

No open issues 🎉

What changed in this PR

Extends Vaadin’s Node.js configuration documentation with Gradle equivalents for setting a custom Node.js folder, alongside the existing Maven examples.

Changes:

  • Documents the -Dvaadin.node.folder and -Pvaadin.node.folder command-line options.
  • Adds a nodeFolder configuration example in the vaadin {} block.
File Description
articles/​flow/​configuration/​development-mode/​node-js.adoc Adds Gradle instructions for configuring a custom Node.js folder.

Review effort: Balanced

@vaadin-review-bot vaadin-review-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Nothing to flag — the changes look good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants