You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently we discovered that a disconnect can arise between our Shared Components Dependencies and the packages we use locally, specifically vue and vue-template-compiler versions. If the vue versioning in the Shared Components gets ahead or behind the UI where implemented, it can create compiler errors.
While this isn't an immediate risk of failure, as it requires manual updates of a shared component it is worth looking into a permanent solution or a means of ensuring the shared components dependencies have no bearing on the local implementations versioning.
I am not sure what the incompatibility is between the shared component and the app, but maybe there's a config option to allow different Vue versions, or maybe there's a breaking change between the Vue version (2.6.11, 2.6.12 and 2.6.14).
@cameron-freshworks Is this ticket relevant in regards to our upcoming Vue3 upgrade work? Is this is a specific thing that needs to be investigated? Do we have a solution for the problem described above? Please update/comment/close/etc. Thanks!
@severinbeauvais I believe it will be more relevant than ever once the shared components are Vue 3 and locally is 2 😆
That being said, i don't know of a solution outside of keeping the versions in Sync.
I'm ok to close this ticket as this will be something we are doing anyways with our Vue upgrade.
Just a final note, this could be bumped into again in the future if our local and shared Vue versions get out of sync.
Activity
severinbeauvais commentedon Dec 21, 2021
I am not sure what the incompatibility is between the shared component and the app, but maybe there's a config option to allow different Vue versions, or maybe there's a breaking change between the Vue version (2.6.11, 2.6.12 and 2.6.14).
jdyck-fw commentedon Jan 13, 2022
The business value is that it might mean less maintenance work and make things more reusable going forward.
jdyck-fw commentedon Jan 20, 2022
This will become obsolete if we do #10725
severinbeauvais commentedon Sep 20, 2022
@cameron-freshworks Is this ticket relevant in regards to our upcoming Vue3 upgrade work? Is this is a specific thing that needs to be investigated? Do we have a solution for the problem described above? Please update/comment/close/etc. Thanks!
cameron-eyds commentedon Sep 20, 2022
@severinbeauvais I believe it will be more relevant than ever once the shared components are Vue 3 and locally is 2 😆
That being said, i don't know of a solution outside of keeping the versions in Sync.
I'm ok to close this ticket as this will be something we are doing anyways with our Vue upgrade.
Just a final note, this could be bumped into again in the future if our local and shared Vue versions get out of sync.
severinbeauvais commentedon Sep 20, 2022
Maybe this can be solved by https://app.zenhub.com/workspaces/entities-team-space-6143567664fb320019b81f39/issues/bcgov/entity/10792 (future).