Comments (4)
👍 I'm not a fan of having sub-dependencies so prominent anyway.
from pnpm.
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.
Yes, I agree, don't support it. I actually much prefer pnpm's way of deduping compared to npm3.
- 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. - 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 inpackage.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.
Aye. Settled then!
from pnpm.
Related Issues (20)
- The PNPM publish command with a tarball file argument ignores the tarball file
- Issue with pnpmfileChecksum and frozen-lockfile HOT 19
- Overrides seem to not work on peer deps HOT 2
- create `.ps1` only when the user policy allows it HOT 3
- pnpm add no longer working in 9.x with sub packages HOT 2
- ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY with relative local dependency (difference between windows and linux CI?) HOT 7
- pnpm install --ignore-package-manager-version HOT 8
- Aliased packages are incorrectly resolved HOT 19
- pnpm v9 complains about ssh+git deps in lockfile v6 HOT 1
- `pnpm completion` command should not evaluate package.json `packageManager` field
- Request to add pnpm install --force as shorthand for pnpm install --no-frozen-lockfile
- pnpm completion should auto complete on scripts in package.json
- Your pnpm version is incompatible with "[email protected]([email protected])". HOT 4
- pnpm incorrectly gets wrong dependency HOT 7
- When using `pnpm i` to install dependencies, it does not prioritize searching for packages with the same name in the workspace. HOT 5
- `Ignoring broken lockfile` & `Lockfile not compatible with current pnpm` HOT 1
- Upgrading packages doesn't work when an aliased workspace dependency is present HOT 2
- [email protected] links incorrect peer dependency when multiple versions of the peer dependency exist in a monorepo HOT 4
- Incorrect versions installed
- Peer deps issue errors are not reported HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pnpm.