Комментарии:
I would like to appreciate the help provided by the Creator of PNPM @Zoltan Kochan
Ответитьcan you do a comparison of it with yarn V2? I heard yarn V2 does not use node_modules? sorry. newbie here.
ОтветитьI'm not interested in PNPM because of "fast downloads", but more because of preserving space on my laptop's SSD when I'm on the go (It's a MacBook, yes, I know... I know....)
Also, you can actually install PNPM with NPM itself nowdays.
If you speak about yarn, do you speak about yarn 1 or yarn 3 and if yarn 3, have you tried the different modes? Has yarn 3 the same performance with the pnpm mode as pnpm itself?
Ответитьmore overhead to save couple of seconds
ОтветитьInteresting, but Yarn v2+ does not use node_modules at all
Ответитьbut pnpm does not compatible with react-native :(
ОтветитьWell, I tried using it on an ionic angular project and pnpm import reports success, without creating a node_modules folder or whatsoever
ОтветитьI tried it:
npm install express: 2,804s
pnpm add express: 2,752s
It's not really faster.
So pnpm doesn’t have a flat node_modules directory but instead has an equivalent flat .pnpm directory? Just use the latest Yarn (it has different options which you need to research). There is no need for a complicated directory tree structure and symlinking when you can keep the dependency tree information in a file.
ОтветитьI already knew pnpm, it sound great, but never used it because I kept asking if it's so great why isn't anyone using it? There's any compatibility problem or workaround necessary?
ОтветитьWow....I need to make the change.
Seems life changing ✨
diversity in JS is good and bad thing at the same time... While offers a ton of libs to make our lives better , disorientate (new) devs with a lot package managers , we should move on , and make deprecated old package managers , proven not good in performance in core of their arch..
Ответитьneato. using pnpm. you've convinced me. also using vite this year. development has never been so fast...
ОтветитьIt would have been helpful to see how you solved the missing peers :(.
ОтветитьLoving pnpm so far. Going to start learning more about it and specifically "Workspaces". I have had no use for Workspaces to this point, but I am about to take off on a new project that is a perfect use case for Workspaces and all of pnpm's features.
ОтветитьThank you! <3
ОтветитьI wonder why comparing it with npm? under the hood they (yarn or pnpm or any other package managers) resolves packages from npm registry. isn't it?
ОтветитьMindblowing! Thanks for the visibility! I'll go with pnpm!
Ответить1.8s think of it as 1 second. 10.44 nah its 11. problem? :D Nice video but you could be more objective.
Ответить