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
{{ message }}
This repository was archived by the owner on May 14, 2026. It is now read-only.
Install::run in crates/package-manager/src/install.rs emits pnpm:stage events with a prefix field. Upstream pnpm sets this to lockfileDir — the directory containing pnpm-lock.yaml, which for a workspace install equals the workspace root.
Pacquet has no workspace support yet, so the current code uses manifest.path().parent() as a stand-in. This is correct for single-package installs but will be wrong once workspace installs land.
Ask
When workspace support lands, replace the manifest-parent fallback with a resolved workspace dir. The upstream helper to mirror is findWorkspaceDir, which walks up from the cwd looking for pnpm-workspace.yaml:
Background
Install::runincrates/package-manager/src/install.rsemitspnpm:stageevents with aprefixfield. Upstream pnpm sets this tolockfileDir— the directory containingpnpm-lock.yaml, which for a workspace install equals the workspace root.Pacquet has no workspace support yet, so the current code uses
manifest.path().parent()as a stand-in. This is correct for single-package installs but will be wrong once workspace installs land.Ask
When workspace support lands, replace the manifest-parent fallback with a resolved workspace dir. The upstream helper to mirror is
findWorkspaceDir, which walks up from the cwd looking forpnpm-workspace.yaml:Per-importer stage events should each carry the importer's own prefix so the JS reporter can attribute progress correctly.
Acceptance
findWorkspaceDir-equivalent helper exists and is used byInstall::run.prefixmatches pnpm for both single-package and workspace installs.