Skip to main content

PNPM_VOLUME_STORE_DIR

Constant PNPM_VOLUME_STORE_DIR 

Source
pub const PNPM_VOLUME_STORE_DIR: &str = ".pnpm-store";
Expand description

Directory name pnpm gives a store it has to put on a volume of its own.

pnpm hardlinks its store into every node_modules it fills, and a hardlink cannot cross a filesystem. A project on a filesystem that is not the home directory’s therefore gets a store at the root of its filesystem instead — V:\\.pnpm-store on a second Windows drive, /mnt/data/.pnpm-store on Linux, /Volumes/Work/.pnpm-store on macOS. devp caches looks for one on every volume that holds a registered repository, because pnpm store path only ever answers for the volume it is run on.