A patch release adding pnpm named-registry support.
Named registries
When pnpm is the incumbent package manager, nub now honors pnpm's namedRegistries — an alias-to-registry-URL map declared in pnpm-workspace.yaml or the global pnpm config.yaml. A dependency spec prefixed with the alias resolves from that registry:
# pnpm-workspace.yaml
namedRegistries:
work: https://npm.example.com/// package.json
{ "dependencies": { "@work/constants": "work:1.x.x" } }Both direct and transitive named-registry specs resolve. The built-in gh: alias points at GitHub Packages, and a user entry can repoint it at a GitHub Enterprise host. Authentication is read from existing per-URL .npmrc entries — //host/:_authToken=… — so no new configuration is needed. Before this, a named-registry spec fell through to the default registry and failed to resolve. (#440)
The full release notes list every change in this release.
Get started
Or paste this "Get Started" prompt into an agent. It will install Nub and explain how it can be used in your project. (It won't make any changes without permission.)