rushstack icon indicating copy to clipboard operation
rushstack copied to clipboard

[rush-lib] Add a config to pnpm-config.json about injected install for cross subspace workspace dependencies

Open g-chao opened this issue 1 year ago • 0 comments

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

g-chao avatar May 02 '24 21:05 g-chao