Bug 2109673
| Summary: | Ensure that dependencies of Console plugin SDK packages are up-to-date | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Vojtech Szocs <vszocs> |
| Component: | Management Console | Assignee: | Vojtech Szocs <vszocs> |
| Status: | CLOSED DEFERRED | QA Contact: | Yadan Pei <yapei> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.11 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-03-09 01:25:27 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
OpenShift has moved to Jira for its defect tracking! This bug can now be found in the OCPBUGS project in Jira. https://issues.redhat.com/browse/OCPBUGS-9412 |
Description of problem: We should align dependencies of Console plugin SDK packages with what's actually used within their generated code (excluding type-only dependencies). Steps to reproduce: cd path/to/console/frontend yarn install # this also rebuilds the Console plugin SDK cd packages/console-dynamic-plugin-sdk jq -n 'inputs | {name,dependencies}' dist/*/package.json The last command above prints dependencies declared by each package. These should be compared with the generated JavaScript code at dist/<pkg>/lib directory.