I Finally Changed Package Managers

Поделиться
HTML-код
  • Опубликовано: 30 янв 2025

Комментарии • 270

  • @szmr
    @szmr Год назад +137

    0:49 NPM isn’t slow, it just gives you time to make a drink, have a shower, go for a run, get much needed 12hr sleep. It’s a feature for larger projects 😅

    • @aurelianspodarec2629
      @aurelianspodarec2629 Год назад +2

      I've realised that slow NPM is usually from bad computer or slow internet - you're a brokie with wooden pc

    • @szmr
      @szmr Год назад +4

      @@aurelianspodarec2629 correct 👍 well done 👏

    • @aurelianspodarec2629
      @aurelianspodarec2629 Год назад +1

      @@szmr I got two computers. One that is really old windows and a new windows. Same everything installs 15minutes on my old computer, and a few second to a minute on my new one. That's like 15x difference

    • @szmr
      @szmr Год назад

      @@aurelianspodarec2629 yeah fair play, I’ve got to connect to a work VPN which hampers my internet speed anyway

    • @kurdm1482
      @kurdm1482 10 месяцев назад

      it's single-threaded, so only higher core clock speed would make a difference, and that is not easy to come by.
      intel i9 14900K costs a fortune
      @@aurelianspodarec2629

  • @JTWebMan
    @JTWebMan Год назад +370

    I like how React projects have so many dependencies that instead of solving that problem with common patterns and packages combined they decided to build a fast dependency installer.

    • @DAB009
      @DAB009 Год назад +2

      😂😂

    • @Patman128
      @Patman128 Год назад +41

      After trying Fresh for Deno and seeing that it only installs 300 files total for its deps (not packages, 300 TS files, and most of them are just Deno stdlib stuff) it kind of makes me never want to touch any Node/React stuff again lol

    • @ProtectedClassTest
      @ProtectedClassTest Год назад +2

      loooooooooooooool this is a gem comment

    • @DillonB07
      @DillonB07 Год назад +3

      Well, it's arguably a good thing that there's so many packages as it's less work for 1 team and much more control over what you install. Of course it is slower though.

    • @mharley3791
      @mharley3791 Год назад +4

      This is such a 2002 take

  • @RhysSullivan
    @RhysSullivan Год назад +273

    pnpm is goated for monorepos - Anything else results in you accidentally using dependencies installed in one package that aren't installed in another

    • @alexisfinaris2051
      @alexisfinaris2051 Год назад +1

      this!

    • @jmaclained
      @jmaclained Год назад +19

      pnpm is great but it definitely needs more work in properly hoisting packages during builds, specifically on monorepos with web and mobile like nextjs and expo.

    • @_fayeznazzal
      @_fayeznazzal Год назад

      Yep!

    • @kasper_573
      @kasper_573 Год назад +8

      I perfer to use pnpm when I can. But for projects with loads of dependencies, compatibility with pnpm have so far been kind of a pain in the ass, while yarn can handle those projects without any issue, albeit a bit slower.

    • @skyhappy
      @skyhappy Год назад

      Pnpm gave me issues when running 2 different open source projects. Not worth the hassle, I'm back to npm, maybe yarn.

  • @kabo123
    @kabo123 Год назад +67

    You should have shown the node_modules folder! With pnpm all the sub dependencies hidden in a subfolder. So when you open node_modules you will just the dependencies defined in your package.json (plus a few extra folders)

  • @toastrecon
    @toastrecon Год назад +100

    I don't know why, but I tried it a while ago and for some reason, typing "pnpm" gave me some kind of keyboard dyslexia and I would always end up typing some other permutation of those letters. Lol.

    • @bpuzoni
      @bpuzoni Год назад +18

      yeah, I did need to add 'alias pn="pnpm"' to my rc file because of this lol

    • @engageintellect
      @engageintellect Год назад +4

      Dude, exactly.

    • @toastrecon
      @toastrecon Год назад

      @@bpuzoni That's genius. I'll have to do that.

    • @mukund1606
      @mukund1606 Год назад +1

      Exactly, I was once working with someone who uses npm and I kept typing pnpm over and over again 😂

    • @thienhuynh7962
      @thienhuynh7962 Год назад +1

      Relatable 🤣

  • @DillonB07
    @DillonB07 Год назад +6

    Really glad that PNPM is catching on more and more. I made a pull request a few months ago to add PNPM support to replit/upm and I'm so glad I did that - just so that more people can be introduced to PNPM.

  • @zkochan
    @zkochan Год назад +5

    Conflicts in lockfiles is a huge issue. I am happy to hear in your case the pnpm lockfile had less conflicts than the alternatives. We did work a lot on minimising the amount of lockfile conflicts. Unfortunately, there is no way to completely avoid conflicts. We have some experimental settings for creating lockfiles with different names on branches. The idea is that once the branch is merged, a job merges the lockfiles and commits the updated "pnpm-lock.yaml" to the main branch, avoiding conflicts altogether.

  • @snowe..
    @snowe.. Год назад +35

    Super weird to see pnpm succeeding. I started using it in 2018. I even filed an issue because it originally didn't work for AngularJS at all. I tried to get others in the company to start using it (i'm not a frontend dev, npm really just sucks when you have all the nice tools the backend has), but no one wanted to. It's great to finally see it succeeding. At my current company I think several teams are using it!

  • @asdougl
    @asdougl Год назад +22

    I definitely enjoy seeing the count of reused packages when I install a new package. Only problem is using npm for work and then accidentally doing npm i for a personal project then panic ctrl+c when I forget to use pnpm

    • @_timestamp
      @_timestamp Год назад +4

      antfu/ni solves this exact problem

    • @asdougl
      @asdougl Год назад

      @@_timestamp just installed this and I already love it, thank you

    • @DeadOce4n
      @DeadOce4n Год назад

      @@_timestamp you can also use only-allow

    • @2Fast4Youtube
      @2Fast4Youtube Год назад +4

      I use an alias so that I call npm as always, but use pnpm on the back

  • @volimsir
    @volimsir Год назад +1

    A colleague of mine told me about it a few years ago, and once I tried it I never looked back.
    The biggest thing for me, that you didn't mention in this video, was workspaces! It makes setting up monorepos is super-easy.

  • @jakeherper
    @jakeherper Год назад +21

    We used pnpm in production on a monorepo and it caused all kinds of issues with dependencies, using incorrect versions and leading to high memory usage. We now swapped it for yarn again and all out issues disappeared.

    • @nubunto
      @nubunto Год назад +10

      We’re using in production for many monorepos successfully

    • @daheck81
      @daheck81 Год назад +18

      Sounds like a developer problem rather than a pnpm problem

    • @kkomjang
      @kkomjang Месяц назад +2

      I'm using pnpm for a bunch of projects and monorepos in a company and it works fine.

    • @MelroyvandenBerg
      @MelroyvandenBerg 23 дня назад

      @@daheck81 skill issue

  • @merveillevaneck5906
    @merveillevaneck5906 Год назад

    dude, you frickin rock! i just had a seemingly unsolvable dependency issue in a prod application, saw this video, tried pnpm, and it just magically started working again. what a g!

  • @JohnVandivier
    @JohnVandivier Год назад

    Tysm Theo you trying it and sharing results saves many of us so much time 🙏

  • @stagfoo
    @stagfoo Год назад +2

    yarn lock is also yaml and human readable, and with yarn berry the install time is zero because you can commit gz and the yarn binary :D

  • @mannuelf
    @mannuelf Год назад

    Love PNPM, great to see it getting a light shined on. Have to still try out the monorepo feature. On it. Great channel thanks 🙏

  • @pandoks_online
    @pandoks_online Год назад +2

    Went back to yarn when nohoist didn't work in a monorepo with react native. Only reason I don't fully use pnpm rn.

  • @andokivilaid
    @andokivilaid 5 месяцев назад

    Wowww!
    This is the first time I've ever needed to slow down ⏬⏬⏬ a video instead of speeding it up ⏩⏩to 1.25x or 1.5x like I usually do. To be clear, I mean this as a compliment - your rapid-fire delivery packs so much valuable information into such a short time, all while maintaining perfect clarity. I'm impressed. Keep up the fantastic work!

  • @codeChuck
    @codeChuck 9 месяцев назад

    This is amazing! Theo's video is serving as the HERO of the pnpm landing page!

  • @joshbedo8291
    @joshbedo8291 Год назад +1

    pnpm scares me, we had a memory leak with a monorepo every time it recompiled it was creating a bigger memory footprint and taking longer to build. npm/yarn worked fine never knew what was causing it with pnpm.

  • @dealloc
    @dealloc Год назад +6

    I like pnpm but it does have its shortfalls due to its module linking and hoisting strategy. We've stuck with yarn for our monorepo, which also includes React Native projects and native node modules. I've tried to move to pnpm, but it's more hassle since you're forced to opt-out of the optimizations that it provides by changing the linking strategy, and so you might as well just use traditional NPM.
    For personal projects or JS/TS only repos, I've always use pnpm where possible.

    • @Brawaru
      @Brawaru Год назад +2

      You can enable regular npm linking strategy by adding `shamefully-hoist=true` to `.npmrc` file in your project root. You won't lose much by doing so: it still will be speedy and save you disk space.

    • @dealloc
      @dealloc Год назад

      @@Brawaru That assumes tools follow symlinks, which not all of them do unfortunately as they need to be resolved manually (e.g. using fs.readlink in NodeJS).
      This is especially a problem in React Native which relies on native builds of which there is currently no other solution than to use node-linker=hoisted with pnpm - in which case it's just like using npm and Yarn Classic.
      On top of that it adds more overhead, since you'd have to traverse the tree of files, then resolve any symlinks on the way, which is additional syscalls-this is especially noticeable on CI.

  • @qodesmith520
    @qodesmith520 Год назад

    Yup, it's time I get down with pnpm. Been putting it off for too long. Thanks for the video! I needed that push.

  • @kearfy
    @kearfy Год назад +1

    We got PNPM working with expo/RN, but then also in a monorepo where we had different modules of the app in separate projects. Plenty fun, wouldn’t do it again

  • @butterfly7562
    @butterfly7562 Год назад +1

    The biggest advantage of pnpm is that it improves installation speed and saves huge storage space. I have been using it by default for four years.

  • @mateh3273
    @mateh3273 Год назад +8

    symlink has been a hard issue with pnpm, esp on react native, i think everyone should give yarn v3 a try, it's on par in comparision with pnpm

    • @gosnooky
      @gosnooky Год назад

      I thought pnpm used hard links

  • @Uber1337Ninja
    @Uber1337Ninja Год назад +3

    I really enjoyed pnpm but I can't use it currently because next with output standalone (for Docker images) doesn't work with pnpm.. It copies symlinks to the output directory

  • @ozakione
    @ozakione Год назад +2

    no way sky is blue thanks theo wouldnt have guessed it, amazing technical video

    • @smashbros8645
      @smashbros8645 Год назад

      so technical!
      he didn't explain shit, videos gets lazier and lazier, not even saying what's the difference between npm/yarn/pnpm anymore.
      He's just a fraud content-machine now.

  • @nivaldolemos5280
    @nivaldolemos5280 Год назад +7

    pnpm rocks ❤

  • @carvierdotdev
    @carvierdotdev Год назад

    Thanks to one of your videos, I’m now using pnpm and it’s amazing!!!

  • @kabal911
    @kabal911 Год назад +1

    It’s become my default, and have migrated some old projects, but it doesn’t work with everything. E.g I cannot get it to work with any nuxt 2 project. I should rather say that nuxt 2 won’t work with a pnpm node_modules folder.

  • @assertnotnull
    @assertnotnull Год назад +1

    Pnpm also reinstalls missing deps. With yarn I had to delete the node_modules folder when the Mozilla certs dep was gone for an obscure reason. Of course I only knew it was gone when my backend was running..
    Pnpm is also smart enough to install/delete deps when you modify the package.json so you can get on with your life.

  • @boian-inavov
    @boian-inavov Год назад

    I used it for a while back, but with my most recent project and as dependencies size was vital I did a comparison between the 3 and yarn’s size was the lowest, so we just use yarn now

  • @himurakenshin9875
    @himurakenshin9875 Год назад +8

    Yarn v3 is also fine. It also has node modules as linker which doesnt cause errors which pnp mode causes.

  • @jdubz8173
    @jdubz8173 Год назад +1

    I use docker to bootstrap and run my projects. To get pnpm to work for me would take some additional steps to gain some of the benefits it describes. I don't think it'd be crazy but it's just not a priority for me quite yet.

  • @kearneytaaffe7059
    @kearneytaaffe7059 Год назад

    Thank you for this video! I'm one of the oddities that uses yarn still. I've heard of PNPM, but never had any real reason to use it. I think I'll try it and see how it goes

  • @LeNZian
    @LeNZian Год назад +11

    Not sure if it's still the case, but I remember choosing Yarn's PnP implementation over pnpm because it had more strict enforcement of correct dependency usage.
    For me, tools that are more pedantic is a big selling point because it forces me to better understand them

    • @borisjoffe
      @borisjoffe 9 месяцев назад

      I believe pnpm is stricter than yarn - it enforces explicitly specifying dependencies since they're nested vs yarn which allows you to use a dependency of a dependency due to the flat file structure

  • @samuelgunter
    @samuelgunter Год назад +3

    pnpm is a necessity on smaller hard drives / ssds like on a laptop/macbook

  • @quintencabo
    @quintencabo Год назад +1

    I went off to that "crazy world" of yarn 2 and its great

  • @agusterodin
    @agusterodin Год назад +2

    Being able to poke around in node_modules is really nice when debugging problems with external packages. I have isolated bugs inside third-party libraries, come up with fix on the spot, and have used my findings to file PRs (usually a few lines of code changes). Wondering if pnpm would make it more annoying to do this kind of thing.

    • @niccommander
      @niccommander Год назад +1

      generally speaking no, it will not be harder. You still have your node_modules folder but the files/folders are more or less symlinks.
      pnpm even has a native "patch-package" to patch broken dependencies, as far as I know

  • @tedspens
    @tedspens Год назад

    I never knew the history, just started using pnpm about a year ago when I learned that it reuses dependencies. My hard drive has never been happier!

  • @tesilab994
    @tesilab994 8 месяцев назад

    Pnpm's really great features: 1. no freeloading on some other package's dependency. 2. It supports package.yaml ! This allows me to comment my why the dependencies are there, or why specific versions are specified the way they are, and also it is much much easier to read. 3. no need for pnpm run x, if it is the name of a script just pnpm x. 4. Tacking on extra arguments to a script: `pnpm scriptname a b c` will tack a b c onto the end of the command line for the script. 5. Probably best-in-class workspace support.

  • @axa993
    @axa993 Год назад

    PNPM just works. Using it for about a year now and it kicks absolute ass, especially in monorepo environments. Predictable, performant, overall impressive.
    I've had more issues with NPM on a day-to-day basis than I've had with PNPM in a last year.

  • @SzaboB33
    @SzaboB33 Год назад +1

    I just checked the node_modules size on my PC and it's 10G.

  • @SyntaxLexx
    @SyntaxLexx Год назад

    I was sceptical, but when pnpm saved me and my small 250ssd, boom! Amazing stuff!

  • @flipperiflop
    @flipperiflop Год назад

    Thanks for the video - pnpm seems to be solid tool to use in the future!

  • @Trucidare
    @Trucidare Год назад

    At work, we went straight in to using pnpm for our monorepo (through the Rush toolchain) when Turborepo initially didn't support pnpm. It's great, but we're still waiting for proper symlink support in React Native/Expo so that we can maybe introduce our RN app to the monorepo (avoiding npm publishing/versioning some of our shared packages along the way).

  • @UliTroyo
    @UliTroyo Год назад +14

    I started using bun as my default bundler and runtime a while back. I hope non-hipsters also get to enjoy this speed and ease once it’s more established, because even pnpm and Vite seem chugging by comparison.

    • @MrMudbill
      @MrMudbill Год назад +2

      I'm very hyped about Bun but it's too early for me to adopt

    • @cristianbilu
      @cristianbilu Год назад +8

      You realise Vite is not a dependency manager, right? It's a bundler

    • @colinmcd94
      @colinmcd94 Год назад +1

      > I started using bun as my default bundler and runtime a while back
      ​@@cristianbilu he mentioned he's using Bun's bundler as well as his default bundler as well.
      but also Vite's not a bundler either, it uses esbuild & rollup internally

  • @mohamedyamani8502
    @mohamedyamani8502 Год назад

    Wouhou!! Finally someone mentioned the beast

  • @jorisaerts9215
    @jorisaerts9215 24 дня назад

    I hope you gave Yarn a try yet, because I really have great experience with it too.
    I use both yarn and pnpm without preferring one above the other.

  • @dinckelman
    @dinckelman Год назад

    I'm a very strong supporter of pnpm. It's been excellent to me, and it does a lot more than just save space too. Although I will have to admit that I failed to understand how to make it's monorepo workspaces work

  • @moinaxtv
    @moinaxtv Год назад +1

    I love pnpm, the only issue is that it's still not compatible with Windows WSL2, which doesn't show hard links to Windows host, which kind of sucks if we work with Webstorm at the moment. So I stick to Yarn1 for now, hoping for a fix.

  • @berk473
    @berk473 Год назад

    Yess, I also just switched to pnpm. Was worth it and does not take too much time

  • @wobsoriano
    @wobsoriano Год назад

    Been using pnpm since 2022! Love it.

  • @spetz911
    @spetz911 Год назад

    Finally someone rises awareness around pnpm! Thanks for doing that! Maybe it will lead to e-waste reduction and a ton of saved time.

  • @souvlaki42
    @souvlaki42 Год назад

    I just recently started using pnpm instead of yarn and npm some weeks ago and I love it.

  • @ashuvssut
    @ashuvssut Год назад

    expo doesn't have a guide for setting up pnpm monorepo projects. It only has well documented yarn monorepo guide. That's why I am not very confident when thinking about t3 mobile stack's template for monorepo (it uses pnpm).

  • @AlexSpieslechner
    @AlexSpieslechner Год назад

    we have a monorepo with react17 and express backend and ive tried migrating. loads of small issues where i’ve just given up. issues with package resolution, react types all of a sudden being wrong and not having children anymore, msw bugging out. could be our subpar codebase, but it just works with yarn1. switching to pnpm is definitely on my wishlist but seeing how much stuff broke, i dont know if i can take the risk and defend the time spent migrating

  • @bjornstabell2970
    @bjornstabell2970 Год назад +17

    Would be nice to see you try yarn (berry) too - lots of the same benefits, and no need for a separate file for workspaces - btw, yarn.lock pretty much looks like pnpm's lock file - yaml format

  • @ricardoislasruiz3186
    @ricardoislasruiz3186 Год назад

    Awesome, this video is already in the pnpm homepage

  • @arashitempesta
    @arashitempesta Год назад +3

    so in this case you would have a global node_modules handled by pnpm so you can reuse packages across all projects in your machine?

    •  Год назад

      Exactly. It changed my life, now it's on all my personal projects

    • @couri3r
      @couri3r Год назад

      Sort of like a global node_modules for within your own repo or monorepo. It's smart enough to know not to duplicate dependencies that other dependencies depend on. I think.

    • @arashitempesta
      @arashitempesta Год назад

      @ cool, I've only used pnpm with bit cloud as that's what it uses to handle the dependencies for the project (now that I think about it its technically a monorepo, each component is it's own package).

  • @nanonkay5669
    @nanonkay5669 Год назад

    For me, pnpm was a no-brainer once I learned about it. As a person with slow wifi, pnpm is a lifesaver 😂

  • @JosephGoebbelcoque
    @JosephGoebbelcoque Год назад

    You've convinced me, giving it a try now.

  • @WatashiwaWatashi-zw7hy
    @WatashiwaWatashi-zw7hy 8 месяцев назад

    what makes me to not use pnpm is bcz pnpm don't shown warning if I have a mismatch peer dependency issue when I do the pnpm install command. so I think it's really sucks., bcz maybe if I don't fix that issue immediately when I see the warning when install a package using pnpm add command and than two weeks later I forget about that issue bcz when I try to do pnpm install, the warning doesn't show

  • @Ccb780
    @Ccb780 Год назад +1

    One issue I've found with relying on pnpm is in Windows the character length for directories has a set limit and so pnpm creates symlinks that break whenever you try to "sync" a project. I was using Google drive for a specific folder and when I switched over it caused much pain.

    • @PanosPitsi
      @PanosPitsi Год назад +4

      Easy solution use a better os

    • @thienhuynh7962
      @thienhuynh7962 Год назад

      File system is the biggest reason why I never look back to Windows after switching to MacOS

    • @PanosPitsi
      @PanosPitsi Год назад

      @@thienhuynh7962 the good part of Mac is it doesn’t get out of your way ironically you have access to a real Unix terminal

  • @anonymouscommentator
    @anonymouscommentator Год назад +1

    I am not into web development but is formatting your drive really necessary to clean your modules folder?? that seems very over the top

  • @JohnSmith-zl8rz
    @JohnSmith-zl8rz 10 месяцев назад

    I have some issues with Yarn, some packages don't install but it does with npm, so I prefer use "a classic slow" but working thing, I'lll see how it goes with pnpm.

  • @the_war_doctor
    @the_war_doctor Год назад +1

    If I was spinning up a design system, would you recommend pnpm for that use case?

  • @avi12
    @avi12 Год назад

    I got started with NPN, switched to Yarn, and in the past couple of years I've been using PNPM and never looked back

  • @Sivenruot
    @Sivenruot Год назад

    Pnpn install didn't cached well in my CI because of the way it use symlinks. Good tool thought was working fine locally.

  • @me_souljah
    @me_souljah Год назад

    Been using pnpm whenever I could, awesome thing

  • @professor_ozzy
    @professor_ozzy Год назад +4

    PNPM is supreme!

  • @notthere83
    @notthere83 4 месяца назад

    I'm loving it so much that I find it crazy that it took you so long! 😆
    For real though... the first years weren't that great in my opinion. It had some performance problems (which were resolved pretty quickly though) and the creator wanted to keep the verbose npm terminal output. Fortunately, he obviously changed his mind.
    Blows my mind that you didn't mention that it uses symbolic links and that that's why it saves so much space and is so fast once stuff is in the cache. (Other package managers may do this as well now but pnpm pioneered it.)
    Also, I heavily disagree with not migrating to it for large corporate projects. ESPECIALLY there, it's awesome to be able to reduce those reinstall times on branch changes or whatever to a few seconds. (And maybe even speed up testing pipelines.)

  • @iiWeDaBeast
    @iiWeDaBeast Год назад

    I've been using pnpm for over a year now and have never looked back!

  • @MarkusMh
    @MarkusMh Год назад

    You give me Adam Scott vibes. Good content.

  • @alexenax1109
    @alexenax1109 Год назад

    Love this content!

  • @Handleui
    @Handleui 5 месяцев назад

    Is there `pnpm` for VS Code? It downloads each of the minor version for the plugins.

  • @XavierGoncalves89
    @XavierGoncalves89 Год назад

    I too install all my dependencies in all the repos I've cloned several times a day completely from scratch

  • @theuidawg3274
    @theuidawg3274 Год назад

    pnpm is nice to use locally, but has been a pain to setup within containers like docker for me. I like npm and yarn because they are both preinstalled with the latest versions of node

    • @Evan-dh5oq
      @Evan-dh5oq Год назад +1

      Just make a base image with pnpm installed

    • @DanielEPeterson
      @DanielEPeterson Год назад

      I'd bet the pain @theuidawg3274 is referring to would be setting the global store. There's little benefit to using pnpm in these types of environments without first setting up some type of shared volume that's got a fast connection to the containers.

  • @AndreiMacaveiG
    @AndreiMacaveiG 11 месяцев назад

    That's the IT guy shirt you have over there, I got a shirt exactly like yours! :)

  • @DnKZone
    @DnKZone 6 месяцев назад

    Pnpm is definitely faster than yarn and npm, and I like the experience when installing a new package with pnpm also reinstallation of packages is blazingly fast, I am using pnpm for a year

  • @BinaryReader
    @BinaryReader Год назад +1

    I still use npm, and I'm fine with that.

  • @patrickhan4025
    @patrickhan4025 11 месяцев назад

    Can you talk about the Rush and pnpm?

  • @GabrielGasp
    @GabrielGasp Год назад +4

    Last time I tried pnpm (been a few months), I had serious problems if I was using Prisma in the project because of how prisma generate works. I hope this has been fixed.

    • @Sayaadisme
      @Sayaadisme Год назад +1

      This exactly. Npm just works. The grass always seems greener on the other side but at the end of the day, tech is just tradeoffs.

  • @golamrabbiazad
    @golamrabbiazad Год назад

    I’m looking for Bun which is releasing next month.

  • @nasouhalolabi3905
    @nasouhalolabi3905 Год назад

    the first time I used pnpm I was on a slow connection and npm would fail and timeout pnpm on the other hand... less than a minute

  • @TheBli7krieg
    @TheBli7krieg Год назад

    I will definitely give it a shot

  • @Mitsunee_
    @Mitsunee_ Год назад

    pnpm has a built-in dedupe command that actually works and doesn't just tell you that deduping "isn't needed". yarn-deduplicate existing at all shows that yarn's deduping doesn't work. Pnpm wins.

  • @leogonzalez3112
    @leogonzalez3112 Год назад

    You have convinced me, Freddy Mercury

  • @orderandchaos_at_work
    @orderandchaos_at_work Год назад

    Underrated feature of using pnpm is that when copying `npm install some-package` you just type `p` then paste the rest.

  • @wellingtonmassola
    @wellingtonmassola Год назад

    yes! pnpm is awesome, I'm using it has been a few years and never understand why no one uses it, it is always npm and yarn (I kinda understand npm for being the default, but today I don't see any difference between npm and yarn)

  • @JoRyGu
    @JoRyGu Год назад

    The last time I tried pnpm it was a pain in the ass to get it working in our pipeline.

  • @ekchills6948
    @ekchills6948 Год назад

    Node modules have filled up my space

  • @dawid-bobowski
    @dawid-bobowski 11 месяцев назад

    Is pnpm actually good for every project? I haven't used it before and I noticed mixed opinions about it.

  • @Alastairtheduke1
    @Alastairtheduke1 Год назад

    I tried yarn a few months ago having only use npm, and thought 'wtf, is this?'. The documentaiton was so hard to understand that I quickly bailed.

  • @gro967
    @gro967 Год назад

    You finally changed to the industry standard 👋

  • @ropoxdev
    @ropoxdev Год назад

    For me, pnpm rejects to work on my machine

  • @marioserano4098
    @marioserano4098 Год назад +2

    i have seen cross-platforms issues with pnpm which makes me just stick to yarn...
    the sentiment on twitter seems to be the same when i searched 'pnpm switch back yarn'
    which is why i havent touched it yet

    • @marioserano4098
      @marioserano4098 Год назад

      there was like a repo that migrates their package manager to pnpm, only to switch back to yarn... sooo... kinda scared to use them

  • @AK-vx4dy
    @AK-vx4dy Год назад

    Does pnmp have own repository ?
    Will npm still have motivation to proper mantain reposiotry if some else will get the cream and glory ?

  • @TomNook.
    @TomNook. Год назад

    how does it handle different versions of the same dependency?

  • @MVandoff
    @MVandoff Год назад

    npm and yarn don’t “probably work just fine” most of the time though. In my experience it’s common to deal with dependency issues where you need to delete your node_modules folder and other things. I’ve never had a single issue when using pnpm.

  • @Marasma101
    @Marasma101 Год назад

    This video sold me to try it out