Closed severinbeauvais closed 1 year ago
This is not a Tech Debt ticket -- it's not something we could/should have done earlier and put off until now.
Instead, this is work needed to handle the current/future upgrade to Vue3 (which is an external driver as Vue2 is deprecated).
In #15929, Filings UI was updated from Vuex to Pinia.
In THIS ticket, a number of other packages need to be updated (partly to stay up to date with evolving packages and partly in preparation for Vue3). See PR 540 for a similar change made in Create UI.
Se also #16206.
To do:
array-move
instead ofarray.prototype.move
if used~lodash.omit
if usedpdfjs-dist
(plus update code that uses it)@types/
@vue/cli-xxx
packages@vue/vue2-jest
eslint
+ pluginsts-jest
typescript
import Vue from 'vue'
toimport { Vue } from 'vue-property-decorator'
mixins: [...] to
Mixins(...)`@Getter
and@Actions
declarationsreadonly
from gettersVue.nextTick()
tothis.$nextTick()
Acceptance criteria:
npm run lint
should not report any errors or warnings (with exceptions for some deprecated features)npm run build
should not report any errors or warnings (with exceptions for some deprecated features)npm run test:unit
should report all tests passing