Open Alex-Andr-19 opened 3 days ago
Sorry, but pnpm
is not included in the official Node Docker image we are using. I don't want to create a custom image until I'm forced to do so.
I believe npm
is "old, but not obsolete"(c).
You can just install pnpm in your image and docker will just cache it. You can do it on step after clone node image and cache the installation of pnpm would be saved by long time.
Project's package manager is
npm
, but this technology is so old and has many misstakes on optimisation case. It creates many duplicates of the same packages innode_modules
and another reason for changenpm
is install dependencing packages with missmatching of versions. Example, project has packageA
with dependency ofC
with version 1.1.5 and packageB
with dependency ofC
with version 1.0.5. Last versioin ofC
that would be loaded is 1.0.5.npm
can create incidence that would be import in packageA
packageC
with version 1.0.5, but packageA
should use newer API ofC
.I prefer use package-manager
pnpm
.