Skip to content

[DOCS] Note that pnpm ≤ 10 ignores registry in pnpm-workspace.yaml (registry must live in .npmrc) #1850

Closed

Description

@ruy-bot

📚 Documentation

pnpm ≤ 10 ignores a registry: key in pnpm-workspace.yaml; pnpm 11 and 12 honor it.

Verified: with registry: http://127.0.0.1:4899/acme/npm/ only in pnpm-workspace.yaml, pnpm 10.30 sent pnpm config get registry, pnpm add and pnpm login to npmjs.org; pnpm 11.24 and 12.4 used the configured registry.

The Quick Start pnpm tab uses pnpm config set registry ... --location=project, which writes .npmrc (verified on pnpm 12), so following the docs works on every version. The reporting user hand-edited pnpm-workspace.yaml instead (the newer pnpm way) and then pnpm login did not pick up the registry, so they had to add .npmrc anyway.

Proposed change

Add a short note to the pnpm tab: on pnpm 10 and older the registry must be in .npmrc; on pnpm 11+ either .npmrc or pnpm-workspace.yaml works, but .npmrc is required if you also need _authToken entries (which pnpm-workspace.yaml cannot hold).

Source: end-user feedback triage of a pnpm monorepo migration to registry.vlt.io (2026-09-11).

Activity

  1. added
    documentation
    on Sep 14, 2026
  2. added 2 commits that reference this issue on Oct 9, 2026
    58e1a20
    cc9d2eb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationregistry

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions