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

in-repo-addon: sort additions to ember-addon/paths #6228

Merged
merged 1 commit into from
Sep 3, 2016

Conversation

kellyselden
Copy link
Member

We should probably alphabetize additions to ember-addon/paths like we do to dependencies here. For consistency, and also deterministic is always better for git diffs.

@nathanhammond
Copy link
Contributor

So this actually has consequences on the order in which addons run because of how we walk things. Namely, you could avoid all of before and after from the DAG map if you ordered things properly in your package.json.

As a result this could be considered a breaking change.

Since this is the default behavior for full addons I believe it's worthwhile to be consistent at risk of surprising a few people using in-repo-addons. I suspect that the people using in-repo-addons will be comfortable specifying their DAG map and therefore consider the risk of this to be low enough that I'm going to land it.

@homu r+

@homu
Copy link
Contributor

homu commented Sep 3, 2016

📌 Commit 47171ab has been approved by nathanhammond

homu added a commit that referenced this pull request Sep 3, 2016
in-repo-addon: sort additions to ember-addon/paths

We should probably alphabetize additions to `ember-addon/paths` like we do to `dependencies` [here](https://github.com/ember-cli/ember-cli/blob/79a4b40a1e7c0c9cb356fc2bcf3f0348a0191eb3/blueprints/addon/index.js#L46). For consistency, and also deterministic is always better for git diffs.
@homu
Copy link
Contributor

homu commented Sep 3, 2016

⌛ Testing commit 47171ab with merge 7036aa0...

@homu
Copy link
Contributor

homu commented Sep 3, 2016

☀️ Test successful - status

@homu homu merged commit 47171ab into ember-cli:master Sep 3, 2016
@kellyselden kellyselden deleted the sort-paths branch September 4, 2016 03:07
@Turbo87 Turbo87 added this to the v2.9.0 milestone Sep 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants