Adding a scoped package under a custom alias that does not include the scope fails to send auth headers. · Issue #7943 · yarnpkg/yarn · GitHub
![Sebastian on X: "Yarn tip: You can alias a package by using `yarn add fake-name@npm:left-pad`. Now you can use `require("fake-name")` to require left-pad. https://t.co/gIB8Ck4G6k" / X Sebastian on X: "Yarn tip: You can alias a package by using `yarn add fake-name@npm:left-pad`. Now you can use `require("fake-name")` to require left-pad. https://t.co/gIB8Ck4G6k" / X](https://pbs.twimg.com/media/DCDsCxJV0AAXOiV.jpg)
Sebastian on X: "Yarn tip: You can alias a package by using `yarn add fake-name@npm:left-pad`. Now you can use `require("fake-name")` to require left-pad. https://t.co/gIB8Ck4G6k" / X
![Easily Switch from NPM to Yarn!. Have you ever get annoyed that npm… | by Ammar Alakkad | Tooling Tips | Medium Easily Switch from NPM to Yarn!. Have you ever get annoyed that npm… | by Ammar Alakkad | Tooling Tips | Medium](https://miro.medium.com/v2/resize:fit:1008/1*ZFEPL9umIDJQtFPDu0SQ6A.png)
Easily Switch from NPM to Yarn!. Have you ever get annoyed that npm… | by Ammar Alakkad | Tooling Tips | Medium
![Thread by @sebmck: "Yarn tip: You can alias a package by using `yarn add fake-name@npm:left-pad`. Now you can use `require("fake-name")` to require left-pad. @y […]" Thread by @sebmck: "Yarn tip: You can alias a package by using `yarn add fake-name@npm:left-pad`. Now you can use `require("fake-name")` to require left-pad. @y […]"](https://threadreaderapp.com/images/screenshots/thread/873958247304232961.jpg)