Skip to main content

Home > @microsoft/rush-lib > RushConfiguration > committedShrinkwrapFilename

RushConfiguration.committedShrinkwrapFilename property

Warning: This API is now obsolete.

Use getCommittedShrinkwrapFilename instead, which gets the correct common shrinkwrap file name for a given active variant.

The full path of the shrinkwrap file that is tracked by Git. (The "rush install" command uses a temporary copy, whose path is tempShrinkwrapFilename.)


get committedShrinkwrapFilename(): string;


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