Skip to content

Conversation

mcollovati
Copy link
Collaborator

During frontend build only npm packages imported by Java classes are validate by the license checker. However, for apps with Hilla views the check is skipped for packages imported only by frontend views. This change forces validation for all detected commercial components if the application is using Hilla views.

During frontend build only npm packages imported by Java classes
are validate by the license checker. However, for apps with Hilla views
the check is skipped for packages imported only by frontend views.
This change forces validation for all detected commercial components
if the application is using Hilla views.
Copy link

Copy link

Test Results

1 237 files  ±0  1 237 suites  ±0   1h 15m 33s ⏱️ + 1m 22s
8 489 tests +1  8 432 ✅ +1  57 💤 ±0  0 ❌ ±0 
8 891 runs   - 1  8 825 ✅  - 1  66 💤 ±0  0 ❌ ±0 

Results for commit e859bcf. ± Comparison against base commit ec7a322.

This pull request removes 1 and adds 2 tests. Note that renamed tests count towards both.
com.vaadin.flow.plugin.base.BuildFrontendUtilTest ‑ detectsUsedCommercialComponents
com.vaadin.flow.plugin.base.BuildFrontendUtilTest ‑ detectsUsedCommercialComponents_checkJavaImportedPackagesOnly
com.vaadin.flow.plugin.base.BuildFrontendUtilTest ‑ detectsUsedCommercialComponents_validateAllPackages_bundleRebuilt

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

Labels

Projects

Status: 🔎Iteration reviews

Development

Successfully merging this pull request may close these issues.

3 participants