Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: provide specific package-lock.json for hybrid applications #19342

Merged
merged 1 commit into from May 13, 2024

Conversation

mcollovati
Copy link
Collaborator

Description

The package-lock.json provided by the pre-compiled dev-bundle contains no Hilla dependencies, slowing down the first frontend build. This change attempts to extract a package-lock.json file specific to the hybrid application from the bundle, possibly falling back on the standard one.

Fixes #19298

Type of change

  • Bugfix
  • Feature

Checklist

  • I have read the contribution guide: https://vaadin.com/docs/latest/guide/contributing/overview/
  • I have added a description following the guideline.
  • The issue is created in the corresponding repository and I have referenced it.
  • I have added tests to ensure my change is effective and works as intended.
  • New and existing tests are passing locally with my change.
  • I have performed self-review and corrected misspellings.

Additional for Feature type of change

  • Enhancement / new feature was discussed in a corresponding GitHub issue and Acceptance Criteria were created.

The package-lock.json provided by the pre-compiled dev-bundle contains no Hilla
dependencies, slowing down the first frontend build.
This change attempts to extract a package-lock.json file specific to the hybrid
application from the bundle, possibly falling back on the standard one.

Fixes #19298
@mcollovati
Copy link
Collaborator Author

Related to vaadin/platform#5834

Copy link

sonarcloud bot commented May 9, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

github-actions bot commented May 9, 2024

Test Results

1 101 files  ± 0  1 101 suites  ±0   1h 21m 7s ⏱️ - 5m 32s
7 006 tests + 2  6 957 ✅ + 2  49 💤 ±0  0 ❌ ±0 
7 357 runs   - 10  7 296 ✅  - 10  61 💤 ±0  0 ❌ ±0 

Results for commit 1603a04. ± Comparison against base commit d55d933.

@mshabarov mshabarov merged commit cdc8028 into main May 13, 2024
26 checks passed
@mshabarov mshabarov deleted the issues/19298_hilla-package-lock branch May 13, 2024 11:40
vaadin-bot pushed a commit that referenced this pull request May 13, 2024
The package-lock.json provided by the pre-compiled dev-bundle contains no Hilla
dependencies, slowing down the first frontend build.
This change attempts to extract a package-lock.json file specific to the hybrid
application from the bundle, possibly falling back on the standard one.

Fixes #19298
vaadin-bot added a commit that referenced this pull request May 13, 2024
…) (#19363)

The package-lock.json provided by the pre-compiled dev-bundle contains no Hilla
dependencies, slowing down the first frontend build.
This change attempts to extract a package-lock.json file specific to the hybrid
application from the bundle, possibly falling back on the standard one.

Fixes #19298

Co-authored-by: Marco Collovati <marco@vaadin.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

Include Hilla dependencies in the default package-lock.json file
4 participants