-
Notifications
You must be signed in to change notification settings - Fork 142
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
resolve failed macro condition in ember-private-api #1053
resolve failed macro condition in ember-private-api #1053
Conversation
hm, nevermind, this isn't the fix. I cleared all my node_modules, re-linked, and teh issue from #1038 came back. (I was apparently still working with my manual patch) |
@ef4 I did it! I just needed to use |
I don't know how to make a test for this tho. |
hm, maybe the based on the failing tests, it seems that the |
There are two bad things that ember-cli does and we follow for compatibility that were causing trouble here. One is that dummy apps and addons share a package.json, so adding the peerDep to the addon (which is correct) also adds it to the dummy app (which is unnecessary at best but here actually triggers the following bug). Two is that we have special logic to cause apps to not discover addons in peerDeps, because that's what ember-cli does. So the dummy app stopped discovering the ember-source addon. I had to adjust the logic so that a peerDep that's also a dep will get discovered. |
Goal to resolve: #1038
Only occurs when the host-app's ember-source is alpha or beta