mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-26 19:12:12 -04:00
* refactor: extract rebuild implementation into @pnpm/building.after-install Move the rebuild implementation (rebuildProjects, rebuildSelectedPkgs) from @pnpm/plugin-commands-rebuild into a new @pnpm/building.after-install package. This breaks the circular dependency chain: config/deps-installer → core → plugin-commands-rebuild → cli-utils → config/deps-installer The CLI command layer stays in plugin-commands-rebuild, while the core rebuild logic now lives in building/after-install with no dependency on cli-utils. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * docs: add README for @pnpm/building.after-install Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * refactor: rename @pnpm/builder.policy to @pnpm/building.policy Move builder/policy to building/policy, consolidating all build-related packages under the building/ domain. Update all consumers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * docs: add changeset * refactor: remove old implementation files from plugin-commands-rebuild These files were copied to @pnpm/building.after-install but not removed from the original location. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * refactor: remove unused deps from plugin-commands-rebuild Dependencies that were only needed by the implementation (now in @pnpm/building.after-install) are removed. Deps used only in tests are moved to devDependencies. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>