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

Allow addons to specify load ordering. #1132

Merged
merged 1 commit into from
Jun 22, 2014

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Jun 22, 2014

  • Bring topsort algorithm from Ember (used for initializer ordering).
  • Allow addons to use ember-addon key which resolves to an object with main, before, and after keys.
  • Allow ember-addon: { main: 'foo.js'} as alternative to ember-addon-main in the package.json of the addon.
  • Change availableAddons to return an object with the package.json contents of each addon (was previously being looked up twice).

Fixes #1125.

* Bring topsort algorithm from Ember (used for initializer ordering).
* Allow addons to use `ember-addon` key which resolves to an object with
  `main`, `before`, and `after` keys.
* Allow `ember-addon: { main: 'foo.js'}` as alternative to
  `ember-addon-main` in the `package.json`
* Change `availableAddons` to return an object with the `package.json`
  contents of each addon (was previously being looked up twice).
rwjblue added a commit that referenced this pull request Jun 22, 2014
@rwjblue rwjblue merged commit 21a5c86 into ember-cli:master Jun 22, 2014
@rwjblue rwjblue deleted the allow-addons-to-specify-ordering branch June 22, 2014 16:55
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.

Allow addons to declare depencency ordering.
1 participant