-
Notifications
You must be signed in to change notification settings - Fork 28
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
4.0 Migration docs not mentioning the need for e-auto-import in dependencies #602
Comments
@vlascik sure it makes. Feel free to open PR to add such info |
Hello, I'd like to get some clarification on a related problem. For the As seen in ijlee2/ember-container-query#143, however, an end-developer may want to use yarn or pnpm resolutions, so that they can install just one version of What would you suggest that I (addons that have |
@ijlee2 I would suggest you to use that would allow the consumer to choose the version needed. e.g. if the consuming app has I can confirm this works fine as that's what we have been doing in our app with However, there is one caveat with suggested above approach: I've started the same in jelhan/ember-style-modifier#133 but didn't get a chance to push over the line. |
@SergeAstapov Thanks for a prompt response and the link to an example repo. The solution of widening the version support and the caveat that comes along make sense to me. Yes, for my addon's |
@SergeAstapov Sorry, can you clarify: in |
Ah, understood. Thanks! |
With ember-modifier v4, it's now required to make e-a-i a dep instead of devDep. See also: ember-modifier/ember-modifier#602
I just tried to migrate my app to e-modifier v4 via yarn resolutions, and it broke the build on all the addons using the previous versions with messages like
ember-basic-dropdown needs to depend on ember-auto-import in order to use ember-modifier
Turns out e-modifier 4.x is embroider v2 addon, and addons using it need to have ember-auto-import v2 in package.json
dependencies
, not justdevDependencies
.Maybe the migration docs should mention this step, so that people are not surprised by it?
The text was updated successfully, but these errors were encountered: