refactor(homepage): narrow main entry point public API - #4852
christoph-jerolimov wants to merge 1 commit into
Conversation
|
Important This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior. Changed Packages
|
PR Summary by QodoNarrow the homepage plugin's public package API
AI Description
Diagram
High-Level Assessment
Files changed (7)
|
Code Review by Qodo
1. Breaking removals ship as a minor update
|
|
Important The |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4852 +/- ##
=======================================
Coverage 60.38% 60.38%
=======================================
Files 2672 2672
Lines 106387 106387
Branches 29922 29927 +5
=======================================
Hits 64244 64244
Misses 40382 40382
Partials 1761 1761
*This pull request uses carry forward flags. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
Move plugin implementation to plugin.ts and limit the package entry point to the default plugin export and translations module. Remove deprecated aliases and other named exports from the main entry point. Serve the demo homepage at /homepage and redirect / there. Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
c2ad7a1 to
56bb244
Compare
|



Description
Narrow the homepage plugin's main package entry point by moving the plugin implementation into
plugin.tsand limiting exports to the default plugin, translations module, and translation resources.Deprecated public API aliases (
homePagePlugin,homePageModule) and other named exports (homepagePlugin,homepageHomeModule,homepageRouteRef) are removed from the main entry point. The demo app and dev shell are updated to use the default plugin import.Checklist
Made with Cursor