Repository navigation
Description
Scan snapshot
All line references below are permalinks pinned to 719f62f1 (main, 2026-08-17, test: type the install option helpers so a stale key cannot pass pnpm/pnpm#13951).
Counts are case-insensitive git grep -c -i pacquet over that tree:
| Area | Occurrences |
|---|---|
pnpm/ (Rust + docs) |
4831 |
.changeset/ |
499 |
pnpm11/ (TypeScript) |
337 |
.github/ |
79 |
root Cargo.toml |
6 |
pnpm-workspace.yaml |
3 |
| Repo-wide | 5857 |
pnpm/pnpm#13948 renamed the Rust crates from pacquet-* to pnpm-*. It did not touch identifiers, prose, log targets, or on-disk paths, so most of the 5857 survived. This issue sorts them into what is intentional and should stay, what is factually wrong today, and what is merely inconsistent.
The rule these are judged against
CLAUDE.md states the policy plainly:
Use
pacquetas the changeset package name, but usepnpmin its release-note prose and command examples (pnpm add, notpacquet add). The published Rust CLI's executable ispnpm;pacquetis only its in-repo package identifier.
So pacquet naming an in-repo package or the product itself is correct. pacquet naming a command a user types, a directory on disk, or a crate is not. .changeset/pacquet-user-facing-pnpm-naming.md already applied that rule to --help text and error messages; the items in Tier 1 are the same class of bug in surfaces that pass missed.
Tier 1 — user-visible, and wrong today
1a. pnpm dlx writes its virtual store to node_modules/.pacquet
Every other path resolves the default to node_modules/.pnpm:
The comment directly under the dlx line documents a deliberate deviation from pnpm — but that deviation is about enable_global_virtual_store, not about the directory's name. The name looks like a leftover, and store layout is on the user-visible list in CLAUDE.md. No test pins .pacquet for dlx, so this appears free to change.
1b. pnpm pack-app writes a manifest named pacquet-pack-app-<target>
This package.json lands in the user's runtime install directory, so the name is observable.
1c. tracing targets are namespaced pacquet::* (122 occurrences)
Users select these with RUST_LOG, which makes the namespace part of the CLI's surface. Twelve distinct targets, led by pacquet::download (31) and pacquet::install (19):
Renaming these is a breaking change for anyone filtering on them, so it needs a deliberate call rather than a sweep — hence flagging rather than fixing.
Tier 2 — factually wrong after pnpm/pnpm#13948
2a. A crate that no longer exists
The addon is pnpm-napi, declared 255 lines above:
2b. Workspace package metadata points at an archived repository
pnpm/pacquet was archived on 2026-07-21 and its README says the project moved here. Every crate in the workspace inherits homepage and repository from these three lines.
2c. Rustdoc describing the virtual store as node_modules/.pacquet
These state a layout the code does not produce (see 1a — the default is .pnpm):
2d. Crate descriptions naming the old scheme
Published description fields on crates that are themselves now pnpm-*:
Tier 3 — 263 rustdoc references to commands that cannot be run
Across 129 files under pnpm/crates/, doc comments document subcommands as `pacquet <cmd>`. Most frequent: pacquet update (37), pacquet install (32), pacquet add (16), pacquet rebuild (12). Many are the module-level //! header, so they are the first thing a reader of that module sees:
Note the distinction that makes this a bounded, mechanical fix: `pacquet install` (an invocation) is wrong, while "pacquet's equivalent is …" or "pacquet mirrors pnpm's …" (the product as a subject) is correct and must be left alone. Only the backticked-command form should be rewritten.
Tier 4 — stale project documentation
This still frames the project as Stage 1 — Headless installer, scoped by a roadmap issue in the archived repository, and says other top-level commands "are not receiving feature work" and that PRs outside Stage 1 "will be closed". CLAUDE.md now describes the two stacks as being at "near-complete feature parity" and "developed together". A contributor following this file today would be turned away from work the project actually wants.
Tier 5 — internal only, cosmetic
334 occurrences of the test helpers pacquet_at / pacquet_in / pacquet_cmd / pacquet_bin, plus temp-directory prefixes such as pacquet-store-dir-workspace and pacquet-registry-mock-*. Nothing is wrong with these; they are just inconsistent with the crate names now. Worth a sweep only when it does not collide with in-flight work, since the rename touches a large fraction of the test suite.
Deliberately not stale — leave these alone
.changeset/(499) —pacquetis the mandated changeset package name.CLAUDE.mdis explicit that a Rust-only changeset targetspacquetand must not namepnpm.pnpm/npm/pnpm/package.json#L1-L4— the workspace package ispacquetprecisely so its name cannot collide with the TypeScript CLI;publishConfig.namerewrites it topnpmat pack time. This is the mechanism, not a leftover.pnpm-workspace.yaml#L61-L81— theversioning.fixedandversioning.lanesentries key on that same package name.pnpm11/(337) —pacquetand@pnpm/pacquetare real published npm package names consumed asconfigDependencies, sorunPacquet.ts,verifyPacquetIdentity.tsand thePACQUET_INSTALL_FAILED/PACQUET_IDENTITY_MISMATCHerror codes all name something users genuinely install. Renaming these would break the contract.- Links to
github.com/pnpm/pacquet(72) — the repository is archived but still readable, so these citations resolve to the discussions they cite. They are history, not dead links. Only the twoCargo.tomlmetadata fields in 2b are wrong, because those claim to say where the code lives now. completion.rs#L191— acceptingpacquetalongsidepnpmas an argv[0] is back-compat for anyone who installed the binary under the old name..github/workflows/pacquet-*.yml(79) — workflow filenames and display names ("Pacquet CI") are product names, and the Bencher testbed identifiers (pacquet.ubuntu,pacquet-tests-all.json) are part of a stored threshold model. Renaming them silently resets historical benchmark baselines, so they should only move as a deliberate, coordinated change.
Suggested sequencing
- Tier 1a/1b and Tier 2 — small, self-contained, and each fixes something that is untrue today. 1a needs a changeset (
pacquet) since it changes on-disk layout. - Tier 4 — one file, and it is actively misdirecting contributors.
- Tier 3 — mechanical but wide; best as one sweep so review is a single pass.
- Tier 1c and Tier 5 — need a decision first (breaking-change budget for the log targets, timing for the test-helper rename).
Written by an agent (Claude Code, claude-opus-5).
Activity
fumikun commentedon Sep 26, 2026
I'm working on a fix for this, scoped to Tier 1a (
pnpm dlxvirtual store undernode_modules/.pacquet) and Tier 1b (pacquet-pack-app-<target>manifest name).Written by an agent (Claude Code, claude-opus-5-5).
fix(dlx,pack-app): replace leftover pacquet names in on-disk layout
fix(dlx,pack-app): replace leftover pacquet names in on-disk layout (#…
zkochan commentedon Nov 8, 2026
Status check against main (2026-11-08).
Done: Tier 1a/1b (pnpm/pnpm#15840: dlx uses
.pnpm, the manifest ispnpm-pack-app-*) and Tier 4 (pnpm/CONTRIBUTING.mdrewritten).Left: the root
Cargo.tomlhomepage/repository/description, crate descriptions, about 277 backtickedpacquet <cmd>references in docs,pacquet::*tracing targets, and test-helper names.Written by an agent (Claude Code, claude-opus-5-5).