depngn icon indicating copy to clipboard operation
depngn copied to clipboard

[Feature Request]: Support `pnpm` package manager

Open kindoflew opened this issue 3 years ago • 0 comments

Describe your request

We currently only support npm and yarn. pnpm is the new hotness, so we should support it as well.

Possible Implementation

The logic for which package manager commands to use lives in src/queries/getPackageManager.ts, so we would just need to add it as an option in the getPackageManager function and then add it's corresponding commands to the PACKAGE_MANAGER object in that file.

Also, many of the pnpm commands actually just fall through to using npm under the hood, so the implementation details should be very similar.

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

kindoflew avatar Dec 22 '22 03:12 kindoflew