Skip to content

chore: scope Dependabot to skip Vaadin-managed npm packages#10

Merged
ddobrin merged 1 commit into
mainfrom
chore/dependabot-ignore-vaadin-managed
Jun 16, 2026
Merged

chore: scope Dependabot to skip Vaadin-managed npm packages#10
ddobrin merged 1 commit into
mainfrom
chore/dependabot-ignore-vaadin-managed

Conversation

@ddobrin

@ddobrin ddobrin commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Why

This is a Vaadin Hilla project. The vaadin-maven-plugin (flow:prepare-frontend) regenerates package.json on every build and pins the frontend npm toolchain to the versions that ship with the configured <vaadin.version> (25.1.6) in pom.xml.

Verified empirically: building the open Dependabot PR #8 branch with ./mvnw -Pproduction clean package reverted react-router 7.16.0 → 7.13.1 in package.json. So Dependabot bumps to Vaadin-managed packages never take effect — they just create no-op PRs and a dirty tree.

What

Add .github/dependabot.yml that:

  • npm: ignores the Vaadin-owned surface (vite, @vitejs/*, esbuild, @vaadin/*, react-router, react, react-dom, lit).
  • maven: keeps weekly updates active (Spring AI, Spring Boot, etc. remain useful).

Upgrade the ignored frontend packages by bumping <vaadin.version> in pom.xml instead.

Companion cleanup: open Dependabot PRs #8 and #9 are being closed (@dependabot ignore) as they target these managed packages.

🤖 Generated with Claude Code

The vaadin-maven-plugin regenerates package.json on every build and pins
the frontend npm toolchain (vite, @vitejs/*, esbuild, @vaadin/*,
react-router, react, react-dom, lit) to versions tested against
<vaadin.version> in pom.xml. Dependabot bumps to those packages are
reverted by the build and never take effect, so ignore them here.
Upgrade them by bumping <vaadin.version> instead. Maven updates stay on.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ddobrin ddobrin merged commit a9ef1d7 into main Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant