-
I found that the readPackage hook of .pnpmfiles.cjs is only called when dealing with the current project dependencies, but not when the npm package in the node_modules is installed, I want to replace all the dependencies with the same name, is there any way to do it? |
Beta Was this translation helpful? Give feedback.
Answered by
li-yinan
Jul 30, 2024
Replies: 1 comment
-
In the case of pnpm caching, only the first layer of dependencies will be traversed, and using |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
li-yinan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the case of pnpm caching, only the first layer of dependencies will be traversed, and using
pnpm i --fix-lockfile
can be used to force all dependencies to be traversed