vendure-ecommerce / vendure

The commerce platform with customization in its DNA.
https://www.vendure.io
MIT License
5.39k stars 943 forks source link

Support pnpm for UI extension compilation #2876

Closed jezzzm closed 3 weeks ago

jezzzm commented 3 weeks ago

Is your feature request related to a problem? Please describe. When working with Corepack enabled and using pnpm as package manager, building UI extensions is not possible as Corepack prevents usage of other package managers for any scripts. Currently, UI extension compilation only supports npm and yarn.

Describe the solution you'd like Support for pnpm as an option in the UiExtensionCompilerOptions['command'] union and compilation function.

Describe alternatives you've considered Disabling Corepack (which can lead to other issues caused by differing package manager versions from contributers)

Additional context happy to work on this if you'd like!

jezzzm commented 3 weeks ago

PR #2877