Skip to content

docs: explain how the minimum frontend package age is resolved - #6093

Open
mshabarov wants to merge 1 commit into
mainfrom
docs/minimum-package-age-precedence
Open

mshabarov wants to merge 1 commit into
mainfrom
docs/minimum-package-age-precedence

Conversation

@mshabarov

Copy link
Copy Markdown
Contributor

Documents vaadin/flow#25173

behavior deviation · flow/configuration · projects that configure
min-release-age for npm, pnpm, or bun themselves

The minimumFrontendPackageAgeDays parameter used to default to one day
and was always passed on the package manager command line, which beats
every configuration file. A project that had configured a minimum
release age of its own silently got the Vaadin default instead. The
parameter is now unset by default, and the configuration of the package
manager is kept where the project has one. The docs still described the
old behavior and the old default.

Risks:

  • ✅ Docs only. Three pages reworded, no new page and no moved anchor.

  • Added a "Where the Minimum Age Comes From" section to the npm, pnpm &
    bun page, listing the three-step order: the Vaadin parameter, then
    the setting of the package manager, then the one-day default.

  • Described what 0 means now: Vaadin adds no restriction of its own,
    and a minimum release age configured for the package manager still
    applies.

  • Noted that bun can't be asked what it resolves, so a
    minimumReleaseAge in a bunfig.toml is not detected.

  • Corrected the parameter reference in the configuration properties and
    the Maven plugin pages, where the default was documented as 1.

🤖 Generated with Claude Code

The parameter is no longer passed to the package manager by default, so
a min-release-age configured in .npmrc or pnpm-workspace.yaml is kept
instead of being overridden by the Vaadin default.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@peholmst peholmst added the target/v25.3 Automatically cherry-pick to the v25.3 branch label Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

target/v25.3 Automatically cherry-pick to the v25.3 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants