[RFC] The use of pnpm
#29
Closed
dcyoung-dev
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
As of node v16.13 like yarn pnpm is included with node there is one additional step to enable it.
That is all and pnpm is working without additional issues. All CI has already been converted to use pnpm |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
Onboarding new developers can be complicated, do we need the additional step of installing and using
pnpm
?Current setup
pnpm
globally in Node - usingnpm
pnpm
to install dependancies and run dev environmentProposal
Remove
pnpm
from the development stack.Onboarding steps
Installpnpm
globally in Node - usingnpm
npm
to install dependancies and run dev environmentReasoning
To install
pnpm
requiresnpm
which comes as part of the NodeJS installation by default.Having less tooling and less dependencies is usually a good thing.
We have CI tasks that do not use
pnpm
and require updating to use it.As
npm
is pre-packaged in Node it is surely the default for most developers.Cons
pnpm
claims to be 2x faster thannpm
. This probably only matters at a very large scaleRemoving
pnpm
will require updates to our documentation. Mostly removals of stepsNotes
npm
andpnpm
are both package managers within the Node ecosystem. Both provide the same functionality.Beta Was this translation helpful? Give feedback.
All reactions