r-darwish / topgrade

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

fix-pnpm #1020

Closed kothavade closed 1 year ago

kothavade commented 1 year ago

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.

idanski commented 1 year ago

Thanks! @vedkothavade