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
Hi, it would be great if there was a way to verify contents of the packages in the node_modules (and store?).
Scenario: I accidentally changed a file when i was exploring source code of a dependency. I use pnpm workspaces. Currently there's no easy way to fix this cause:
packages can be located in different node_modules - either root or workspace node_modules (probably store as well?)
adding/removing a dependency may not help - the package can be used by another app in a different workspace
pnpm store prune doesn't remove existing packages in node_modules
node_modules aren't tracked by Git - it's not easy to manually find what file was affected
Idea: add a command to verify or reinstall contents of node_modules (and store?). It can be based on checksum
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, it would be great if there was a way to verify contents of the packages in the node_modules (and store?).
Scenario: I accidentally changed a file when i was exploring source code of a dependency. I use pnpm workspaces. Currently there's no easy way to fix this cause:
Idea: add a command to verify or reinstall contents of node_modules (and store?). It can be based on checksum
Beta Was this translation helpful? Give feedback.
All reactions