mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-27 11:31:45 -04:00
Add n/prefer-node-protocol rule and autofix all bare builtin imports to use the node: prefix. Simplify the simple-import-sort builtins pattern to just ^node: since all imports now use the prefix.
@pnpm/mount-modules
Mounts a node_modules directory with FUSE
Installation
pnpm add @pnpm/mount-modules --global
Usage
Before mounting the modules directory, all the packages should be fetched to the store. This can be done by running:
pnpm install --lockfile-only
Once the packages are in the store, run:
mount-modules
If something goes wrong and the modules directory will be not accessible, unmount it using:
unmount <path to node_modules>
License
MIT