Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix babel dependencies in plexus repo (#2502)
## Which problem is this PR solving? Fix babel dependencies in plexus repo ## Description of the changes PR #2485 produced an invalid dependency configuration: The `package.json` file specifies version `7.26.0`: https://github.com/jaegertracing/jaeger-ui/blob/ef0bb277e0854be44792961f3218ef16fe783285/packages/plexus/package.json#L18 however, the locked version is `7.25.2`: https://github.com/jaegertracing/jaeger-ui/blob/ef0bb277e0854be44792961f3218ef16fe783285/package-lock.json#L21849-L21850 Same for the `@babel/preset-env` dependency. The error is visible with: ``` $ npm ls --all ... npm error code ELSPROBLEMS npm error invalid: @babel/core@7.25.2 /home/agerstmayr/redhat/dev/jaeger-ui/packages/plexus/node_modules/@babel/core npm error invalid: @babel/preset-env@7.25.4 /home/agerstmayr/redhat/dev/jaeger-ui/packages/plexus/node_modules/@babel/preset-env ``` To prevent this error in the future, I added a check for this situation to the GitHub action. ## How was this change tested? - locally ## Checklist - [X] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [X] I have signed all commits - [X] I have added unit tests for the new functionality - [ ] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `yarn lint` and `yarn test` Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
- Loading branch information