Improve che:theia production command to correct repack theia dependencies #15748
Labels
area/editor/theia
Issues related to the che-theia IDE of Che
kind/task
Internal things, technical debt, and to-do tasks to be performed.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
severity/P2
Has a minor but important impact to the usage or development of the system.
Is your task related to a problem? Please describe.
After latest build failure (related issue: #15695) there was provided temporary solution, that adds missing dependency to the theia generator assembly-package.mst#L73. As a temporary solution it works fine, but there is a need to review the
che:theia production
command (production.ts) to be able to repack correct dependencies in case if upstream project provide more than one dependency that have two versions.Describe the solution you'd like
Filter dependencies and look for the one dependency with more than one version and took the latest one into che-theia image assembly.
Describe alternatives you've considered
Not yet discussed.
Additional context
None
The text was updated successfully, but these errors were encountered: