You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The good thing about pnpm's proper node_modules structure is that it "helps to avoid silly bugs" by making it impossible to use modules that are not specified in the project's package.json.
Source: https://pnpm.io/pnpm-vs-npm
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
From pnpm's website, we can see:
But in my project, it is not true.
Code repo https://github.com/guoyunhe/create-rive
Direct dependencies are:
You can see that I have no
eslint
in direct dependencies. But innode_modules
, I foundeslint
and many other eslint packages exposed:That is opposite to how pnpm describes itself. Any idea why?
Beta Was this translation helpful? Give feedback.
All reactions