Closed fisker closed 4 months ago
I have
"publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }
in all my packages. When using yarn berry, np throws a error,
External registry is not yet supported with yarn-berry
yarn set version berry
np
Not throw errors.
np - 10.0.6 Node.js - 22 npm - Should not releated Git - Should not releated OS - Should not releated
Related code
https://github.com/sindresorhus/np/blob/a9e8fc78f06f5d429f5040d4ad24c696b27e30f4/source/npm/util.js#L46
// @mifi
Yeah I didn't implement support for that when I added berry support. Feel free to submit a PR if there's an easy way to add support for it.
Description
I have
in all my packages. When using yarn berry, np throws a error,
Steps to reproduce
yarn set version berry
np
Expected behavior
Not throw errors.
Environment
np - 10.0.6 Node.js - 22 npm - Should not releated Git - Should not releated OS - Should not releated
Related code
https://github.com/sindresorhus/np/blob/a9e8fc78f06f5d429f5040d4ad24c696b27e30f4/source/npm/util.js#L46