Rush StackShopBlogEvents
Skip to main content

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

IExperimentsJson.usePnpmLockfileOnlyThenFrozenLockfileForRushUpdate 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.

By default, 'rush update' runs as a single operation. Set this option to true to instead update the lockfile with --lockfile-only, then perform a --frozen-lockfile install. Necessary when using the afterAllResolved hook in .pnpmfile.cjs.

Signature:

usePnpmLockfileOnlyThenFrozenLockfileForRushUpdate?: boolean;