Add PNPM support #366
Replies: 2 comments 3 replies
-
|
@paketo-buildpacks/nodejs-maintainers |
Beta Was this translation helpful? Give feedback.
-
|
Hello @cyrillesondag Good idea :) Both npm and yarn are supposed to be a drop in replacement of npm and I think in terms of feature parity pretty much are the same, or at least have the same differences in comparison to npm. I think for supporting pnpm, two parts are needed, the pnpm bulidpack (the one that you currently working on) and the pnpm-install. For the pnpm-install, I would suggest going with a fork from npm-install, as npm-install has much more fixes the recent years, as a result more edge cases are covered which will lead to less maintenance and issues in the future. Also, in terms of testing/test coverage, npm-install has almost double the tests, which is something we relying a lot on each release for catching any potential issues each time we introduce a new node version, builder, etc.. Of course you will need some parts from yarn-install to adopt on pnpm-install, as pnpm is an additional package manager similar to what yarn is. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Within my company, we use pnpm to improve download times for Node.js dependencies. Unfortunately, there is currently no support for this package manager available for paketo-buildpacks.
Have you considered implementing this functionality ?
If this might interest you, I have started working on an implementation based on the pack made for Yarn that is available here: cyrillesondag/paketo-buildpacks-pnpm
Please feel free to share your feedback if you would like me to continue in this direction.
Best regards,
Beta Was this translation helpful? Give feedback.
All reactions