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
I would have expected these to do the same thing but they seem to produce wildly different outcomes. If I run pnpm uninstall on our code base for any reason at this point, the lockfile produces won't work for any of our projects. However, if I remove a package and run pnpm i, the lockfile will remain stable such that we can keep building. One key thing I noted is pnpm i when removing a package from package.json doesn't necessarily rewrite the lockfile too much.
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
-
I would have expected these to do the same thing but they seem to produce wildly different outcomes. If I run
pnpm uninstall
on our code base for any reason at this point, the lockfile produces won't work for any of our projects. However, if I remove a package and runpnpm i
, the lockfile will remain stable such that we can keep building. One key thing I noted ispnpm i
when removing a package frompackage.json
doesn't necessarily rewrite the lockfile too much.This is on pnpm v8 for reference
Beta Was this translation helpful? Give feedback.
All reactions