metaspace2020 / metaspace

Cloud engine and platform for metabolite annotation for imaging mass spectrometry
https://metaspace2020.eu/
Apache License 2.0
44 stars 9 forks source link

Upgrade webapp to Vue 3 #1504

Closed lmacielvieira closed 3 months ago

lmacielvieira commented 3 months ago

Description

Upgraded Webapp project to vue 3.3. As webapp was running with vue version 2.6, which reached the end of life on September 18, 2023, and to proceed in a smoother way to the METASPACE related project dependencies update the upgrade was needed. Related issues: #1289

Main changes:

  1. Changed Module Bundler from webpack to vite
  2. Updated UI framework to element-plus
  3. Change testing framework from jest to vitest
  4. Added support to e2e testing with Cypress
  5. Added prettier as code formatter
  6. Updated outdated dev dependencies
  7. Updated circle-ci webapp testing image and added prettier step
  8. Rewrite code to suit vue breaking changes

How to test it:

  1. Clone project
  2. Run it locally as before
    • There should not be any differences on the site from before the upgrade and now, as all is under the hood.

To-do: