cozy / cozy-libs

Libraries used to build Cozy products and tools.
MIT License
7 stars 12 forks source link

[VO-1031] feat: Migrate to node 20 and last version of Lerna #2582

Closed cballevre closed 1 month ago

cballevre commented 2 months ago

This PR has two main purposes:

Lerna specifies the version of node-gyp. However, to be compatible with python >= 3.12, the version of node-gyp must be >= 10 (explanation). This version of node-gyp is integrated into Lerna from version 8.0.1 (PR). I've passed on the various breaking-change versions, which are mainly minimal node version changes.

A side-effect of the update to node 20 is that the version of styleguidist is not compatible. styleguidist need webpack 5 to migrate to node 20. As this documentation is no longer used in favour of Storybook. I chose to remove it.