-
-
Notifications
You must be signed in to change notification settings - Fork 333
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
Move to PODs #82
Comments
It makes total sense to move this into pods. |
wasn't possible as of a couple months ago - addons had to follow the old structure |
mainly because pods was opt-in in the host app. if we introduce pods, we'll have to cut compatibility for older ember CLI versions which I think is fine |
@miguelcobain what were you saying earlier that we should use as a convention? |
@brandonjmckay https://github.com/kategengler/ember-try |
I actually don't know if it is possible in addons yet. But if it is, then it would be sweet. |
@hhff Should I be looking specifically at https://github.com/kategengler/ember-try#limitations, or https://github.com/kategengler/ember-try/blob/master/bower.json#L5 for that information? |
I doubt pods are ready for addons - just noticed the ember-cli folks are still writing an official RFC for pods. Ember Try works for addons though! https://github.com/ef4/liquid-fire/blob/master/config/ember-try.js |
Yes. That's what ember-try tests against and ember-try is now an official dependency of ember-cli, so yes. |
This issue can be addressed when ember-cli/ember-cli#3596 is closed. |
This is now possible.
Also, we have many components which are related with each other. It would make sense to have them together in a directory, like angular material does.
Thoughts? |
Grouping them categorically might make more sense, and help the codebase be more self documenting maybe.. |
@miguelcobain the first example is supported out of the box by ember-cli resolver. Does it make sense? It does - it keeps logical parts of a component - hbs/js next to each other. Your second example might require a custom resolver, and contains unnecessary name duplication. I think @rwjblue is working on pods 2.0 maybe he can point us in the right direction? |
@xomaczar AFAIK, within the So, for example, this is valid:
Please, correct me if I'm wrong. |
@miguelcobain you are right, forgot about app import - export part. |
I'm with @knownasilya about the grouping them categorically. It may make more sense to new users and lower the ease-of-use level (if that makes sense) |
@gristel In terms of "ease-of-use"ness, users won't note any difference. They'll just use their components normally. |
Actually, that's what I meant :) Not people just using the components. I should have said new contributors instead. |
Since:
I suggest we close this. We can also re-open if/when there is something concrete that we want to do with our directory/naming structure. Any objections? |
@DanChadwick we can close this since this topic is mentioned in #249 (i.e it won't get lost). |
Would it be ok to move the internals over to a POD structure?
I think that's the current, or future standard... and I like it.
The text was updated successfully, but these errors were encountered: