Unleash / unleash-client-nextjs

Unleash SDK for Next.js
28 stars 9 forks source link

fix: breaking yarn change for pnpm coop #62

Closed kwasniew closed 9 months ago

kwasniew commented 9 months ago

About the changes

yarn 1.21.21 introduces breaking change with pnpm + yarn used together: https://github.com/yarnpkg/yarn/issues/9015 and https://github.com/actions/setup-node/issues/899. Before we switch to yarn and remove pnpm I added a workaround so that we can release new versions.

The env var should disabled a breaking change that was added after 1.21.19 (last version that was working for us): https://github.com/yarnpkg/yarn/blob/1.22-stable/src/cli/index.js#L292C21-L292C33

Important files

Discussion points