mirror of
https://github.com/pnpm/pnpm.git
synced 2026-02-13 08:32:24 -05:00
* test: use `import type` in more places Several tests are failing because a module isn't being mocked. This is due to the mocked module being imported before the mock being set up. Switching to `import type` should elide the import fully. * build: replace ts-jest with simple transformer * chore: remove `ts-jest` * chore: remove babel dependencies from root project * ci: use Node.js 22.13.0 (instead of 22.12.0) Node.js 22.13.0 introduces the `stripTypeScriptTypes` function * fix: copilot feedback
@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