Files
pnpm/pnpm11/installing
Zoltan Kochan 74bf5dd8fd refactor(package-manager): decompose install modules (#13640)
Split package-manager's install implementation into focused internal modules for orchestration, lockfile freshness, modules state, lifecycle execution, and workspace state. Decompose the install coordinator into typed phases, including ownership-specific post-materialization steps for state selection, project linking, modules-state commit, project lifecycle execution, workspace-state update, and reporting. This reduces the reading cost of the former 4,583-line install.rs and roughly 1,900-line run_inner while preserving its public API and behavior.

Move patch-commit's package filtering and diff generation into the existing pacquet-patching crate. Keep patch extraction in package-manager because it depends on install-engine fetching and materialization concerns.

Prevent unsafe modules cleanup from purging the project root in both installers. Write blocked-build approval scaffolding to the discovered workspace manifest when the Rust installer uses per-project lockfiles.
2026-08-04 16:41:38 +02:00
..