You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The registry docs only cover CI for the vlt CLI (registry/using-packages.mdx "Installing in CI", registry/tokens.mdx "Using tokens in CI"), and that recipe is currently broken (#1844, #1845). Users of npm / pnpm / yarn / bun / deno get one .npmrc snippet and nothing about where the token has to come from on each platform.
An end user migrating a pnpm monorepo reported having to rediscover, per platform, that:
Vercel needed NPM_RC (Vercel writes .npmrc from NPM_TOKEN or NPM_RC at build time, and requires a registry.npmjs.org line to remain because Vercel runtimes install from the canonical registry);
Cursor / Claude / Devin cloud sandboxes each needed the token and .npmrc configured again.
The bun and deno Quick Start tabs also use $VLT_TOKEN / ${VLT_TOKEN} as the placeholder, and cli/auth.mdx documents VLT_TOKEN for the CLI, which primes the expectation that VLT_TOKEN is a universal mechanism.
Proposed change
Add a "CI and hosted environments" section (or page) with a per-provider matrix:
Vercel: NPM_RC / NPM_TOKEN, keep a registry.npmjs.org line.
Coding-agent sandboxes (Cursor, Claude Code, Devin, Codespaces): a checklist — secret name, .npmrc / vlt.json location, scope for main registry.
A one-line statement of who reads what: only the vlt CLI reads VLT_TOKEN / VLT_TOKEN_*; npm, pnpm, yarn, npx and Vercel only read .npmrc. Rename the placeholder in the bun/deno tabs so it does not look like a vlt-specific variable, or say so explicitly.
Source: end-user feedback triage of a pnpm monorepo migration to registry.vlt.io (2026-09-11).
Related: #1847 (pnpm ≥ 11 drops ${VAR} in project .npmrc), #1846 (keep the lockfile), #1849 (auth is required to install, not just publish), #1850 (pnpm ≤ 10 and pnpm-workspace.yaml).
Activity
ruy-bot commentedon Sep 14, 2026
Related: #1847 (pnpm ≥ 11 drops
${VAR}in project.npmrc), #1846 (keep the lockfile), #1849 (auth is required to install, not just publish), #1850 (pnpm ≤ 10 andpnpm-workspace.yaml).docs: fix registry migration and CI auth guidance (vltpkg#1961)