Fix #253: exclude peerDependencies by default even using '--lock' flag#254
Fix #253: exclude peerDependencies by default even using '--lock' flag#254AumyF wants to merge 1 commit intosvanderburg:masterfrom
Conversation
|
I need a bit of clarification why this change is needed. So originally the The way node2nix handles peer dependencies has changed in several versions. So originally, they were also included as regular dependencies, several versions later they only became a check, and in later revisions they were installed again. As far as I can see, your change is lock file related -- if I'm not mistaken it should only install peer dependencies in lock files when the Is this is behaviour also consistent with what NPM does? And is this also fixing a specific problem? So far this feature was only developed for the dependency resolution algorithm. Under normal circumstances, you should not directly use this option, but rather a flag that automatically propagates the right settings for a specific Node.js version, e.g. |
Fixes #253.
peerDependenciesare not included by default--include-peer-dependenciesmakes node2nix works as previous default