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

Modernize Addon Infrastructure #61

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

alexlafroscia
Copy link
Collaborator

@alexlafroscia alexlafroscia commented Jun 24, 2020

I am being bitten by #59 and intend to fix that bug. However, I ran into the fact that a lot of the patterns followed in the addon were pretty dated and decided to shave that yak first.

This gets the addon following the patterns that would be used if the addon were to be generated today using Ember 3.19.

I took the liberty of adding Prettier here, too, which is not yet part of the default Ember configuration but will be soon. This just made it easier to make sure that all of the files followed a consistent formatting pattern.

I would treat this as a breaking change, as the tests now only go back to Ember 3.12. I can add back the others to be tested instead, but I think it would be nice to bump the minimum supported version so that the addon logic itself can be modernized where possible.

BREAKING CHANGE: No longer running tests against versions below Ember 3.12
BREAKING CHANGE: Error about missing component is no longer swallowed in Production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant