Giter Club home page Giter Club logo

Comments (4)

misterbyrne avatar misterbyrne commented on May 22, 2024 1

👍 I'm not a fan of having sub-dependencies so prominent anyway.

from pnpm.

rstacruz avatar rstacruz commented on May 22, 2024

By the way: pnpm recently supported npm3's flat tree as of v0.12. An emulation of it, anyway: the deep dependencies don't litter node_modules (like npm3); they're neatly tucked into node_modules/.store/node_modules.

from pnpm.

davej avatar davej commented on May 22, 2024

Yes, I agree, don't support it. I actually much prefer pnpm's way of deduping compared to npm3.

  1. It makes for a neater node_modules folder. This becomes annoying for doing quick hacks and debugging, I actually made a module to help with this but pnpm's approach is nicer again.
  2. npm3 allows easy direct access to all nth-depth dependencies through the project root. For example, you can do require('lodash') without specifying it as a dependency in package.json and it will probably work because some deep dependency is using lodash. I think it's more desirable that this should fail.

from pnpm.

rstacruz avatar rstacruz commented on May 22, 2024

Aye. Settled then!

from pnpm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.