r-darwish / topgrade

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

npm/cli 8.11.0 deprecated -g flags #949

Closed marknefedov closed 2 years ago

marknefedov commented 2 years ago

As of https://github.com/npm/cli/releases/tag/v8.11.0 npm deprecated -g syntax replaced with --location=global

―― 16:27:28 - Node Package Manager ―――――――――――――――――――――――――――――――――――――――――――――
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.

Standards checklist:

marknefedov commented 2 years ago

Oh, I completely missed it. It works fine on my machine BUT, it looks like pnpm update is not running at all 😅. It shouldn't since pnpm does not yet have that keys. I'll update pr when I'll have more time. In the mean time why was pnpm moved out of its own step?

r-darwish commented 2 years ago

Oh, I completely missed it. It works fine on my machine BUT, it looks like pnpm update is not running at all 😅. It shouldn't since pnpm does not yet have that keys. I'll update pr when I'll have more time. In the mean time why was pnpm moved out of its own step?

The reasoning behind it is that pnpm should be a replacement to npm, not run together with it.