Skip to content

pnpm and npm should not be merged in the same command #68

@TommasoAmici

Description

@TommasoAmici

What did you expect to happen?

I have both npm and pnpm installed, I use npm for global installs and pnpm for projects.

I upgraded topgrade and since this commit 27349b1 it's now using pnpm for global upgrades.

pnpm should not be considered an alternative to npm as most users will have both installed (I don't think you can actually have pnpm and not have npm)

Additionally, topgrade created a ~ directory in my HOME directory with empty Library/pnpm directories

image

Additional Details

  • Which operating system or Linux distribution are you using? Not relevant
  • How did you install Topgrade? Not relevant
  • Which version are you running?
    Topgrade 10.0.0
―― 09:57:13 - Node Package Manager ―――――――――――――――――――――――――――――――――――――――――――――
Dry running: /opt/homebrew/bin/pnpm update -g

This should remain as npm update -g

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions