-
Notifications
You must be signed in to change notification settings - Fork 49
Dependency updates #4817
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
Dependency updates #4817
Conversation
Reviewer's GuideConsolidates shared devDependencies into the root package.json, cleans up duplicate devDeps in app and lib package.json files, and bumps several @redhat-cloud-services and tooling package versions while slightly renaming a root lint script. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Summary of ChangesHello @dlabrecq, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly refactors the project's dependency management by consolidating common development dependencies into the root Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey - I've left some high level feedback:
- The rename from
lint:fix:alltolint:fixin the root package may break existing tooling or CI that calls the old script name; consider searching the repo/build configs for references tolint:fix:alland updating them in this PR. - By removing
@types/reactand@types/react-domfrom thelibs/*packages and relying on the root devDependencies, those libraries can no longer be type-checked independently of the monorepo; if they are meant to be consumable or buildable in isolation, consider keeping the type packages scoped to the libs.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The rename from `lint:fix:all` to `lint:fix` in the root package may break existing tooling or CI that calls the old script name; consider searching the repo/build configs for references to `lint:fix:all` and updating them in this PR.
- By removing `@types/react` and `@types/react-dom` from the `libs/*` packages and relying on the root devDependencies, those libraries can no longer be type-checked independently of the monorepo; if they are meant to be consumable or buildable in isolation, consider keeping the type packages scoped to the libs.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4817 +/- ##
=======================================
Coverage 86.64% 86.64%
=======================================
Files 482 482
Lines 9231 9231
Branches 2236 2240 +4
=======================================
Hits 7998 7998
Misses 1162 1162
Partials 71 71 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request effectively consolidates common devDependencies into the root package.json, which is a great improvement for dependency management in this monorepo. The dependency versions have also been updated. I have one concern regarding the koku-ui-onprem package where some dependencies related to build optimization were removed, which could potentially impact performance.
I am having trouble creating individual review comments. Click here to see my feedback.
apps/koku-ui-onprem/package.json (57-58)
The removal of @redhat-cloud-services/frontend-components-config, @redhat-cloud-services/tsc-transform-imports, and ts-patch (on line 77) from devDependencies is a concern. The tsc-transform-imports package is crucial for optimizing PatternFly icon imports, and its removal could lead to a larger bundle size and a performance regression. Please consider restoring these dependencies and configuring the transformer in the webpack config, unless an alternative optimization is in place.
Consolidate common
devDependenciesin root package.Note the FEC script adds
typescriptandts-patchtodevDependenciesregardless of root package, so left that alone.Summary by Sourcery
Update shared devDependencies to be managed from the root package and refresh Red Hat frontend-related dependencies across apps.
Enhancements: