core icon indicating copy to clipboard operation
core copied to clipboard

The constraints file is difficult to maintain

Open mcmire opened this issue 1 year ago • 0 comments

This project uses Yarn's constraints feature to ensure that there is cohesion among the packages in the monorepo.

This file is challenging to maintain, however, because it is written in Prolog, a 30+-year-old language that no one uses anymore.

Recent versions of Yarn introduced a JavaScript API which is intended to replace the Prolog API.

The constraints file was converted already for the module template in https://github.com/MetaMask/metamask-module-template/pull/220. We may be able to use this as inspiration.

mcmire avatar Jun 06 '24 21:06 mcmire