{"action":"opened","number":4271,"pull_request":{"url":"https://api.github.com/repos/ember-cli/ember-cli/pulls/4271","id":37320787,"html_url":"https://github.com/ember-cli/ember-cli/pull/4271","diff_url":"https://github.com/ember-cli/ember-cli/pull/4271.diff","patch_url":"https://github.com/ember-cli/ember-cli/pull/4271.patch","issue_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4271","number":4271,"state":"open","locked":false,"title":"Adding support for private npm modules in blueprints. Closes #4256.","user":{"login":"gmurphey","id":373721,"avatar_url":"https://avatars.githubusercontent.com/u/373721?v=3","gravatar_id":"","url":"https://api.github.com/users/gmurphey","html_url":"https://github.com/gmurphey","followers_url":"https://api.github.com/users/gmurphey/followers","following_url":"https://api.github.com/users/gmurphey/following{/other_user}","gists_url":"https://api.github.com/users/gmurphey/gists{/gist_id}","starred_url":"https://api.github.com/users/gmurphey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmurphey/subscriptions","organizations_url":"https://api.github.com/users/gmurphey/orgs","repos_url":"https://api.github.com/users/gmurphey/repos","events_url":"https://api.github.com/users/gmurphey/events{/privacy}","received_events_url":"https://api.github.com/users/gmurphey/received_events","type":"User","site_admin":false},"body":"This updates all current blueprints to use the unscoped name from `package.json` (if a project's name is `@scope/my-addon`, the base name will be `my-addon`). The `*-addon` import paths will now be correct.\r\n\r\nI'd like to add tests for this, but I ran into some trouble implementing `ember addon @<scope>/<name>`. The `addon` blueprint uses `process.cwd()` for the `package.json` `name` (https://github.com/ember-cli/ember-cli/blob/master/lib/models/project.js#L104), and I can't seem to find a good way to get the original arguments from `ember addon` inside of `NULL_PROJECT.name()`.","created_at":"2015-06-10T03:13:04Z","updated_at":"2015-06-10T03:13:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3505b6ccfc49b6eed4872a730f6f8a05045cb45c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ember-cli/ember-cli/pulls/4271/commits","review_comments_url":"https://api.github.com/repos/ember-cli/ember-cli/pulls/4271/comments","review_comment_url":"https://api.github.com/repos/ember-cli/ember-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4271/comments","statuses_url":"https://api.github.com/repos/ember-cli/ember-cli/statuses/ebfd3f119a8b10c33348beb2add8c49935b62eab","head":{"label":"gmurphey:private-npm-support","ref":"private-npm-support","sha":"ebfd3f119a8b10c33348beb2add8c49935b62eab","user":{"login":"gmurphey","id":373721,"avatar_url":"https://avatars.githubusercontent.com/u/373721?v=3","gravatar_id":"","url":"https://api.github.com/users/gmurphey","html_url":"https://github.com/gmurphey","followers_url":"https://api.github.com/users/gmurphey/followers","following_url":"https://api.github.com/users/gmurphey/following{/other_user}","gists_url":"https://api.github.com/users/gmurphey/gists{/gist_id}","starred_url":"https://api.github.com/users/gmurphey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmurphey/subscriptions","organizations_url":"https://api.github.com/users/gmurphey/orgs","repos_url":"https://api.github.com/users/gmurphey/repos","events_url":"https://api.github.com/users/gmurphey/events{/privacy}","received_events_url":"https://api.github.com/users/gmurphey/received_events","type":"User","site_admin":false},"repo":{"id":33391559,"name":"ember-cli","full_name":"gmurphey/ember-cli","owner":{"login":"gmurphey","id":373721,"avatar_url":"https://avatars.githubusercontent.com/u/373721?v=3","gravatar_id":"","url":"https://api.github.com/users/gmurphey","html_url":"https://github.com/gmurphey","followers_url":"https://api.github.com/users/gmurphey/followers","following_url":"https://api.github.com/users/gmurphey/following{/other_user}","gists_url":"https://api.github.com/users/gmurphey/gists{/gist_id}","starred_url":"https://api.github.com/users/gmurphey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmurphey/subscriptions","organizations_url":"https://api.github.com/users/gmurphey/orgs","repos_url":"https://api.github.com/users/gmurphey/repos","events_url":"https://api.github.com/users/gmurphey/events{/privacy}","received_events_url":"https://api.github.com/users/gmurphey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gmurphey/ember-cli","description":"","fork":true,"url":"https://api.github.com/repos/gmurphey/ember-cli","forks_url":"https://api.github.com/repos/gmurphey/ember-cli/forks","keys_url":"https://api.github.com/repos/gmurphey/ember-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gmurphey/ember-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gmurphey/ember-cli/teams","hooks_url":"https://api.github.com/repos/gmurphey/ember-cli/hooks","issue_events_url":"https://api.github.com/repos/gmurphey/ember-cli/issues/events{/number}","events_url":"https://api.github.com/repos/gmurphey/ember-cli/events","assignees_url":"https://api.github.com/repos/gmurphey/ember-cli/assignees{/user}","branches_url":"https://api.github.com/repos/gmurphey/ember-cli/branches{/branch}","tags_url":"https://api.github.com/repos/gmurphey/ember-cli/tags","blobs_url":"https://api.github.com/repos/gmurphey/ember-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gmurphey/ember-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gmurphey/ember-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/gmurphey/ember-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gmurphey/ember-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/gmurphey/ember-cli/languages","stargazers_url":"https://api.github.com/repos/gmurphey/ember-cli/stargazers","contributors_url":"https://api.github.com/repos/gmurphey/ember-cli/contributors","subscribers_url":"https://api.github.com/repos/gmurphey/ember-cli/subscribers","subscription_url":"https://api.github.com/repos/gmurphey/ember-cli/subscription","commits_url":"https://api.github.com/repos/gmurphey/ember-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/gmurphey/ember-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/gmurphey/ember-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/gmurphey/ember-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/gmurphey/ember-cli/contents/{+path}","compare_url":"https://api.github.com/repos/gmurphey/ember-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gmurphey/ember-cli/merges","archive_url":"https://api.github.com/repos/gmurphey/ember-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gmurphey/ember-cli/downloads","issues_url":"https://api.github.com/repos/gmurphey/ember-cli/issues{/number}","pulls_url":"https://api.github.com/repos/gmurphey/ember-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/gmurphey/ember-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/gmurphey/ember-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gmurphey/ember-cli/labels{/name}","releases_url":"https://api.github.com/repos/gmurphey/ember-cli/releases{/id}","created_at":"2015-04-04T02:28:01Z","updated_at":"2015-04-04T02:28:02Z","pushed_at":"2015-06-10T03:03:15Z","git_url":"git://github.com/gmurphey/ember-cli.git","ssh_url":"git@github.com:gmurphey/ember-cli.git","clone_url":"https://github.com/gmurphey/ember-cli.git","svn_url":"https://github.com/gmurphey/ember-cli","homepage":"http://www.ember-cli.com/","size":6920,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ember-cli:master","ref":"master","sha":"b5159b03c5a09ca363e81484b50a4fb6efd40194","user":{"login":"ember-cli","id":10262982,"avatar_url":"https://avatars.githubusercontent.com/u/10262982?v=3","gravatar_id":"","url":"https://api.github.com/users/ember-cli","html_url":"https://github.com/ember-cli","followers_url":"https://api.github.com/users/ember-cli/followers","following_url":"https://api.github.com/users/ember-cli/following{/other_user}","gists_url":"https://api.github.com/users/ember-cli/gists{/gist_id}","starred_url":"https://api.github.com/users/ember-cli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ember-cli/subscriptions","organizations_url":"https://api.github.com/users/ember-cli/orgs","repos_url":"https://api.github.com/users/ember-cli/repos","events_url":"https://api.github.com/users/ember-cli/events{/privacy}","received_events_url":"https://api.github.com/users/ember-cli/received_events","type":"Organization","site_admin":false},"repo":{"id":14089735,"name":"ember-cli","full_name":"ember-cli/ember-cli","owner":{"login":"ember-cli","id":10262982,"avatar_url":"https://avatars.githubusercontent.com/u/10262982?v=3","gravatar_id":"","url":"https://api.github.com/users/ember-cli","html_url":"https://github.com/ember-cli","followers_url":"https://api.github.com/users/ember-cli/followers","following_url":"https://api.github.com/users/ember-cli/following{/other_user}","gists_url":"https://api.github.com/users/ember-cli/gists{/gist_id}","starred_url":"https://api.github.com/users/ember-cli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ember-cli/subscriptions","organizations_url":"https://api.github.com/users/ember-cli/orgs","repos_url":"https://api.github.com/users/ember-cli/repos","events_url":"https://api.github.com/users/ember-cli/events{/privacy}","received_events_url":"https://api.github.com/users/ember-cli/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ember-cli/ember-cli","description":"","fork":false,"url":"https://api.github.com/repos/ember-cli/ember-cli","forks_url":"https://api.github.com/repos/ember-cli/ember-cli/forks","keys_url":"https://api.github.com/repos/ember-cli/ember-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ember-cli/ember-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ember-cli/ember-cli/teams","hooks_url":"https://api.github.com/repos/ember-cli/ember-cli/hooks","issue_events_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/events{/number}","events_url":"https://api.github.com/repos/ember-cli/ember-cli/events","assignees_url":"https://api.github.com/repos/ember-cli/ember-cli/assignees{/user}","branches_url":"https://api.github.com/repos/ember-cli/ember-cli/branches{/branch}","tags_url":"https://api.github.com/repos/ember-cli/ember-cli/tags","blobs_url":"https://api.github.com/repos/ember-cli/ember-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ember-cli/ember-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ember-cli/ember-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/ember-cli/ember-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ember-cli/ember-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/ember-cli/ember-cli/languages","stargazers_url":"https://api.github.com/repos/ember-cli/ember-cli/stargazers","contributors_url":"https://api.github.com/repos/ember-cli/ember-cli/contributors","subscribers_url":"https://api.github.com/repos/ember-cli/ember-cli/subscribers","subscription_url":"https://api.github.com/repos/ember-cli/ember-cli/subscription","commits_url":"https://api.github.com/repos/ember-cli/ember-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/ember-cli/ember-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/ember-cli/ember-cli/contents/{+path}","compare_url":"https://api.github.com/repos/ember-cli/ember-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ember-cli/ember-cli/merges","archive_url":"https://api.github.com/repos/ember-cli/ember-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ember-cli/ember-cli/downloads","issues_url":"https://api.github.com/repos/ember-cli/ember-cli/issues{/number}","pulls_url":"https://api.github.com/repos/ember-cli/ember-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/ember-cli/ember-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/ember-cli/ember-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ember-cli/ember-cli/labels{/name}","releases_url":"https://api.github.com/repos/ember-cli/ember-cli/releases{/id}","created_at":"2013-11-03T17:34:43Z","updated_at":"2015-06-10T00:35:43Z","pushed_at":"2015-06-10T03:13:05Z","git_url":"git://github.com/ember-cli/ember-cli.git","ssh_url":"git@github.com:ember-cli/ember-cli.git","clone_url":"https://github.com/ember-cli/ember-cli.git","svn_url":"https://github.com/ember-cli/ember-cli","homepage":"http://www.ember-cli.com/","size":26103,"stargazers_count":2266,"watchers_count":2266,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":641,"mirror_url":null,"open_issues_count":221,"forks":641,"open_issues":221,"watchers":2266,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ember-cli/ember-cli/pulls/4271"},"html":{"href":"https://github.com/ember-cli/ember-cli/pull/4271"},"issue":{"href":"https://api.github.com/repos/ember-cli/ember-cli/issues/4271"},"comments":{"href":"https://api.github.com/repos/ember-cli/ember-cli/issues/4271/comments"},"review_comments":{"href":"https://api.github.com/repos/ember-cli/ember-cli/pulls/4271/comments"},"review_comment":{"href":"https://api.github.com/repos/ember-cli/ember-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ember-cli/ember-cli/pulls/4271/commits"},"statuses":{"href":"https://api.github.com/repos/ember-cli/ember-cli/statuses/ebfd3f119a8b10c33348beb2add8c49935b62eab"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":54,"deletions":35,"changed_files":7}}