I added a new packageManager option field that allows the developer to choose which package manager to use to run wrangler.
Currently I've added support for pnpm and bun using pnpm dlx and bunx respectively, the default is npx in any other case.
The motivation for adding this is avoiding npm to install the wrangler dependency if it's not present. Instead of using npm it will now use the specified package manager, maintaining consistency with the previous steps of the developers action.
I added a new
packageManager
option field that allows the developer to choose which package manager to use to run wrangler.Currently I've added support for
pnpm
andbun
usingpnpm dlx
andbunx
respectively, the default isnpx
in any other case.The motivation for adding this is avoiding
npm
to install the wrangler dependency if it's not present. Instead of usingnpm
it will now use the specified package manager, maintaining consistency with the previous steps of the developers action.