Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > IExperimentsJson > exemptDecoupledDependenciesBetweenSubspaces

IExperimentsJson.exemptDecoupledDependenciesBetweenSubspaces property

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Rush has a policy that normally requires Rush projects to specify workspace:* in package.json when depending on other projects in the workspace, unless they are explicitly declared as decoupledLocalDependencies in rush.json. Enabling this experiment will remove that requirement for dependencies belonging to a different subspace. This is useful for large product groups who work in separate subspaces and generally prefer to consume each other's packages via the NPM registry.

Signature:

exemptDecoupledDependenciesBetweenSubspaces?: boolean;