Kristoffer K.

Results 179 comments of Kristoffer K.

> while other dependencies like ink are indeed using lodash, they, just like Yarn, are importing modules selectively from it Because I patched it to do that, in the future...

> > This also broke a ton of Yarn's e2e tests, did CITGM miss that too? 🤔 > > I'm not sure if our tests cover it :) https://github.com/nodejs/citgm/tree/main/test/yarn I...

> Just a quick question. Am I right, that yarn workspaces focus --production will just clean dependencies without re-calling any scripts like postinstall or postuninstall? It installs your project in...

This is fixed by https://github.com/yarnpkg/berry/pull/6428.

We (Yarn) should update our documentation but you can still use `yarn create` in v2 and up, under the hood it calls `yarn dlx create-`

I'll reopen since we should fix that bug

This is both an issue in Yarn Classic and Yarn Berry. Reproduction for Classic: ```sh docker run -it -w /app -m 128m --rm node:16.18.1 bash yarn set version berry yarn...

Use [`require.resolve`](https://nodejs.org/docs/latest-v22.x/api/modules.html#requireresolverequest-options) to locate dependencies regardless of whether PnP is used or not. ```js require.resolve(`${packageName}/package.json`, { paths: [dir] }); ```

Should be fixed by https://github.com/yarnpkg/berry/pull/6639, sorry for not getting to this sooner. > Also IIUC the tests seem to be buggy as well? From https://github.com/yarnpkg/berry/pull/4024 they seem to be testing...