Rush StackShopBlogEvents
Skip to main content

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

Subspace.getTempShrinkwrapPreinstallFilePath() 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.

The full path of a backup copy of tempShrinkwrapFilename. This backup copy is made before installation begins, and can be compared to determine how the package manager modified tempShrinkwrapFilename.

Signature:

getTempShrinkwrapPreinstallFilePath(): string;

Returns:

string

Remarks

This property merely reports the filename; the file itself may not actually exist. Example: C:\MyRepo\common\temp\npm-shrinkwrap-preinstall.json or C:\MyRepo\common\temp\pnpm-lock-preinstall.yaml