Add missing dependencies required in @rancher/shell for external cases, removed with migration #12318
Labels
area/extensions
area/vue3
Bugs and technical debts as outcome to the Vue3 migration
kind/enhancement
kind/tech-debt
Technical debt
QA/None
Milestone
Is your feature request related to a problem? Please describe.
After the migration to Vue3, some libraries are required for external cases when providing the files as
@rancher/shell
library, e.g. for extensions. This is a known consequence for removingnuxt
dependency, since we were importing/using these libraries without define them in the project or shell library.Describe the solution you'd like
Add these libraries to
./shell/package.json
Describe alternatives you've considered
None.
Additional context
These libraries were added in the example as a requirement to make them work, but as @aalves08 pointed out, they should be already included in the
@rancher/shell
library and avoid adding in each extension.Example to avoid, done to make it work: https://github.com/rancher/ui-plugin-examples/blob/main/pkg/clock/package.json#L20C44-L24C45
The text was updated successfully, but these errors were encountered: