{"action":"closed","number":20,"pull_request":{"url":"https://api.github.com/repos/chadhietala/ember-cli-builder/pulls/20","id":38578388,"html_url":"https://github.com/chadhietala/ember-cli-builder/pull/20","diff_url":"https://github.com/chadhietala/ember-cli-builder/pull/20.diff","patch_url":"https://github.com/chadhietala/ember-cli-builder/pull/20.patch","issue_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/issues/20","number":20,"state":"closed","locked":false,"title":"Addon Load Path, NPM Scopes, Back compat support","user":{"login":"chadhietala","id":183799,"avatar_url":"https://avatars.githubusercontent.com/u/183799?v=3","gravatar_id":"","url":"https://api.github.com/users/chadhietala","html_url":"https://github.com/chadhietala","followers_url":"https://api.github.com/users/chadhietala/followers","following_url":"https://api.github.com/users/chadhietala/following{/other_user}","gists_url":"https://api.github.com/users/chadhietala/gists{/gist_id}","starred_url":"https://api.github.com/users/chadhietala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chadhietala/subscriptions","organizations_url":"https://api.github.com/users/chadhietala/orgs","repos_url":"https://api.github.com/users/chadhietala/repos","events_url":"https://api.github.com/users/chadhietala/events{/privacy}","received_events_url":"https://api.github.com/users/chadhietala/received_events","type":"User","site_admin":false},"body":"This introduces a \"load path\" broccoli plugin that sets the load path for addons.  It supports the existing addon structure which looks like the following:\r\n\r\n```\r\nmy-cool-addon/\r\n  addon/\r\n    helpers/\r\n      some-cool-helper.js\r\n    index.js\r\n```\r\nWhile this works and how every single addon is writen today, we can do better by providing multiple loadpaths into an addon directory. What this means that a single addon can have multiple require paths. This requires a new addon structure if you have a need for this. The directory structure is as follows\r\n\r\n```\r\nmy-cool-addon/\r\n  addon/\r\n    my-cool-addon/\r\n      helpers/\r\n        some-helper.js\r\n    my-other-cool-thing/\r\n      mixins/\r\n        blamo.js\r\n    my-cool-addon.js\r\n```\r\n\r\nThe files in the root of the addon directory are \"main\" files for the addon and traditionally reexport files.","created_at":"2015-06-25T18:33:05Z","updated_at":"2015-06-26T01:28:17Z","closed_at":"2015-06-26T01:28:17Z","merged_at":"2015-06-26T01:28:17Z","merge_commit_sha":"7a65d04861008f00e43501e64c524e704acb0518","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/pulls/20/commits","review_comments_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/pulls/20/comments","review_comment_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/issues/20/comments","statuses_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/statuses/750c70f73f0f85750e930fe9dd1069a75fdbf20b","head":{"label":"chadhietala:virtual-addon-structure","ref":"virtual-addon-structure","sha":"750c70f73f0f85750e930fe9dd1069a75fdbf20b","user":{"login":"chadhietala","id":183799,"avatar_url":"https://avatars.githubusercontent.com/u/183799?v=3","gravatar_id":"","url":"https://api.github.com/users/chadhietala","html_url":"https://github.com/chadhietala","followers_url":"https://api.github.com/users/chadhietala/followers","following_url":"https://api.github.com/users/chadhietala/following{/other_user}","gists_url":"https://api.github.com/users/chadhietala/gists{/gist_id}","starred_url":"https://api.github.com/users/chadhietala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chadhietala/subscriptions","organizations_url":"https://api.github.com/users/chadhietala/orgs","repos_url":"https://api.github.com/users/chadhietala/repos","events_url":"https://api.github.com/users/chadhietala/events{/privacy}","received_events_url":"https://api.github.com/users/chadhietala/received_events","type":"User","site_admin":false},"repo":{"id":34741040,"name":"ember-cli-builder","full_name":"chadhietala/ember-cli-builder","owner":{"login":"chadhietala","id":183799,"avatar_url":"https://avatars.githubusercontent.com/u/183799?v=3","gravatar_id":"","url":"https://api.github.com/users/chadhietala","html_url":"https://github.com/chadhietala","followers_url":"https://api.github.com/users/chadhietala/followers","following_url":"https://api.github.com/users/chadhietala/following{/other_user}","gists_url":"https://api.github.com/users/chadhietala/gists{/gist_id}","starred_url":"https://api.github.com/users/chadhietala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chadhietala/subscriptions","organizations_url":"https://api.github.com/users/chadhietala/orgs","repos_url":"https://api.github.com/users/chadhietala/repos","events_url":"https://api.github.com/users/chadhietala/events{/privacy}","received_events_url":"https://api.github.com/users/chadhietala/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chadhietala/ember-cli-builder","description":"","fork":false,"url":"https://api.github.com/repos/chadhietala/ember-cli-builder","forks_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/forks","keys_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/teams","hooks_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/hooks","issue_events_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/issues/events{/number}","events_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/events","assignees_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/assignees{/user}","branches_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/branches{/branch}","tags_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/tags","blobs_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/git/refs{/sha}","trees_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/statuses/{sha}","languages_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/languages","stargazers_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/stargazers","contributors_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/contributors","subscribers_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/subscribers","subscription_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/subscription","commits_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/commits{/sha}","git_commits_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/git/commits{/sha}","comments_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/comments{/number}","issue_comment_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/issues/comments{/number}","contents_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/contents/{+path}","compare_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/merges","archive_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/downloads","issues_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/issues{/number}","pulls_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/pulls{/number}","milestones_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/milestones{/number}","notifications_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/labels{/name}","releases_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/releases{/id}","created_at":"2015-04-28T16:06:03Z","updated_at":"2015-06-15T18:41:11Z","pushed_at":"2015-06-26T01:28:17Z","git_url":"git://github.com/chadhietala/ember-cli-builder.git","ssh_url":"git@github.com:chadhietala/ember-cli-builder.git","clone_url":"https://github.com/chadhietala/ember-cli-builder.git","svn_url":"https://github.com/chadhietala/ember-cli-builder","homepage":null,"size":489,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"chadhietala:master","ref":"master","sha":"667263ff1d89694521d51e83539ddf41e2b07300","user":{"login":"chadhietala","id":183799,"avatar_url":"https://avatars.githubusercontent.com/u/183799?v=3","gravatar_id":"","url":"https://api.github.com/users/chadhietala","html_url":"https://github.com/chadhietala","followers_url":"https://api.github.com/users/chadhietala/followers","following_url":"https://api.github.com/users/chadhietala/following{/other_user}","gists_url":"https://api.github.com/users/chadhietala/gists{/gist_id}","starred_url":"https://api.github.com/users/chadhietala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chadhietala/subscriptions","organizations_url":"https://api.github.com/users/chadhietala/orgs","repos_url":"https://api.github.com/users/chadhietala/repos","events_url":"https://api.github.com/users/chadhietala/events{/privacy}","received_events_url":"https://api.github.com/users/chadhietala/received_events","type":"User","site_admin":false},"repo":{"id":34741040,"name":"ember-cli-builder","full_name":"chadhietala/ember-cli-builder","owner":{"login":"chadhietala","id":183799,"avatar_url":"https://avatars.githubusercontent.com/u/183799?v=3","gravatar_id":"","url":"https://api.github.com/users/chadhietala","html_url":"https://github.com/chadhietala","followers_url":"https://api.github.com/users/chadhietala/followers","following_url":"https://api.github.com/users/chadhietala/following{/other_user}","gists_url":"https://api.github.com/users/chadhietala/gists{/gist_id}","starred_url":"https://api.github.com/users/chadhietala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chadhietala/subscriptions","organizations_url":"https://api.github.com/users/chadhietala/orgs","repos_url":"https://api.github.com/users/chadhietala/repos","events_url":"https://api.github.com/users/chadhietala/events{/privacy}","received_events_url":"https://api.github.com/users/chadhietala/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chadhietala/ember-cli-builder","description":"","fork":false,"url":"https://api.github.com/repos/chadhietala/ember-cli-builder","forks_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/forks","keys_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/teams","hooks_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/hooks","issue_events_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/issues/events{/number}","events_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/events","assignees_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/assignees{/user}","branches_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/branches{/branch}","tags_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/tags","blobs_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/git/refs{/sha}","trees_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/statuses/{sha}","languages_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/languages","stargazers_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/stargazers","contributors_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/contributors","subscribers_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/subscribers","subscription_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/subscription","commits_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/commits{/sha}","git_commits_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/git/commits{/sha}","comments_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/comments{/number}","issue_comment_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/issues/comments{/number}","contents_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/contents/{+path}","compare_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/merges","archive_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/downloads","issues_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/issues{/number}","pulls_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/pulls{/number}","milestones_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/milestones{/number}","notifications_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/labels{/name}","releases_url":"https://api.github.com/repos/chadhietala/ember-cli-builder/releases{/id}","created_at":"2015-04-28T16:06:03Z","updated_at":"2015-06-15T18:41:11Z","pushed_at":"2015-06-26T01:28:17Z","git_url":"git://github.com/chadhietala/ember-cli-builder.git","ssh_url":"git@github.com:chadhietala/ember-cli-builder.git","clone_url":"https://github.com/chadhietala/ember-cli-builder.git","svn_url":"https://github.com/chadhietala/ember-cli-builder","homepage":null,"size":489,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chadhietala/ember-cli-builder/pulls/20"},"html":{"href":"https://github.com/chadhietala/ember-cli-builder/pull/20"},"issue":{"href":"https://api.github.com/repos/chadhietala/ember-cli-builder/issues/20"},"comments":{"href":"https://api.github.com/repos/chadhietala/ember-cli-builder/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/chadhietala/ember-cli-builder/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/chadhietala/ember-cli-builder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chadhietala/ember-cli-builder/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/chadhietala/ember-cli-builder/statuses/750c70f73f0f85750e930fe9dd1069a75fdbf20b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"chadhietala","id":183799,"avatar_url":"https://avatars.githubusercontent.com/u/183799?v=3","gravatar_id":"","url":"https://api.github.com/users/chadhietala","html_url":"https://github.com/chadhietala","followers_url":"https://api.github.com/users/chadhietala/followers","following_url":"https://api.github.com/users/chadhietala/following{/other_user}","gists_url":"https://api.github.com/users/chadhietala/gists{/gist_id}","starred_url":"https://api.github.com/users/chadhietala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chadhietala/subscriptions","organizations_url":"https://api.github.com/users/chadhietala/orgs","repos_url":"https://api.github.com/users/chadhietala/repos","events_url":"https://api.github.com/users/chadhietala/events{/privacy}","received_events_url":"https://api.github.com/users/chadhietala/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":276,"deletions":32,"changed_files":37}}