After upgrading to yarn 3, when I run yarn install, the resolutions are getting removed from package.json and added in yarn.lock file.
Are resolutions not supposed to reside in package.json when using yarn 3?
After upgrading to yarn 3, when I run yarn install, the resolutions are getting removed from package.json and added in yarn.lock file.
Are resolutions not supposed to reside in package.json when using yarn 3?
You need to use yarn set resolution with the newer versions of yarn: https://yarnpkg.com/cli/set/resolution
Warning! To persist the changes, use the -s flag or you'll lose the custom resolution when you regenerate your yarn.lock file.