-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use --force when installing deps for git prepare scripts
If a git dependency has conflicting peerDependencies, dependencies with engines fields that don't match the current environment, and so on, it isn't much help to crash the installation for these issues. The user installing the git dependency is likely not in a position to fix them, but from npm and Arborist's points of view, it is the 'main' project that has a problem (since the install is being run as a separate process). This commit passes '--force' to the npm child process that installs dependencies for git packages before running their 'prepare' script, to ignore all such issues (or reduce them to warnings). Related to: npm/cli#2548 PR-URL: #63 Credit: @isaacs Close: #63 Reviewed-by: @nlf
- Loading branch information
Showing
3 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters