rushstack
rushstack copied to clipboard
[rush-lib] Add a config to pnpm-config.json about injected install for cross subspace workspace dependencies
Summary
In the subspace design, we mentioned that injecting is required wherever a workspace:* dependency refers to a project in a separate subspace. This PR is support this feature.
Details
We add a new configuration called autoInjectedInstallForCrossSubspaceWorkspaceDependency to pnpm-config.json.
When it is on, all cross subspace workspace dependencies will be injected install.
The default value is false.
How it was tested
Manually tested with the Rushstack locally.
Impacted documentation
N/A