Closed hakubo closed 11 months ago
actually not sure how to approach it better
I'm using Yarn v4 - rc52 and it does not work there.
But this plugins supports v3 also - do you have pointers how to tackle that?
The reason why CI is failing is that Yarn plugins get the @yarnpkg/*
packages from the Yarn binary, itself (not the packages in package.json
). Since Yarn 4 has a bunch of breaking changes, I don't think it will be possible to support Yarn 3 and Yarn 4 in the same version of this plugin.
I'd like to wait until Yarn 4 is released before I release a breaking version of this plugin. Until then, I've pushed up a branch that adds Yarn 4 support: yarn plugin import https://raw.githubusercontent.com/mhassan1/yarn-plugin-licenses/yarn-4-rc/bundles/@yarnpkg/plugin-licenses.js
.
See https://github.com/mhassan1/yarn-plugin-licenses/issues/41.
ZipOpenFS was moved to libzip
https://github.com/yarnpkg/berry/commit/fc57d688a2fd48eebbdeff75f69d4d5ca2b1e567