madskristensen / NpmTaskRunner

Visual Studio extension
Other
88 stars 32 forks source link

Add support for PNPM #90

Closed ChristopherHaws closed 1 year ago

ChristopherHaws commented 1 year ago

Hey there! This PR adds support for the PNPM package manager. In order to not add a bunch of if/switch statements, I created a PackageManager class which contains the options for each of the package managers. Doing this also removed package manager specific code from many places, so I hope this solution is ok with you! :)

Thanks!

Closes #84

image

madskristensen commented 1 year ago

Thanks

dotnetshadow commented 1 year ago

Thank you so much!

dotnetshadow commented 1 year ago

@ChristopherHaws @madskristensen For some reason I can't get this to work. I have pnpm-lock.yaml file in the same directory as package.json. Is this merged into version 1.5.101.0? Am I missing something?

UPDATE: The version needed is 1.5.105 the dev link on github looks like it's wrong it should be pointing to this https://www.vsixgallery.com/extension/c5203f5f-4785-4c09-b383-688a100a9f5d