Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > Subspace > getSubspacePnpmPatchesFolderPath

Subspace.getSubspacePnpmPatchesFolderPath() method

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.

Returns the full path of the folder containing this subspace's configuration files such as pnpm-lock.yaml.

Example (subspaces feature enabled): C:\MyRepo\common\config\subspaces\my-subspace\pnpm-patches Example (subspaces feature disabled): C:\MyRepo\common\pnpm-patches

Signature:

getSubspacePnpmPatchesFolderPath(): string;

Returns:

string