Update @vue/compat patches for @gitlab/ui

What does this MR do and why?

Update @vue/compat patches

This updates the existing @vue/compat patches to patch the dist/vue.esm-bundler.js build as well. It is the @vue/compat build with the runtime template compiler included.

While this project doesn't use that build at all, @gitlab/ui does, via gitlab-org/gitlab-services/design.gitlab.com!5808 (merged).

In other words, this project won't be affected by these changes at all. The @gitlab/ui project will, though, as it has a script to copy the patches from this project and transforms them to be useable there, for testing its components against in a comparable "hybrid" Vue. See gitlab-org/gitlab-services/design.gitlab.com!5808 (merged) for more details.

References

Screenshots or screen recordings

N/A

How to set up and validate locally

Since this project doesn't use the runtime template compiler build of @vue/compat, the validation happens elsewhere: in the design system project.

  1. Check out the https://gitlab.com/gitlab-org/gitlab-services/design.gitlab.com repo locally.
  2. If gitlab-org/gitlab-services/design.gitlab.com!5808 (merged) has merged:
    • check out branch main
    • else, check out branch hybrid-vue
  3. Run scripts/update_hybrid_vue_compat_patches.mjs --ref=extend-vue-compat-patches-for-gitlab-ui.
  4. Observe that the patches are applied (the diff should be empty).
  5. For fun, run scripts/update_hybrid_vue_compat_patches.mjs
  6. Observe that the patches are updated to reflect the current master state of the patches from gitlab-org/gitlab (i.e., before this MR is merged).

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Mark Florian

Merge request reports

Loading