• @[email protected]
      link
      fedilink
      188 months ago

      those devs understand why their assets are so large. but if you ask a js dev why they webpack instead of compiling they just start crying and run away

      • @[email protected]
        link
        fedilink
        78 months ago

        It depends. If you switch between different branches a lot, Library just grows to infinite sizes due to storing everything from each branch that is unique to those branches. I once had to clear about 600 gigs of library lol.

      • @burnso
        link
        48 months ago

        Not sure, but probably. I only used yarn 1. Never got around to trying yarn 2+ as migrating our fairly large monorepo project at the time felt like a pretty large and complicated ordeal. By the time I switched jobs npm was already a whole lot better in the ways most important to me.

        The little I’ve read about and used pnpm so far it seems a lot more plug n play than yarn while bringing big benefits. Even workspaces seems a lot simpler than it ever was with yarn (at least when I used it). Love the idea of non-flat node_modules and simplified lock files as well.

        Time will tell if npm incorporates enough of pnpm’s features to make it obsolete eventually but for now I can understand why it seems so widely adopted.

        • @[email protected]
          link
          fedilink
          38 months ago

          I mean, the essential difference of no node_modules is shared, as are workspaces.

          I think pnpm is more manual, but therefore less magic than yarn. More compatible, less stuff just works

  • @[email protected]
    link
    fedilink
    148 months ago

    I love when I have to wipe node_modules and reinstall and it takes like an hour because there’s thousands of packages lol

  • @xantoxis
    link
    108 months ago

    antique programming memes roadshow

  • @KeefChief13
    link
    98 months ago

    I have not laugued at one of these out loud untill now.

  • @brckd
    link
    9
    edit-2
    8 months ago

    i recently begged my cs teacher to install npm on the school computers. shouldnt have been suprised when i immediately ran out of storage

      • @EarMaster
        link
        38 months ago

        Oh yes. Creating an empty environment can easily take up several gigabytes…

      • @brckd
        link
        18 months ago

        i just checked and it seems to be a really cool package manager for several languages. but how does that help with storage limitations?

          • @brckd
            link
            58 months ago

            oh nice! ill try that on the school computers

  • @uis
    link
    28 months ago

    Time to write in C