Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > PnpmOptionsConfiguration > alwaysInjectDependenciesFromOtherSubspaces

PnpmOptionsConfiguration.alwaysInjectDependenciesFromOtherSubspaces property

If true, then rush update add injected install options for all cross-subspace workspace dependencies, to avoid subspace doppelganger issue.

Here, the injected install refers to PNPM's PNPM's "injected dependencies" feature. Learn more: https://pnpm.io/package\_json\#dependenciesmeta

Signature:

readonly alwaysInjectDependenciesFromOtherSubspaces: boolean | undefined;

Remarks

The default value is false.