reanahub / reana-ui

REANA UI frontend
http://reana-ui.rtfd.io
MIT License
4 stars 33 forks source link

package: start using Yarn v3 #346

Open mdonadoni opened 1 year ago

mdonadoni commented 1 year ago

We are currently using Yarn v1.x (Classic), but Yarn v2 and v3 are now available.

Migration guide: https://yarnpkg.com/migration/overview

We should also update the CI and README/docs accordingly

mdonadoni commented 1 year ago

This should also fix the dependency issue present in https://github.com/reanahub/reana-ui/pull/344

In particular, node-gyp was pinned to <9.4.0, as v9.4 depends on isaacs/cliui v8.0.2, which is not installed correctly by Yarn v1, see similar/related issues:

This should be fixed in Yarn v2 https://github.com/yarnpkg/yarn/issues/4812#issuecomment-759285407