Repository navigation
fix(cli): call the CLI pnpm, not pacquet, in user-facing text - #13086
Conversation
`pacquet` is an in-repo name only; the shipped binary is `pnpm`. Error
messages, diagnostic help text, and `--help` output leaked the internal
name, and several told users to run commands that do not exist:
help: ... then re-run `pacquet install --frozen-lockfile`.
Replace the leaked name across user-facing strings — typeable commands
(`pacquet install`, `pacquet add --config`, `pacquet why`, `pacquet
create <name>`, `pacquet outdated --recursive`, `"pacquet pack-app"`, and
peers) and product-name prose ("pacquet cannot verify the download",
"this build of pacquet", "not yet ported to pacquet").
Two were also factually wrong, not just misnamed:
- `pnpm add --help` documented the virtual store directory default as
`node_modules/.pacquet` in both the doc comment and clap's
`default_value`, while the effective default from
`default_virtual_store_dir()` is `node_modules/.pnpm`. The field is
unused (`TODO: make use of this`), so only the help output changed.
- The tarball integrity error offered `pnpm install --update-checksums`
and then repeated it as `(or `pacquet install --update-checksums`)`.
Drop the redundant parenthetical.
Internal uses stay as they are: tracing targets, thread names,
temp-file prefixes, the mirror cache magic, panic messages, and test
fixtures are not user-facing.
The TypeScript CLI has no counterpart to change — it never refers to
pacquet.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
🚧 Files skipped from review as they are similar to previous changes (5)
📝 WalkthroughWalkthroughThe PR updates user-facing CLI defaults, command guidance, documentation, and diagnostics to use Changespnpm naming alignment
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related issues
Possibly related PRs
Suggested labels: Suggested reviewers: ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PR Summary by QodoFix leaked
AI Description
Diagram
High-Level Assessment
Files changed (18)
|
Confidence Score: 5/5Safe to merge — all changes are string literals in error messages and help text; no logic, file formats, or CLI semantics are altered. Every changed line is a user-facing string substitution. No control flow, data structures, or on-disk formats are touched. The two factual corrections (virtual-store-dir default and the redundant checksum help parenthetical) are clearly right. The changeset targets only the Rust pacquet package, which is correct given the TypeScript CLI never used the internal name. No files require special attention. Reviews (2): Last reviewed commit: "fix(cli): state the gap without the port..." | Re-trigger Greptile |
Code Review by Qodo
Context used✅ Compliance rules (platform):
18 rules 1.
|
PR Code Suggestions ✨Warning
Explore these optional code suggestions:
|
|||||||||
Micro-Benchmark ResultsLinux |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@pnpm/crates/cli/src/cli_args/outdated.rs`:
- Around line 304-305: The diagnostics in outdated.rs at lines 304-305 and
369-371 should remove the misleading “not ported to pnpm” wording and state that
recursive inspection or global outdated is not supported yet. In
publish/recursive.rs at lines 47-49, describe batched publishing as unsupported
or unavailable in this build.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 7ff9172f-2510-4f7c-839b-da2b69da5eed
📒 Files selected for processing (18)
.changeset/pacquet-user-facing-pnpm-naming.mdpnpm/crates/cli/src/cli_args/add.rspnpm/crates/cli/src/cli_args/config.rspnpm/crates/cli/src/cli_args/create.rspnpm/crates/cli/src/cli_args/outdated.rspnpm/crates/cli/src/cli_args/pack_app.rspnpm/crates/cli/src/cli_args/patch.rspnpm/crates/cli/src/cli_args/patch_commit.rspnpm/crates/cli/src/cli_args/prefix.rspnpm/crates/cli/src/cli_args/publish/recursive.rspnpm/crates/cli/src/cli_args/root.rspnpm/crates/cli/src/cli_args/update.rspnpm/crates/cli/src/cli_args/why.rspnpm/crates/modules-yaml/src/lib.rspnpm/crates/package-manager/src/install.rspnpm/crates/package-manager/src/install_package_by_snapshot.rspnpm/crates/package-manager/src/patch.rspnpm/crates/tarball/src/lib.rs
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #13086 +/- ##
==========================================
+ Coverage 85.62% 85.63% +0.01%
==========================================
Files 500 500
Lines 80147 80127 -20
==========================================
- Hits 68628 68620 -8
+ Misses 11519 11507 -12 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Renaming pacquet to pnpm inside "X is not supported yet; Y has not been ported to pacquet" produced "... has not been ported to pnpm", which tells the user pnpm lacks a feature that pnpm v11 in fact has. The clause was an internal note that this implementation hasn't ported Y yet — true for developers, wrong once the sentence names the product. Drop the clause at all eight sites (`update --workspace` x2, `update --global --interactive`, `prefix --global`, `root --global`, `outdated --recursive` x2, and batched `publish`). The remaining "X is not supported yet." states the fact the user needs; "yet" already carries that support is planned. The reason stays where it is useful and correct, in the Rust doc comments on the error variants, which still name pacquet. Reported by CodeRabbit on the review of the parent commit.
Integrated-Benchmark Report (Linux)Commit: Each scenario reports direct installs and pnpr installs. Bencher consumes pacquet@HEAD and pnpr@HEAD. Scenario: Isolated linker: fresh restore, cold cache + cold store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 2.5862476470399995,
"stddev": 0.1226426821461038,
"median": 2.5629556422399995,
"user": 1.80392716,
"system": 1.4495268600000002,
"min": 2.4077907177399998,
"max": 2.82433114974,
"times": [
2.5605856877399997,
2.53958919374,
2.5653255967399997,
2.82433114974,
2.5658423197399998,
2.4077907177399998,
2.51319601974,
2.6623952747399997,
2.73564384674,
2.4877766637399996
]
},
{
"command": "pacquet@main",
"mean": 2.66947394314,
"stddev": 0.16591979226507506,
"median": 2.7023687497399997,
"user": 1.8628369599999999,
"system": 1.4738620599999996,
"min": 2.4188273427399998,
"max": 2.86718551174,
"times": [
2.4188273427399998,
2.49678277074,
2.70469864374,
2.83976554474,
2.86098706174,
2.70003885574,
2.86718551174,
2.4838570067399997,
2.57886732074,
2.74372937274
]
},
{
"command": "pnpr@HEAD",
"mean": 1.71618830694,
"stddev": 0.19738852876741597,
"median": 1.71128509924,
"user": 1.56394036,
"system": 1.6598069599999998,
"min": 1.41474230174,
"max": 2.0744303407399998,
"times": [
1.41474230174,
1.73376363874,
1.82032715874,
1.4894731197400002,
1.6385627957400002,
1.60587442474,
1.7606821707400002,
2.0744303407399998,
1.93522055874,
1.68880655974
]
},
{
"command": "pnpr@main",
"mean": 1.55810547754,
"stddev": 0.1562006060162299,
"median": 1.49696133124,
"user": 1.3049944599999999,
"system": 1.42252456,
"min": 1.36484744374,
"max": 1.79238882674,
"times": [
1.45971871374,
1.48437664774,
1.7104961947400001,
1.61133861574,
1.4815938567400002,
1.38755716574,
1.79238882674,
1.7791912957400002,
1.50954601474,
1.36484744374
]
}
]
}Scenario: Isolated linker: fresh restore, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.25584129702,
"stddev": 0.02859056824284778,
"median": 0.25260597522,
"user": 0.23327942,
"system": 0.65969592,
"min": 0.21935047872,
"max": 0.30483451072,
"times": [
0.22685166072000001,
0.22330520272,
0.21935047872,
0.25020710572,
0.25106387572,
0.28186519072,
0.28708724872,
0.25969962172,
0.30483451072,
0.25414807472
]
},
{
"command": "pacquet@main",
"mean": 0.22765133602,
"stddev": 0.0295412634981141,
"median": 0.21829065122000002,
"user": 0.20615221999999997,
"system": 0.5645437199999999,
"min": 0.19641969672,
"max": 0.30545795272,
"times": [
0.21731567972,
0.21241211972000001,
0.19641969672,
0.21486324872,
0.21777934972000002,
0.22719812572,
0.21880195272,
0.22656623772,
0.23969899672,
0.30545795272
]
},
{
"command": "pnpr@HEAD",
"mean": 0.24239353012000003,
"stddev": 0.01703448707093597,
"median": 0.24349596822000003,
"user": 0.21668562000000002,
"system": 0.58507752,
"min": 0.21484011472,
"max": 0.27053018472,
"times": [
0.21484011472,
0.23677829472,
0.23261355672,
0.27053018472,
0.24950153272,
0.25984488672,
0.23833987072,
0.25144103972,
0.24865206572,
0.22139375472
]
},
{
"command": "pnpr@main",
"mean": 0.24319849032000002,
"stddev": 0.009029004475454697,
"median": 0.24028360472000002,
"user": 0.22943942,
"system": 0.5801544199999998,
"min": 0.22908880972,
"max": 0.26064001172,
"times": [
0.24020825272000002,
0.22908880972,
0.23872207972,
0.26064001172,
0.23859971972,
0.24035895672000002,
0.24538498472,
0.24907980972,
0.25291075272,
0.23699152572
]
}
]
}Scenario: Isolated linker: fresh install, cold cache + cold store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 2.80173702614,
"stddev": 0.04922691819641117,
"median": 2.7920770827400005,
"user": 1.9493685399999996,
"system": 1.47076274,
"min": 2.74212291674,
"max": 2.89370325474,
"times": [
2.76532320974,
2.76128217274,
2.76162211274,
2.7865424877400002,
2.74212291674,
2.8594656937400003,
2.84184025974,
2.7976116777400004,
2.89370325474,
2.80785647574
]
},
{
"command": "pacquet@main",
"mean": 3.06200552894,
"stddev": 0.11452735051523509,
"median": 3.02165103924,
"user": 2.46256854,
"system": 1.8211687400000003,
"min": 2.93674087274,
"max": 3.30756488974,
"times": [
3.12454431674,
3.00297892774,
3.30756488974,
2.9861490517400004,
3.04032315074,
2.9713676987400004,
2.93674087274,
2.98726970974,
3.18137087074,
3.0817458007400003
]
},
{
"command": "pnpr@HEAD",
"mean": 1.5922006240399997,
"stddev": 0.12900385326790806,
"median": 1.5415257292400002,
"user": 1.41297784,
"system": 1.58622594,
"min": 1.51523075874,
"max": 1.9481200217400003,
"times": [
1.5355953127400002,
1.53839226974,
1.5446591887400003,
1.6007158657400002,
1.5301751537400001,
1.5324754277400001,
1.6138006497400001,
1.9481200217400003,
1.51523075874,
1.5628415917400003
]
},
{
"command": "pnpr@main",
"mean": 1.5489329054400003,
"stddev": 0.1310214112813071,
"median": 1.5070904787400001,
"user": 1.3666818399999998,
"system": 1.4049662399999998,
"min": 1.4369905847400002,
"max": 1.8034686987400002,
"times": [
1.43811749374,
1.4369905847400002,
1.44733510974,
1.7527061927400003,
1.46999307774,
1.53776452574,
1.5354561767400001,
1.5887724137400001,
1.8034686987400002,
1.4787247807400001
]
}
]
}Scenario: Isolated linker: fresh install, hot cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.7035737060800001,
"stddev": 0.06264625260343007,
"median": 0.6876322397800001,
"user": 0.89637028,
"system": 0.78876082,
"min": 0.6162671377800001,
"max": 0.83791447878,
"times": [
0.7339179307800001,
0.83791447878,
0.69335831278,
0.7094290097800001,
0.6651784737800001,
0.6648321637800001,
0.68190616678,
0.66740222378,
0.6162671377800001,
0.7655311627800001
]
},
{
"command": "pacquet@main",
"mean": 0.61829839148,
"stddev": 0.05010383564425664,
"median": 0.60195893828,
"user": 0.7711802799999998,
"system": 0.7136761199999999,
"min": 0.5617453047800001,
"max": 0.7020949647800001,
"times": [
0.67133489578,
0.7020949647800001,
0.66443128878,
0.65261924678,
0.60983711078,
0.56673079678,
0.5617453047800001,
0.58249844378,
0.59408076578,
0.5776110967800001
]
},
{
"command": "pnpr@HEAD",
"mean": 0.26170941248,
"stddev": 0.012112901200706402,
"median": 0.26042729428000005,
"user": 0.20558207999999997,
"system": 0.5546606200000002,
"min": 0.24717514878000002,
"max": 0.28447814578,
"times": [
0.27740436178000005,
0.26051333078000005,
0.26063327778000006,
0.25103468578000004,
0.24932790778,
0.26034125778000006,
0.28447814578,
0.25722064178000004,
0.26896536678000005,
0.24717514878000002
]
},
{
"command": "pnpr@main",
"mean": 0.28908342578000007,
"stddev": 0.03364015543162736,
"median": 0.2810130672800001,
"user": 0.22504117999999998,
"system": 0.5996423200000001,
"min": 0.24978786978000003,
"max": 0.34459179878000007,
"times": [
0.30152993678000006,
0.34459179878000007,
0.32619428678000006,
0.32432060478,
0.25674893478000005,
0.24978786978000003,
0.25570822778,
0.27297701778000005,
0.28904911678000006,
0.26992646378
]
}
]
}Scenario: Isolated linker: fresh install, cold cache + hot store
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 2.1746043186800006,
"stddev": 0.14803109489431945,
"median": 2.11240954288,
"user": 1.44441978,
"system": 1.00578664,
"min": 1.96741124188,
"max": 2.4576363738800002,
"times": [
2.11285935288,
2.09143047488,
2.0679145938800003,
1.96741124188,
2.1119597328800004,
2.1963191288800004,
2.1110685578800004,
2.2679715698800003,
2.4576363738800002,
2.3614721598800004
]
},
{
"command": "pacquet@main",
"mean": 2.13746888348,
"stddev": 0.1916258488961975,
"median": 2.08571096488,
"user": 1.37510628,
"system": 0.9979535399999999,
"min": 1.95354060988,
"max": 2.47008296988,
"times": [
2.3663199518800004,
2.29868708488,
2.19304133888,
2.47008296988,
2.18286265488,
1.9784471758800002,
1.98855927488,
1.9731811078800001,
1.9699666658800001,
1.95354060988
]
},
{
"command": "pnpr@HEAD",
"mean": 0.29358375938000003,
"stddev": 0.013194362246892691,
"median": 0.29207092788,
"user": 0.23450088,
"system": 0.60076124,
"min": 0.27739877788000006,
"max": 0.31385201988000005,
"times": [
0.28415668088,
0.31385201988000005,
0.31237202788,
0.29020757588,
0.27847855788000003,
0.30467417888000004,
0.29625559388000006,
0.29393427988000004,
0.27739877788000006,
0.28450790088000005
]
},
{
"command": "pnpr@main",
"mean": 0.27921839638,
"stddev": 0.01867491047586013,
"median": 0.28047667838,
"user": 0.21515898,
"system": 0.56366954,
"min": 0.25041192988000005,
"max": 0.30970805088000003,
"times": [
0.30313307088,
0.28228708588,
0.26305902288000005,
0.28753319788000004,
0.25800830988,
0.27676151988000003,
0.25041192988000005,
0.27866627088,
0.30970805088000003,
0.28261550488000003
]
}
]
}Scenario: Isolated linker: fresh resolve, hot cache, offline
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 0.4097300609,
"stddev": 0.02521865299721342,
"median": 0.41067188070000005,
"user": 0.41017272,
"system": 0.06331178000000001,
"min": 0.3739964007,
"max": 0.44775824270000003,
"times": [
0.4028227267,
0.4327676747,
0.3739964007,
0.3920366497,
0.3746566217,
0.44775824270000003,
0.4313518127,
0.3989150507,
0.42447439470000004,
0.4185210347
]
},
{
"command": "pacquet@main",
"mean": 0.40426000239999993,
"stddev": 0.015285970753639373,
"median": 0.40152471570000003,
"user": 0.39458461999999994,
"system": 0.06667218,
"min": 0.3789451527,
"max": 0.4345333827,
"times": [
0.4104755417,
0.3941103877,
0.4345333827,
0.3789451527,
0.4217757827,
0.4013106637,
0.4017387677,
0.3962610117,
0.4000992667,
0.4033500667
]
},
{
"command": "pnpr@HEAD",
"mean": 0.08582252938750001,
"stddev": 0.002282471255016178,
"median": 0.08597531320000001,
"user": 0.018509744999999998,
"system": 0.01047028375,
"min": 0.0818779577,
"max": 0.09125832970000002,
"times": [
0.08742822970000001,
0.09032662770000001,
0.08281273470000002,
0.0818779577,
0.0876806447,
0.08571345670000001,
0.0877634897,
0.08459388170000001,
0.0859590877,
0.09125832970000002,
0.08613609070000001,
0.08682058770000001,
0.0828428407,
0.0852095897,
0.08404798570000001,
0.0885701457,
0.08430868670000001,
0.0823675667,
0.08249005670000001,
0.0868365477,
0.08616114770000001,
0.08190459770000001,
0.08669763670000001,
0.0879461737,
0.08572299470000001,
0.08758114670000001,
0.0856430747,
0.0862545447,
0.0848834767,
0.08599153870000001,
0.08502649470000001,
0.0874635757
]
},
{
"command": "pnpr@main",
"mean": 0.08651821239696972,
"stddev": 0.002894939335120239,
"median": 0.08640534670000001,
"user": 0.019076574545454552,
"system": 0.010261820606060604,
"min": 0.0811035407,
"max": 0.09278217370000001,
"times": [
0.08431317470000001,
0.08657213070000001,
0.08985343870000001,
0.09171668170000001,
0.0868288737,
0.08570300670000001,
0.08970845670000001,
0.08487098270000001,
0.08442511470000001,
0.08796259370000001,
0.0848602127,
0.08542839070000001,
0.0882068837,
0.0876520407,
0.08626133670000001,
0.0841480237,
0.08876331970000001,
0.0811035407,
0.08367925270000001,
0.0859922807,
0.09278217370000001,
0.0838945477,
0.08696838570000001,
0.0885437277,
0.09198352270000001,
0.08676285870000001,
0.08942016470000001,
0.08637122370000001,
0.0872024447,
0.08394272870000001,
0.08640534670000001,
0.0812722587,
0.08150188970000001
]
}
]
}Scenario: Isolated linker: fresh restore, cold cache + cold store + cold pnpr
BENCHMARK_REPORT.json{
"results": [
{
"command": "pacquet@HEAD",
"mean": 4.61576380196,
"stddev": 0.17937485982299714,
"median": 4.522674653360001,
"user": 2.0042474599999998,
"system": 1.5408233999999996,
"min": 4.454215141360001,
"max": 4.87577664636,
"times": [
4.454215141360001,
4.527072785360001,
4.87577664636,
4.84573996536,
4.859426662360001,
4.47634516936,
4.518276521360001,
4.477892107360001,
4.6660792653600005,
4.45681375536
]
},
{
"command": "pacquet@main",
"mean": 4.6067078311600005,
"stddev": 0.14402855971833028,
"median": 4.581332761360001,
"user": 2.13755096,
"system": 1.5438098,
"min": 4.46296794736,
"max": 4.95070242236,
"times": [
4.57496913036,
4.52226698736,
4.46296794736,
4.53718052436,
4.46336499436,
4.71407108936,
4.65412919136,
4.95070242236,
4.59972963236,
4.58769639236
]
},
{
"command": "pnpr@HEAD",
"mean": 3.8756975589600002,
"stddev": 0.3532814168809971,
"median": 3.80770522286,
"user": 1.9824450599999999,
"system": 2.0062214999999997,
"min": 3.4736528373600004,
"max": 4.50057000036,
"times": [
3.4736528373600004,
3.4839509683600003,
3.69737107636,
3.66431789536,
4.04734248136,
4.50057000036,
3.9918200763600002,
4.35762937836,
3.91803936936,
3.6222815063600002
]
},
{
"command": "pnpr@main",
"mean": 3.6010974323600005,
"stddev": 0.11432698573690915,
"median": 3.6233807578600006,
"user": 1.6052029599999997,
"system": 1.5658033999999998,
"min": 3.47484696236,
"max": 3.8486887373600003,
"times": [
3.8486887373600003,
3.6492619103600004,
3.6101025303600003,
3.6366589853600004,
3.50068747236,
3.50576541836,
3.6462005263600004,
3.47484696236,
3.48718220236,
3.6515795783600002
]
}
]
} |
|
| Branch | pr/13086 |
| Testbed | pnpr |
⚠️ WARNING: No Threshold found!Without a Threshold, no Alerts will ever be generated.
Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the--ci-only-thresholdsflag.
Click to view all benchmark results
| Benchmark | Latency | milliseconds (ms) |
|---|---|---|
| isolated-linker.fresh-install.cold-cache.cold-store | 📈 view plot | 1,592.20 ms |
| isolated-linker.fresh-install.cold-cache.hot-store | 📈 view plot | 293.58 ms |
| isolated-linker.fresh-install.hot-cache.hot-store | 📈 view plot | 261.71 ms |
| isolated-linker.fresh-resolve.hot-cache.offline | 📈 view plot | 85.82 ms |
| isolated-linker.fresh-restore.cold-cache.cold-store | 📈 view plot | 1,716.19 ms |
| isolated-linker.fresh-restore.cold-cache.cold-store.cold-pnpr | 📈 view plot | 3,875.70 ms |
| isolated-linker.fresh-restore.hot-cache.hot-store | 📈 view plot | 242.39 ms |
|
Code review by qodo was updated up to the latest commit 810ecc5 |
PR Code Suggestions ✨Warning
No code suggestions found for the PR.
|
Summary
pacquetis an in-repo name only — the shipped binary ispnpm. User-facing error messages, diagnostic help text, and--helpoutput leaked the internal name, and several of them told users to run commands that do not exist. This came up while confirming the fix for #13025, where the outdated-lockfile error ends with:The first half of that sentence is right and the second half is not copy-pasteable. A sweep found 18 files with the same class of problem.
What changed
Typeable commands in messages —
pacquet install,pacquet add --config,pacquet add --lockfile-only,pacquet why,pacquet config <sub>,pacquet create <name>,pacquet outdated --recursive,pacquet update --workspace,pacquet update --global --interactive,pacquet root --global,pacquet prefix --global,pacquet patch,"pacquet pack-app", andpacquet add node@runtime.Product-name prose — "pacquet cannot verify the download", "which pacquet does not yet support", "pacquet only knows how to install binary-shaped variants", "this build of pacquet only supports layout version", "exceeds what pacquet can allocate".
Unsupported-feature messages get reworded, not renamed. Eight messages read "X is not supported yet; Y has not been ported to pacquet." Renaming the product there would produce "… has not been ported to pnpm", which tells the user pnpm lacks a feature that pnpm v11 has — worse than the leaked name. The clause was an internal note that this implementation hasn't ported Y yet: true for developers, wrong once the sentence names the product. It is dropped, leaving "X is not supported yet." ("yet" already carries that support is planned). The reason stays in the Rust doc comments on the error variants, which still name pacquet since they are developer-facing. Affects
update --workspace(x2),update --global --interactive,prefix --global,root --global,outdated --recursive(x2), and batchedpublish. Thanks to CodeRabbit for catching this on the first push.Two were also factually wrong, not merely misnamed:
pnpm add --helpdocumented the virtual store directory default asnode_modules/.pacquet, in both the doc comment and clap'sdefault_value. The effective default fromdefault_virtual_store_dir()isnode_modules/.pnpm, so the help contradicted the behavior. The field is unused (// TODO: make use of this) andpnpm addalready creates.pnpmon disk, so only the help output changes.pnpm install --update-checksumsand then repeated it as(or `pacquet install --update-checksums`). The redundant parenthetical is dropped.Deliberately not changed
Internal, non-user-facing uses stay: tracing targets (
target: "pacquet::store_index"), thread names (pacquet-main), temp-file prefixes (.pacquet-tmp,pacquet-git-diff-), the mirror cache magic (pacquet-meta-v1, changing it would invalidate caches),expect()panic messages, and test fixtures.Verified
Rebuilt the binary and checked the real output:
cargo clippy --workspace --all-targets -- -D warningsclean;cargo nextest run -p pacquet-cli --test why --test create --test root --test prefix --test outdated --test publish_recursive --test update76/76;-p pacquet-modules-yaml -p pacquet-tarball90/90. The one test asserting on affected text (tests/why.rs:40) matches"requires a package name", which is unchanged.Squash Commit Body
Checklist
pnpm/port, or the description notes what still needs porting.pnpm changeset) if this PR changes any publishedpackage. Keep it short and written for pnpm users — it becomes a release note.
Written by an agent (Claude Code, claude-opus-4-8).