Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not hoist @ember/test-helpers #639

Closed
wants to merge 5 commits into from
Closed

do not hoist @ember/test-helpers #639

wants to merge 5 commits into from

Conversation

SergeAstapov
Copy link
Contributor

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.

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.
@SergeAstapov SergeAstapov added the dependencies Pull requests that update a dependency file label Jul 8, 2022
@SergeAstapov
Copy link
Contributor Author

went with another solution in #665.
we probably should migrate to pnpm to avoid any issues with peerDependencies as it's now monorepo setup and yarn/npm known for many of such

@SergeAstapov SergeAstapov deleted the fix-ci branch August 16, 2022 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant