Skip to content

Commit

Permalink
do not hoist @ember/test-helpers
Browse files Browse the repository at this point in the history
PR emberjs/ember-test-helpers#1211 (released in v2.8.0)
made `ember-source` a peerDependency of `@ember/test-helpers`.

In case of `ember-keyboard` monorepo setup, package `ember-source`
does not get hoisted and stay in the `test-app/node_modules` but at the same time
`@ember/test-helpers` gets hoisted as well as some another version of `ember-source`.

By not hoisting `@ember/test-helpers` in the `test-app` package we avoid this issue.
  • Loading branch information
SergeAstapov committed Jul 8, 2022
1 parent ffbade8 commit d1df1b9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,8 @@
},
"volta": {
"extends": "../package.json"
}
},
"nohoist": [
"@ember/test-helpers"
]
}

0 comments on commit d1df1b9

Please sign in to comment.