Skip to content

Commit

Permalink
feat: dev & peer dependency handling
Browse files Browse the repository at this point in the history
remove extra object assigns.
  • Loading branch information
ghinks committed Mar 11, 2021
1 parent 16be1ca commit e9b8997
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/fixtures/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ module.exports.PKGJSON_DEV_DEPS = Object.assign({}, module.exports.PKGJSON, {
}
})
module.exports.PATCHED_DEV_DEPS_PKGJSON = Object.assign({}, module.exports.PKGJSON, {
devDependencies: Object.assign(
{},
devDependencies:
{ '@other/name': 'other/name#577c08e8fd5e1b3156ce75b2e5d9e3023dac180e' }
)
})

module.exports.PKGJSON_PEER_DEPS = Object.assign({}, module.exports.PKGJSON, {
Expand All @@ -27,10 +25,8 @@ module.exports.PKGJSON_PEER_DEPS = Object.assign({}, module.exports.PKGJSON, {
}
})
module.exports.PATCHED_PEER_DEPS_PKGJSON = Object.assign({}, module.exports.PKGJSON, {
peerDependencies: Object.assign(
{},
peerDependencies:
{ '@other/plugin': 'other/plugin#577c08e8fd5e1b3156ce75b2e5d9e3023dac180e' }
)
})
module.exports.PATCH = 'pkgjs/wiby#577c08e8fd5e1b3156ce75b2e5d9e3023dac180e'
module.exports.DEV_DEP_PATCH = 'other/name#577c08e8fd5e1b3156ce75b2e5d9e3023dac180e'
Expand Down

0 comments on commit e9b8997

Please sign in to comment.