Lucas_Werkmeister_WMDE added a comment.

  I tried to start upgrading Wikit to Vue 2.7; status so far:
  
  - upgrade vue-cli v4 according to the instructions 
<https://blog.vuejs.org/posts/vue-2-7-naruto.html>
  - but newer versions of vue-cli v4 are incompatible with eslint 7 (which we 
already use), so upgrade vue-cli to v5 (recommended 
<https://github.com/vuejs/vue-cli/pull/5962#issuecomment-818627961>)
  - but running `npx -p @vue/cli@latest vue upgrade` fails with weird errors, 
so try upgrading the packages manually
  - but running `npm i 
@vue/cli-{service,plugin-{babel,e2e-nightwatch,eslint,typescript,unit-jest}}@latest`
 fails with Vue 3 related errors (trying to pull in `@vue/vue3-jest`), 
according to the upgrade instructions 
<https://cli.vuejs.org/migrations/migrate-from-v4.html#unit-jest-plugin> we now 
need to install `@vue/vue2-jest` and `ts-jest` manually
  - but running `npm i -D @vue/vue2-jest ts-jest` fails because ts-jest 
requires typescript ≥ 4.3 and we’re still on typescript 3.9.7
  - but upgrading typescript creates weird errors in eslint
  
  I’m stuck here – I can’t figure out which order eslint, typescript, and 
various related packages need to be upgrade in, to arrive at a resolution 
without peer dependency conflicts. (I think the current package lockfile might 
already have some conflicts, which older npm versions just didn’t report?)

TASK DETAIL
  https://phabricator.wikimedia.org/T317142

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: guergana.tzatchkova, Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Michael, ItamarWMDE, Aklapper, guergana.tzatchkova, 
Astuthiodit_1, STH, karapayneWMDE, Invadibot, maantietaja, Akuckartz, Nandana, 
Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Volker_E, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to