Pnpm vs Npm vs Yarn - What to Choose?

  Рет қаралды 14,251

Monsterlessons Academy

Monsterlessons Academy

Күн бұрын

Learn what is Pnpm package manager and how Pnpm differs from Npm or Yarn. We will look on important Pnpm features and try to migrate Npm project to Pnpm to see how difficult it is. It's a Pnpm vs Npm vs Yarn comparison!
► CHECK MY COURSES - monsterlessons...
FOLLOW ME
► TWITTER - / monster_lessons
STUFF I USE
► My imac for home on Amazon - amzn.to/3MgtZAC
► Mac macbook to go on Amazon - amzn.to/3yr3UJg
► My monitors on Amazon - amzn.to/3yw6lKD
► My mouse on Amazon - amzn.to/3CEFCNt
► My keyboard on Amazon - amzn.to/3fOzNVL
► My monitor arm on Amazon - amzn.to/3CHr5BA
► My speakers on Amazon - amzn.to/3T4uf7W
► My coffee machine on Amazon - amzn.to/3rI9DGQ
► My Synology NAS on Amazon - amzn.to/3MjIpQz
► My Seagate IronWolf 4TB HDD on Amazon - amzn.to/3Cndm1B
► My external SSD drive on Amazon - amzn.to/3rFPQb1
► My external HDD drive on Amazon - amzn.to/3MmrsVE
► My microphone - amzn.to/3SMCE08
► Audio interface - amzn.to/3ecWv9O
► Camera - amzn.to/3RNOLIM
Disclosures: All opinions are my own. Sponsors are acknowledged. Some links in the description are affiliate links that if you click on one of the product links, I’ll receive a commission at no additional cost to you. As an Amazon Associate I earn a small commission from qualifying purchases.

Пікірлер: 17
@MonsterlessonsAcademy
@MonsterlessonsAcademy Ай бұрын
WATCH NEXT: Javascript Interview Questions and Answers - Dominate Your Next Interview - kzbin.info/www/bejne/rZ-8fHtombRpaJIsi=5DfbGEfhXWiiv0a_
@sarath.sandwich
@sarath.sandwich 18 күн бұрын
Nice, quite neutral explanation. Thanks for sharing.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 18 күн бұрын
Glad you liked it
@abc33155
@abc33155 Жыл бұрын
0:57 In a flat structure you don’t copy dependencies “all the time”, that will be in a nested structure without soft&hard links. In a flat structure you should have only one copy of (a version of) each package.
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
You are correct but when you have multiple versions of the same package across your dependencies it is not flat anymore as it can't just install the only version in root.
@sliceem88
@sliceem88 Жыл бұрын
Tnx! Nice explanation !
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Glad it was helpful!
@TheBesogon
@TheBesogon Жыл бұрын
I like Yarn PnP.. but. PnP is not ready for development of big projects yet, I suppose. The reason is that PnP is very strict.. + their override causes weird issues from time to time.. Mostly because their approach is very strict. I guess, that in reality, we have to take reality in account and not be so ideal and "righty". For small (pushable) projects: I'd use yarn PnP For big (enterprise) projects: I'd use pnpm For widely used open source projects: I'd still try to use npm I hope! that yarn and pnpm and npm will come to the same specification! Now it is a shame what we have in documentation/ configuration and all could use 1 thing to manage all packages as it was before
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
I agree with you. But just to remind when we had just npm with shrinkwrap and no lock file by default and they didn't change anything until yarn came out. Competition really pushes them all forward.
@sL...
@sL... Жыл бұрын
Pnpm unusable on windows. A lot of bugs. Tried version 8+ Too long path on windows errors. Random errors on package updates.
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Sounds bad. Luckily I don't use windows. On macos I had zero problems with pnpm
@ChristopherMartinez-v8b
@ChristopherMartinez-v8b 20 күн бұрын
829 Green Village
@re.liable
@re.liable Жыл бұрын
7:58 scared me. I thought my speakers broke
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Sorry I should've picked lighter sound :)
@re.liable
@re.liable Жыл бұрын
@@MonsterlessonsAcademy No worries :) Just tried out pnpm and it seems to work great. When I finish my current NPM project maybe I'll try to do the next one in pnpm. Cheers
@sj9851
@sj9851 Жыл бұрын
YARN not JARN....
@noneedtoknowthishandle
@noneedtoknowthishandle 2 ай бұрын
shut up.
这到底是怎么做到的 #路飞#海贼王
00:10
路飞与唐舞桐
Рет қаралды 3,4 МЛН
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 31 МЛН
What's the deal with this package manager?
7:41
typecraft
Рет қаралды 14 М.
Why I Switched From NPM/Yarn to PNPM And Why You Should Too!
13:54
I Finally Changed Package Managers
4:01
Theo - t3․gg
Рет қаралды 92 М.
npm for absolute beginners
15:32
Kevin Powell
Рет қаралды 16 М.
Bun is disrupting JavaScript land
4:30
Fireship
Рет қаралды 985 М.
Npm vs Yarn - What to Choose?
6:55
Monsterlessons Academy
Рет қаралды 26 М.
What is NPM, and why do we need it? | Tutorial for beginners
14:27
Coder Coder
Рет қаралды 321 М.
Bun vs Node.js - Everything You Need To Know!
23:01
Codevolution
Рет қаралды 37 М.
Async Pipe Is Broken in Angular
9:08
Monsterlessons Academy
Рет қаралды 10 М.