scalacenter / scalajs-bundler

https://scalacenter.github.io/scalajs-bundler
Other
237 stars 101 forks source link

Support `packageManager` in package.json #417

Open ptrdom opened 2 years ago

ptrdom commented 2 years ago

https://nodejs.org/api/packages.html#packagemanager

I would see it as an upgrade to useYarn setting. Instead, we could could have an packageManager setting, which defaults to npm, but could be set to yarn or pnpm with a specified version. Very useful part about this is that npm will automatically download supported package managers.