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

PiT 24.4: regression? NpmPackage not added to the package.json #18721

Closed
Tracked by #5012
manolo opened this issue Feb 16, 2024 · 3 comments
Closed
Tracked by #5012

PiT 24.4: regression? NpmPackage not added to the package.json #18721

manolo opened this issue Feb 16, 2024 · 3 comments

Comments

@manolo
Copy link
Member

manolo commented Feb 16, 2024

Description of the bug

It seems that certain NpmPackage are not added to the package.json breaking the build.
Removing the pakage*json files does not help

Expected behavior

They are added as previously

Minimal reproducible example

git clone [email protected]:vaadin/observability-kit.git
cd observability-kit
git checkout use-hilla-24-4
mvn clean install -DskipTests
cd observability-kit-demo-hilla
mvn

Versions

  • Vaadin / Flow version: 24.4-SNAPSHOT
@manolo manolo changed the title PiT: regression? NpmPackage not added to the package.json PiT 24.4: regression? NpmPackage not added to the package.json Feb 16, 2024
@tltv
Copy link
Member

tltv commented Feb 16, 2024

Looks like something is missing in observability-kit's hilla starter.

NpmPackages are added in ObservabilityClient.

But this is in observability-kit-starter artifact in com.vaadin group. There's another observability-kit-starter artifact in com.vaadin.hilla group that does not have this class and it's used by the demo and that could explain the missing @opentelemetry/* dependencies.

@heruan
Copy link
Member

heruan commented Feb 19, 2024

While the Flow demo infers the NPM dependencies from the ObservabilityClient class annotations, the Hilla demo should get them transitively from @hilla/observability-kit-client (defined in ts/observability-kit-client). Most probably the Hilla demo needs to be rebuild ground-up.

@manolo
Copy link
Member Author

manolo commented Feb 28, 2024

Fixed in vaadin/observability-kit#244

@manolo manolo closed this as completed Feb 28, 2024
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

No branches or pull requests

3 participants