Commit graph

8 commits

Author SHA1 Message Date
Eric Gardner
48065759cd Update Vue.js to 3.4.27
Bug: T364789
Change-Id: Ib21a5dfdf8fcdd6c090ea74fb052181f0fb90d9e
2024-05-29 18:08:16 +00:00
James D. Forrester
ed6f7b2eb8 resources: Upgrade Vue from v3.2.27 to v3.3.9
Bug: T340590
Change-Id: I0b3b6adf898b73bec710b01ade02cd5152dcf089
2023-11-28 17:46:19 -05:00
Lucas Werkmeister
931b29b997 Replace Vue 3 migration build with pure Vue 3
It is now time to stop shipping the migration build of Vue 3.

Bug: T289020
Bug: T289104
Change-Id: I452e8275e7de248d8db2ddb3f14bf5218c546fb5
2023-11-28 17:46:19 -05:00
Roan Kattouw
f8dff9fa5e Update Vue from 3.2.31 to 3.2.37
Change-Id: Id71c00e8f990a090dd638ff8d5ceb636fc759716
2022-07-28 11:40:03 -07:00
Lucas Werkmeister
f841175af8 Upgrade Vue from 3.2.23 to to 3.2.31
Vue 3.2.25 and above reintroduce a Vue 2 feature that had been
temporarily removed in Vue 3, so staying on a Vue 3 version before
3.2.25 causes unnecessary compatibility problems. (The behavior change
in question isn’t well documented – see [1] – but seems to be related to
the behavior of refs inside v-for.)

(Note that we’re still on the compatibility build, this commit isn’t
changing that yet.)

[1]: https://github.com/vuejs/v3-migration-guide/issues/10

Bug: T304717
Change-Id: I9b517b66edc6356079c49cb3ece0373c8284c2d3
2022-03-30 05:05:35 +00:00
Roan Kattouw
5bd107c968 Upgrade Vue to the migration build of Vue 3
* Upgrade Vue to @vue/compat version 3.2.23
* Migrate Vue.createMwApp to Vue 3 API
* Add backwards-compatible wrapper emulating Vue 2 behavior for
  new Vue( { el: '#foo', ... } ) and
  new Vue( ... ).$mount( '#foo' )
* Make @vue/composition-api an alias for vue, for b/c
* Convert resources/src/vue/ to ES6
* Ignore resource/src/vue/ for jsduck, since it doesn't support ES6
* VueComponentParser: Remove check for only one root node

Bug: T251974
Co-Authored-By: Lucas Werkmeister <lucas.werkmeister@wikimedia.de>
Depends-On: Ica0c0d0d6247383796d39199e50a9aff917f5b53
Change-Id: Ibd618765f962f57984994604c61b1aff9e6a778d
2021-12-07 19:31:43 +00:00
Roan Kattouw
8dc729db49 vue: Add unminified version of vue.common.prod.js
Debian wants us to have unminified versions of any minified code we
release. Vue doesn't publish the unminified version of this file (and
vue.common.dev.js isn't the same, because it contains additional
debugging code), so I had to build it myself.

For more info and build instructions, see resources/lib/vue/BUILD.md

Bug: T257878
Change-Id: If075d0d60848f98dc9d53e2f0a1e2d9cc4c6e510
2020-07-17 13:28:13 -07:00
Roan Kattouw
4c221a1ea5 Add Vue.js library (v2.6.11)
Uses the development build of Vue in debug mode or when
$wgVueDevelopmentMode = true , and the production mode otherwise.

Change-Id: I2ab1f6364a302c0d1dbbd4c01967028c2e08082b
2020-02-03 16:42:37 -08:00