r-darwish / topgrade

Upgrade everything
GNU General Public License v3.0
3.37k stars 162 forks source link

fix pnpm #1019

Closed ved-kothavade closed 1 year ago

ved-kothavade commented 1 year ago

This fixes #1018

Standards checklist:

If you developed a feature or a bug fix for someone else and you do not have the means to test it, please tag this person here.

kothavade commented 1 year ago

Tested to work with pnpm now, and if pnpm is not in path, npm runs as expected. pnpm's version is below the version that node deprecated -g, and it still uses -g (and doesn't support --location=global), making the specific check unnecessary.

ved-kothavade commented 1 year ago

wrong account was used for the pr, closing and remaking.