vendure-ecommerce/vendure

Support pnpm for UI extension compilation

Closed this issue · 1 comments

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!