This seem quite counter intuitive and to be bloating the project: i’m trying to install tsdoc linter, but npm adds like other 50 packages alongside with it, is this the expected behaviour? Why is it so?

A project that could easily be 5MB ends up being like 60MB

  • upstream@beehaw.org
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    Step one: Create random package that does something trivial that’s done often.

    Step two: Start making PR’s to lots of open source projects replacing a number of lines of code with your new package.

    Step three: Work hard to get your package into another package that’s used by many.

    Step four: Update your CV to reflect that you build software that thousands of companies depend upon.

    Step five: Profit from the stupid incentives created by companies hiring people that pad their CV’s by making redundant software and push them into everything they can to make sure everyday is dependency hell.