Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add peerDependencies to yarn merge
  • Loading branch information
FabianMeul committed May 14, 2018
1 parent 4a2fdd7 commit 84c0eab
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.js
Expand Up @@ -15,6 +15,7 @@ const npmDependencyTypes = [
const yarnDependencyTypes = [
"dependencies",
"devDependencies",
"peerDependencies",
"resolutions"
];
const bowerDependencyTypes = [
Expand Down
1 change: 1 addition & 0 deletions test/resources/yarn/expectedResults/pkg1.json
Expand Up @@ -8,5 +8,6 @@
"semver": "^5.3.0"
},
"devDependencies": {},
"peerDependencies": {},
"resolutions": {}
}
1 change: 1 addition & 0 deletions test/resources/yarn/expectedResults/pkg2
Expand Up @@ -7,5 +7,6 @@
"lodash": "^4.17.4"
},
"devDependencies": {},
"peerDependencies": {},
"resolutions": {}
}
1 change: 1 addition & 0 deletions test/resources/yarn/expectedResults/pkg3.json
Expand Up @@ -5,6 +5,7 @@
"bootstrap": "3.x"
},
"devDependencies": {},
"peerDependencies": {},
"resolutions": {
"bootstrap": "3.x"
}
Expand Down
1 change: 1 addition & 0 deletions test/resources/yarn/expectedResults/pkg4.json
Expand Up @@ -5,5 +5,6 @@
"bootstrap": "https://github.com/twbs/bootstrap/archive/v4-dev.zip"
},
"devDependencies": {},
"peerDependencies": {},
"resolutions": {}
}
1 change: 1 addition & 0 deletions test/resources/yarn/expectedResults/pkg5.json
Expand Up @@ -4,5 +4,6 @@
"bootstrap": "https://github.com/twbs/bootstrap/archive/v4-dev.zip"
},
"devDependencies": {},
"peerDependencies": {},
"resolutions": {}
}

0 comments on commit 84c0eab

Please sign in to comment.