-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: disable updating peer dependencies when updatePeerDependencies i…
…s false (#2270)
- Loading branch information
1 parent
08331fa
commit 2d80f12
Showing
4 changed files
with
90 additions
and
2 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,59 @@ | ||
exports['PackageJson updateContent does not update peer dependencies by default 1'] = ` | ||
{ | ||
\t"name": "yargs-parser", | ||
\t"version": "14.0.0", | ||
\t"description": "the mighty option parser used by yargs", | ||
\t"main": "index.js", | ||
\t"scripts": { | ||
\t\t"test": "nyc mocha test/*.js", | ||
\t\t"posttest": "standard", | ||
\t\t"coverage": "nyc report --reporter=text-lcov | coveralls", | ||
\t\t"release": "standard-version" | ||
\t}, | ||
\t"repository": { | ||
\t\t"url": "[email protected]:yargs/yargs-parser.git" | ||
\t}, | ||
\t"keywords": [ | ||
\t\t"argument", | ||
\t\t"parser", | ||
\t\t"yargs", | ||
\t\t"command", | ||
\t\t"cli", | ||
\t\t"parsing", | ||
\t\t"option", | ||
\t\t"args", | ||
\t\t"argument" | ||
\t], | ||
\t"author": "Ben Coe <[email protected]>", | ||
\t"license": "ISC", | ||
\t"devDependencies": { | ||
\t\t"chai": "^4.2.1", | ||
\t\t"coveralls": "^3.0.2", | ||
\t\t"mocha": "^5.2.0", | ||
\t\t"nyc": "^13.0.1", | ||
\t\t"standard": "^12.0.1" | ||
\t}, | ||
\t"dependencies": { | ||
\t\t"camelcase": "^6.0.0", | ||
\t\t"decamelize": "^1.2.0" | ||
\t}, | ||
\t"optionalDependencies": { | ||
\t\t"foo": "~0.1.0" | ||
\t}, | ||
\t"peerDependencies": { | ||
\t\t"bar": ">= 1.0.0" | ||
\t}, | ||
\t"files": [ | ||
\t\t"lib", | ||
\t\t"index.js" | ||
\t], | ||
\t"engine": { | ||
\t\t"node": ">=6" | ||
\t} | ||
} | ||
` | ||
|
||
exports['PackageJson updateContent updates dependency versions 1'] = ` | ||
{ | ||
\t"name": "yargs-parser", | ||
|
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